Commit Graph
601 Commits
Author SHA1 Message Date
weichen 0cdc2d2405 Record the sync checkpoint 2026-10-01 16:38:23 +00:00
weichenandCursor 5f872f3b7f Pin the script copy fix for tool-started workflows
Why: Dev should record the backend commit that runs a registered script from the launch of that call.
Evidence: go test ./internal/runtime/ -run TestRegisteredWorkflowUsesItsOwnScriptCopy passed.
Impact: Only the backend pointer moves.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:36:59 +00:00
weichenandCursor 9de01d69e6 Pin the planner and critic prompt fix
Why: Dev should record the backend commit that makes planning return JSON and makes the critic reject a missing line.
Evidence: go test ./internal/runtime/ ./internal/prompts/ passed on that commit.
Impact: Only the backend pointer moves.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:32:09 +00:00
weichenandCursor f125ebd68d Pin the critic model fix
Why: The step critic has to call the configured model, and Dev should record that backend commit.
Evidence: go test ./internal/runtime/ -run TestJudgeUsesConfiguredModel passed in the backend repo.
Impact: Only the backend pointer moves.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:28:18 +00:00
weichenandCursor 4836fee08f Require a marker so the example critic can reject once
Why: The live check needs the first draft to miss a line the critic can name, then the retry can add it.
Evidence: The prompt does not mention the marker. maxRetries stays 1.
Impact: demo.brief drafts are rejected until they contain 核对标记:P4.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:25:04 +00:00
weichenandCursor 54f5a33454 Pin the P4 workflow modules
Why: Dev has to record the Core, Backend, Frontend, UI, and Documents commits that implement intent-to-workflow.
Evidence: make test passed, including boundary lint, core, backend, frontend vitest, UI tsc and vitest, and agent-command.
Impact: agent-native stays at a34689c. The example plugin is already on this branch.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:24:37 +00:00
weichenandCursor ef590bd0c3 Add example brief and script workflows
Why: The example plugin needs a bound intent and a plugin-shipped script so the three P4 paths can be checked against a real plugin.
Evidence: TestRepoExamplePluginLoads accepts the plugin, asks 主题是什么?, and keeps the topic slot.
Impact: demo.brief starts the five-step workflow. demo.script stays unbound and needs runtime.workflowScripts.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:22:14 +00:00
weichenandCursor 191d2de809 Record P4 authorization and workflow rulings
Why: The task card is the authorization record for intent-to-workflow work, and the routing, retry, and script rulings have to be fixed before code changes.
Evidence: precheck READY at 959179f88f; core/baseline.md and workflows/delivery.md section 1 were read.
Impact: No product code. Six pull requests are the delivery end, and merging them is not authorized.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:54:37 +00:00
weichen 723c2508a2 Record the task card for feature-agent-harness-p4 2026-10-01 15:53:54 +00:00
weichen 959179f88f Merge pull request 'Close merged task cards (feature/card-close-20261001-155214Z)' (#143) from feature/card-close-20261001-155214Z into main
ci / test (push) Failing after 31s
2026-10-01 15:52:43 +00:00
weichen e7eef7d869 Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 1m31s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-harness-p3b.md(PR#142) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-01 15:52:14 +00:00
weichen ec4614322e Merge pull request 'Pin P3b background subagents, review, and profile overrides' (#142) from feature/agent-harness-p3b into main
ci / test (push) Failing after 1m34s
2026-10-01 15:51:57 +00:00
weichenandCursor 79a6a73052 Move the pre-merge sync row into the task table
ci / test (pull_request) Failing after 1m54s
Why: task-sync appends the checkpoint after the results section, and the card keeps those rows in the sync table.
Evidence: The row is the 2026-10-01T15:51:28Z checkpoint for d05a73872c.
Impact: No code change.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:51:44 +00:00
weichen 555fb12ac5 Record the sync checkpoint 2026-10-01 15:51:28 +00:00
weichenandCursor d05a73872c Link the open P3b pull requests on the task card
ci / test (pull_request) Failing after 1m54s
Why: The card and the Dev pull request should name the five open requests and state that none are merged.
Evidence: Core #15, Backend #46, Frontend #32, UI #26, Dev #142.
Impact: No code change. Main is unchanged.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:40:45 +00:00
weichenandCursor f521ff1c53 Move the sync checkpoint into the task table
ci / test (pull_request) Failing after 1m37s
Why: task-sync appends the checkpoint after the results section, and the card keeps those rows in the sync table.
Evidence: The row is the 2026-10-01T15:39:25Z checkpoint for 1bc9954e40.
Impact: No code change.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:39:42 +00:00
weichen 067b7412eb Record the sync checkpoint 2026-10-01 15:39:25 +00:00
weichenandCursor 1bc9954e40 Record P3b test and live-check evidence
Why: The task card has to show the combination test and the two live conversations before the pull requests open.
Evidence: make test passed at 6430738. p3b on 127.0.0.1:8841 showed a queued notice turn and a review pipeline.
Impact: No code change.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:39:24 +00:00
weichenandCursor 64307380f9 Pin the P3b core, backend, frontend, and UI commits
Why: The combination has to move together so background subagents, review, and the notice row are the same build.
Evidence: Each module's own tests passed on its feature branch. agent-native stays at a34689c.
Impact: Dev does not merge this pin. The four module pull requests stay open until review.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:31:11 +00:00
weichenandCursor 800ba680b8 Record the P3b scope on the task card
Why: Background subagents, review, squad role mapping, and prompt overrides need an explicit write scope and the three rulings before code edits.
Evidence: make precheck verdict READY at fdd311c8c0. Required reading baseline.md and delivery.md section 1.
Impact: No code change. Kernel and squad contracts stay as on main.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:19:52 +00:00
weichen f0a120763d Record the task card for feature-agent-harness-p3b 2026-10-01 14:52:39 +00:00
weichen fdd311c8c0 Merge pull request 'Close merged task cards (feature/card-close-20261001-145116Z)' (#141) from feature/card-close-20261001-145116Z into main
ci / test (push) Failing after 1m35s
2026-10-01 14:51:26 +00:00
weichen aa32ea1fcd Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 1m34s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-harness-p3.md(PR#140) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-01 14:51:16 +00:00
weichen 5096a052dc Merge pull request 'Pin backend to the depth-one subagent loop' (#140) from feature/agent-harness-p3 into main
ci / test (push) Failing after 1m38s
2026-10-01 14:51:02 +00:00
weichenandCursor 8c43d4b16c Move the merge sync row into the task card table
ci / test (pull_request) Failing after 1m56s
Why: task-sync appended the checkpoint after the test block. The card keeps sync rows in one table.
Evidence: sync_base bc8fef76bb, tested_head 53f8a05, checked_at 2026-10-01T14:50:18Z.
Impact: Task card only.
Refs: feature/agent-harness-p3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 14:50:39 +00:00
weichen 74973fe4d6 Record the sync checkpoint 2026-10-01 14:50:18 +00:00
weichenandCursor 53f8a059bd Record the live subagent conversation check
ci / test (pull_request) Failing after 1m35s
Why: The confirm card on a child run and the history split were only covered by tests. A real conversation had to show they hold before merge.
Evidence: p3a at dev@f823118. explore hid tool names from the next turn, writer pinned artifacts, the inbox showed the child confirm card, and the squad leader wrote output.md.
Impact: Task card only. No code change.
Refs: feature/agent-harness-p3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 14:50:08 +00:00
weichenandCursor f8231182ed Record the harness pull requests on the task card
ci / test (pull_request) Failing after 1m31s
Why: The card is the pull request body, so it has to name the open Backend and Dev requests.
Evidence: Backend pull 45 and Dev pull 140 are open and unmerged.
Impact: Task card only. Neither request is merged.
Refs: feature/agent-harness-p3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 14:15:08 +00:00
weichenandCursor 099bcd5e01 Record the harness P3a verification on the task card
ci / test (pull_request) Failing after 1m31s
Why: Acceptance needs the precheck, task-sync, and test evidence on the same card that will become the pull request.
Evidence: make task-sync at 5ed3649; make test exited 0 (boundaries, core, backend, frontend 51, ui 71, agent-command).
Impact: Task card only. No code or submodule change.
Refs: feature/agent-harness-p3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 14:14:41 +00:00
weichen 0cb89b3a3a Record the sync checkpoint 2026-10-01 14:13:39 +00:00
weichenandCursor 5ed3649b42 Pin backend to the depth-one subagent loop
Why: Subagents now run a profile-scoped tool loop and stay out of the parent history. The Dev checkout has to build that backend.
Evidence: Backend 5051a06; go test ./... and make test passed in this checkout. The three agent-native gitlinks stay a34689c.
Impact: Only modules/backend moves. Squad, core, and the three agent-native pins stay put.
Refs: feature/agent-harness-p3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 14:13:33 +00:00
weichenandCursor dd80c6904d Record the P3a scope on the task card
Why: The subagent runtime task needs an explicit write scope and the two rulings before backend edits.
Evidence: make precheck verdict READY at bc8fef76bb. Required reading baseline.md and delivery.md section 1.
Impact: No code change. Kernel, squad, and core contracts stay as on main.
Refs: feature/agent-harness-p3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 14:05:49 +00:00
weichen 09a439b33c Record the task card for feature-agent-harness-p3 2026-10-01 14:02:12 +00:00
weichen bc8fef76bb Merge pull request 'Close merged task cards (feature/card-close-20261001-140110Z)' (#139) from feature/card-close-20261001-140110Z into main
ci / test (push) Failing after 30s
2026-10-01 14:01:18 +00:00
weichen 81625a0ece Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 31s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-harness-p2.md(PR#138) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-01 14:01:10 +00:00
weichen 1939d50a7f Merge pull request 'Pin backend to the final-turn result checks' (#138) from feature/agent-harness-p2 into main
ci / test (push) Failing after 31s
2026-10-01 14:00:59 +00:00
weichen 7244f8c730 Record the sync checkpoint
ci / test (pull_request) Failing after 1m30s
2026-10-01 14:00:37 +00:00
weichenandCursor 9df951323a Record the harness pull requests on the task card
ci / test (pull_request) Failing after 1m58s
Why: The task card is the PR description, and it needs the Backend and Dev pull request links.
Evidence: Backend pull request 44 and Dev pull request 138 are open. Neither is merged.
Impact: Documentation only.
Refs: feature/agent-harness-p2
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 13:55:46 +00:00
weichenandCursor 2af7e07164 Record the harness P2 verification on the task card
ci / test (pull_request) Failing after 1m57s
Why: Acceptance needs the precheck, task-sync, and make test output on the task card before the pull requests.
Evidence: task-sync sync_base=d02fa9c20a tested_head=f9d7bbe9f2. make test exited 0.
Impact: Documentation only. No further code change.
Refs: feature/agent-harness-p2
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 13:55:18 +00:00
weichen 86dea13853 Record the sync checkpoint 2026-10-01 13:54:53 +00:00
weichenandCursor f9d7bbe9f2 Pin backend to the final-turn result checks
Why: Direct runs now check artifacts and run a fail-closed verifier before they stop. The Dev checkout has to build that backend.
Evidence: Backend a3ae1b9; go test ./... passed in that checkout. agent-native gitlinks stay a34689c.
Impact: Only modules/backend moves. Squad and the three agent-native pins stay put.
Refs: feature/agent-harness-p2
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 13:54:24 +00:00
weichenandCursor 01ea7bdd95 Record the P2 scope on the task card
Why: The harness P2 task needs an explicit write scope before backend edits: direct-path checks and a fail-closed verifier, with PRs as the endpoint.
Evidence: make precheck verdict READY at d02fa9c20a; required reading baseline.md and delivery.md section 1.
Impact: No code change. Backend, squad, and kernel behavior stay as on main until the implementation commits.
Refs: feature/agent-harness-p2
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 13:50:51 +00:00
weichen 110bf5fbb8 Record the task card for feature-agent-harness-p2 2026-10-01 13:45:07 +00:00
weichen d02fa9c20a Merge pull request 'Close merged task cards (feature/card-close-20261001-134217Z)' (#137) from feature/card-close-20261001-134217Z into main
ci / test (push) Failing after 1m31s
2026-10-01 13:43:58 +00:00
weichen 719b52a1f5 Close 1 merged task card(s) and archive them
ci / test (pull_request) Failing after 2m13s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-harness-p1.md(PR#136) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-01 13:42:17 +00:00
weichen def110d784 Merge pull request 'Pin the harness turn loop across the three native checkouts' (#136) from feature/agent-harness-p1 into main
ci / test (push) Failing after 1m35s
2026-10-01 13:42:01 +00:00
weichen c5ab4c35e5 Record the sync checkpoint 2026-10-01 13:41:48 +00:00
weichenandCursor 1417fbef9d Record the harness pull request on the task card
ci / test (pull_request) Failing after 1m37s
Why: the task card is the main record, and review needs the Dev pull request link.
Evidence: Dev pull request 136 is open against main.
Impact: task card only.
Refs: feature/agent-harness-p1
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 13:31:08 +00:00
weichenandCursor 87d509a763 Record the harness P1 verification on the task card
ci / test (pull_request) Failing after 1m34s
Why: acceptance needs the precheck, task-sync, and test evidence on the task card before review.
Evidence: task-sync reported already up to date at 701d4ab1e3; make test had already passed on b7631c7.
Impact: task card only.
Refs: feature/agent-harness-p1
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 13:30:36 +00:00
weichen 150480f388 Record the sync checkpoint 2026-10-01 13:30:00 +00:00