Commit Graph
793 Commits
Author SHA1 Message Date
weichen bfc2208cbd Record the acceptance test evidence in the svc-info task card
ci / test (pull_request) Successful in 2m3s
Why: the completion statement must carry precheck / task-sync / test evidence.
Evidence: make test exit 0 on tested_head=106ef07ef0 (full suite incl. ui 79
tests and agentcmd); functional evidence logged in the card.
Impact: card-only change; PR description mirrors this card.
Refs: .task/feature-svc-info.md
2026-10-04 12:44:28 +00:00
weichen ff9f00e649 Record the sync checkpoint 2026-10-04 12:42:58 +00:00
weichen 106ef07ef0 Add read-only svc.sh info report for services, databases, and config snapshots
Why: svc.sh could show a service table (list), per-instance DB names one at a
time (db ls), and per-service status, but had no single view answering "what
is running, which databases exist, and what is configured" -- the questions
asked when inspecting or handing over a machine.

Evidence: exercised in the task worktree runtime -- empty-state report; fake
agent/static/postgres registrations proving masking (exec DSN password,
password=, SVC_TAVILY_KEYS -> ***, non-secret values verbatim; --reveal shows
plaintext); a real postgres instance (db create r-pg --port 18901, start,
extra orders db, one backup) whose info section lists inner databases with
sizes, pgdata size and backup stats; regressions list/history/--help/help
lifecycle/make svc-info; info stdout carries the full report (stderr 0 bytes)
so it can be redirected as a snapshot. Full log in the task card.

Impact: new read-only `scripts/svc.sh info [name] [--tag T] [--reveal]`
command (also `make svc-info`): service table + running summary, postgres
instances incl. inner databases, per-service svc.env content snapshots plus
global .svc.env / --config / exported SVC_* vars, and recent events. Secrets
are masked by default. No deploy/lifecycle/db-ops behavior changes; `info`
becomes a reserved service name; docs/svc.md gains section 6.2 (former
6.2-6.4 shifted to 6.3-6.5).

Refs: task card .task/feature-svc-info.md (same doc as the PR); docs/svc.md
2026-10-04 12:42:49 +00:00
weichen 0c253bf407 Record the task card for feature-svc-info 2026-10-04 12:34:43 +00:00
weichen 1263e7f7d1 Merge pull request 'Close merged task cards (feature/card-close-20261003-180852Z)' (#178) from feature/card-close-20261003-180852Z into main
ci / test (push) Successful in 1m53s
2026-10-03 18:09:01 +00:00
weichen 032e447eb0 Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 1m54s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-code-orchestration.md(PR#177) — 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-03 18:08:52 +00:00
weichen 4a83fecf46 Merge pull request 'Pin the script host, deferred tools, and background MCP connect' (#177) from feature/code-orchestration into main
ci / test (push) Successful in 1m53s
2026-10-03 18:07:12 +00:00
weichenandCursor d401a180f9 Keep the sync rows inside the task card table
ci / test (pull_request) Successful in 1m56s
Why: task-sync appended the checkpoint rows after the results section, so the card no longer read as one table.
Evidence: the three sync rows now sit under the existing header.
Impact: documentation only.
Refs: feature/code-orchestration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 18:06:49 +00:00
weichen c96580c852 Record the sync checkpoint 2026-10-03 18:06:08 +00:00
weichen bdb9452e41 Record the sync checkpoint 2026-10-03 18:06:07 +00:00
weichen e352a807e5 Record the sync checkpoint 2026-10-03 18:06:06 +00:00
weichenandCursor 14ddc9e342 Record the code-orchestration verification
Why: the pin commit predates the full suite, and the card should name the commands that actually passed.
Evidence: make test and make build exited 0 in the feature worktree.
Impact: documentation only.
Refs: feature/code-orchestration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 18:06:05 +00:00
weichenandCursor be388359a1 Pin the script host, deferred tools, and background MCP connect
Why: the shared Python host and the MCP connect change landed in the libraries the product already calls.
Evidence: native, squad, and backend feature commits are recorded on the task card.
Impact: gitlinks move to those commits. Code orchestration stays off unless the setting is turned on.
Refs: feature/code-orchestration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 18:04:43 +00:00
weichenandCursor 117e9933b6 Record the code-orchestration task card
Why: The batch needs an explicit authorization, the default-off switch, and the host limits before the libraries change.
Evidence: The card names the caps, the forbidden tools, and the MCP behaviors that stay out of scope.
Impact: Reviewers can match the later commits to this card. No code change.
Refs: feature/code-orchestration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 17:53:06 +00:00
weichen 43dad2d457 Record the task card for feature-code-orchestration 2026-10-03 17:46:51 +00:00
weichen 37a91142f2 Merge pull request 'Close merged task cards (feature/card-close-20261003-174132Z)' (#176) from feature/card-close-20261003-174132Z into main
ci / test (push) Successful in 1m55s
2026-10-03 17:41:40 +00:00
weichen c3cc8b824e Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 1m56s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-durable-rewind.md(PR#175) — 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-03 17:41:32 +00:00
weichen 81087afa6c Merge pull request 'Pin durability, file rewind, and model fallback' (#175) from feature/durable-rewind into main
ci / test (push) Successful in 1m51s
2026-10-03 17:40:16 +00:00
weichen aec2b7eb45 Record the sync checkpoint
ci / test (pull_request) Successful in 1m54s
2026-10-03 17:39:58 +00:00
weichen 84395c92ff Record the sync checkpoint 2026-10-03 17:39:57 +00:00
weichen 4673cf235a Record the sync checkpoint 2026-10-03 17:39:57 +00:00
weichenandCursor ac10d830df Record rewind verification on the task card
ci / test (pull_request) Successful in 1m55s
Why: The card still said combined verification was pending after make test, make build, and the mock rewind check.
Evidence: Dialog listed notes.txt to restore and note.txt to skip; confirm removed notes.txt and appended the system note.
Impact: Reviewers see the browser check on the same card that becomes the PR body.
Refs: feature/durable-rewind
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 17:38:43 +00:00
weichenandCursor a47a11d824 Pin durability, file rewind, and model fallback
Why: tool intent, file checkpoints, fallback, and span names landed in the libraries and the product shell.
Evidence: native, squad, core, backend, frontend, and ui feature commits are recorded in the task card.
Impact: gitlinks move to those commits. Default fallback stays empty and replay stays never.
Refs: feature/durable-rewind
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 17:33:29 +00:00
weichen ec4fea44ac Record the task card for feature-durable-rewind 2026-10-03 17:10:34 +00:00
weichen 10fabbc404 Merge pull request 'Close the permission-hooks task card' (#174) from feature/card-close-20261003-170718Z into main
ci / test (push) Successful in 1m50s
2026-10-03 17:08:47 +00:00
weichen 9fcb75bec6 Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 1m49s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-permission-hooks.md(PR#173) — 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-03 17:07:18 +00:00
weichen b6f4d317db Merge pull request 'Pin permission modes and the in-process hook bus' (#173) from feature/permission-hooks into main
ci / test (push) Successful in 1m52s
2026-10-03 17:06:50 +00:00
weichen be5408334b Record the sync checkpoint
ci / test (pull_request) Successful in 1m53s
2026-10-03 17:06:38 +00:00
weichen 245fe39b93 Record the sync checkpoint
ci / test (pull_request) Successful in 1m52s
2026-10-03 17:06:36 +00:00
weichen 4349d5ea81 Record the sync checkpoint 2026-10-03 17:06:35 +00:00
weichenandCursor 2e558e4733 Record the permission-hooks pull request
Why: The task card has to point at the Dev pull request before the sync checkpoints.
Evidence: Dev pull request 173 is open.
Impact: No code change.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 17:06:34 +00:00
weichenandCursor f0da5d242a Pin permission modes and the in-process hook bus
ci / test (pull_request) Successful in 1m54s
Why: Session mode, confirmation detail, and the shared tool gate now exist in the libraries the product builds.
Evidence: make test passed. Plan mode rejects write_artifact while the default mode still runs it. Hook adapters match the old stop, reminder, and deny counts.
Impact: Empty permission mode keeps today's profile policy. There is no mode that skips every confirmation.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 17:04:04 +00:00
weichen 10f7a64aea Record the task card for feature-permission-hooks 2026-10-03 16:43:41 +00:00
weichen 6bedf75746 Merge pull request 'Close the runstate-shell task card' (#172) from feature/card-close-20261003-164208Z into main
ci / test (push) Successful in 1m52s
2026-10-03 16:42:28 +00:00
weichen 06c55a803f Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 1m52s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-runstate-shell.md(PR#171) — 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-03 16:42:08 +00:00
weichen 5e2bb8aa13 Merge pull request 'Pin the shell run state across frontend and backend' (#171) from feature/runstate-shell into main
ci / test (push) Successful in 1m53s
2026-10-03 16:41:40 +00:00
weichen 7168d435ba Record the sync checkpoint
ci / test (pull_request) Successful in 1m54s
2026-10-03 16:41:19 +00:00
weichen 31e973081b Record the sync checkpoint 2026-10-03 16:41:18 +00:00
weichen adc003e2a0 Record the sync checkpoint
ci / test (pull_request) Successful in 1m56s
2026-10-03 16:41:03 +00:00
weichenandCursor f726762a8d Record the runstate verification on the task card
Why: Acceptance needs the pin SHAs, the test evidence, and the mock composer check on the card.
Evidence: make test and make build passed on c0b8cf2. The mock composer switched to 排队 and back to 发送.
Impact: No code change.
Refs: feature/runstate-shell
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:41:02 +00:00
weichenandCursor c0b8cf20d0 Pin the frontend shell phase type usage
Why: The conversation screen has to import the phase type so the unused-export ratchet stays at the baseline.
Evidence: frontend 5961b6e, knip 43.
Impact: No other pin moves.
Refs: feature/runstate-shell
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:37:40 +00:00
weichenandCursor 91c1b68891 Pin the shell run state across frontend and backend
Why: The composer phase and the SSE retry interval have to land together so a reconnect shows 重连中 and still receives the missed events.
Evidence: frontend dcf9b6b, backend 7bef7a4.
Impact: No change to permissions, models, or the already merged live-bubble fix.
Refs: feature/runstate-shell
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:36:02 +00:00
weichen 215beff7e2 Record the task card for feature-runstate-shell 2026-10-03 16:28:03 +00:00
weichen 64d4f115c8 Merge pull request 'Close the context-engineering task card' (#170) from feature/card-close-20261003-162636Z into main
ci / test (push) Successful in 1m55s
2026-10-03 16:26:51 +00:00
weichen 2e1e3500ab Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 1m54s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-context-engineering.md(PR#169) — 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-03 16:26:36 +00:00
weichen 6b9613603f Merge pull request 'Pin context engineering across native, squad, and backend' (#169) from feature/context-engineering into main
ci / test (push) Successful in 1m55s
2026-10-03 16:25:50 +00:00
weichen 61d2ff7180 Record the sync checkpoint
ci / test (pull_request) Successful in 1m53s
2026-10-03 16:25:28 +00:00
weichenandCursor 8a04b019d0 Fold the review sync row into the task card table
Why: The review checkpoint should sit in the sync table with the acceptance row.
Evidence: tested_head 656016a at 2026-10-03T16:25:02Z.
Impact: No code change.
Refs: feature/context-engineering
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:25:27 +00:00
weichen 21eabcfddf Record the sync checkpoint 2026-10-03 16:25:02 +00:00
weichenandCursor 656016a783 Fold the acceptance sync row into the task card table
ci / test (pull_request) Successful in 1m54s
Why: task-sync appends the checkpoint after the card body, where it is not part of the table.
Evidence: The row records sync_base 02b5cb8286 and tested_head b6dba58.
Impact: No code change.
Refs: feature/context-engineering
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 16:24:43 +00:00