Commit Graph
821 Commits
Author SHA1 Message Date
weichen 9b982eec6c Merge remote-tracking branch 'origin/main' into fix/settings-dotted-keys
ci / test (pull_request) Failing after 1m43s
2026-10-04 13:47:42 +00:00
weichenandCursor 4df29aa7bc Record the backend merge pin and the post-sync test
ci / test (pull_request) Successful in 2m1s
Why: the task card must show that Backend #61 is on main and the Dev branch was retested after syncing.
Evidence: make test exited 0 at 2026-10-04T13:45:06Z on the pin of fd17011.
Impact: documentation only.
Refs: fix/settings-dotted-keys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 13:47:07 +00:00
weichen 50963240d5 Merge pull request 'Close merged task card (feature/svc-db-bind, PR #182)' (#183) from feature/card-close-20261004-134416Z into main
ci / test (push) Successful in 2m4s
2026-10-04 13:44:31 +00:00
weichen bc115e22e1 Record the sync checkpoint 2026-10-04 13:44:24 +00:00
weichen 6042402c79 Merge remote-tracking branch 'origin/main' into fix/settings-dotted-keys 2026-10-04 13:44:24 +00:00
weichenandCursor 71ea1dcb30 Pin backend settings fix at its merge on main
Why: the Dev branch must record the Backend main commit that contains the settings fix, not the unmerged feature tip.
Evidence: Backend #61 merged as fd17011.
Impact: modules/backend gitlink moves from d90b9c0 to fd17011. Behavior is the merged fix.
Refs: fix/settings-dotted-keys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 13:44:21 +00:00
weichen 1dd3d1aee6 Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 2m3s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-svc-db-bind.md(PR#182) — 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-04 13:44:16 +00:00
weichen 5a791fd1c3 Merge pull request 'Add per-service database binding and fix single-dash flag detection in svc.sh' (#182) from feature/svc-db-bind into main
ci / test (push) Successful in 2m16s
2026-10-04 13:44:01 +00:00
weichen 83fd6f5f35 Record the sync checkpoint
ci / test (pull_request) Successful in 1m56s
2026-10-04 13:43:45 +00:00
weichen dc7a255f31 Record the config-switching acceptance evidence in the svc-db-bind task card
Why: completion statement carries precheck/task-sync/test evidence.
Evidence: make test exit 0 at head ecfed7b; functional evidence in the card.
Impact: card-only; PR description mirrors this card.
Refs: .task/feature-svc-db-bind.md
2026-10-04 13:43:44 +00:00
weichen ecfed7be31 Add service config-file switching with schema validation to svc.sh
Why: beyond database binding, services needed a way to switch the JSON config
file they run with and have the new config take effect promptly; hand-editing
exec= risks restarting a service into an invalid config.

Evidence: in the task worktree with a real agent binary -- a config with an
unknown key is rejected by the binary's strict schema check before any state
change; a valid file binds via --config in exec= + conffile= (survives
record_state rewrites), restarts the running service, and the config's dsn
verifiably drives the process (wrong-password variant failed PG auth in the
log; correct variant connected and created 21 tables); editing the file and
re-running 'config <same file>' re-validates and restarts (pid changes);
'--clear' removes both the flag and conffile; db and config coexist in exec=;
view mode shows masked JSON content plus 'config explain' effective values
with masked dsn; list DB column also resolves dsns that live only inside the
config file. Full log in the task card.

Impact: new service-level action 'svc.sh <name> config [file | --clear]
[--no-restart]' for agent services; config-file content snapshots (masked,
--reveal to show) in info; a config-file line in status; conffile persisted
in svc.env. No agent binary changes.

Refs: task card .task/feature-svc-db-bind.md (same doc as PR #182);
docs/svc.md sections 2/4.5/4.6/6/10.1
2026-10-04 13:42:51 +00:00
weichenandCursor fa16e9d251 Record dev deployment and squad retest evidence
ci / test (pull_request) Successful in 2m11s
Why: acceptance of the settings fix is the deploy log and the live key checks, and that evidence belongs on the task card.
Evidence: dev@8b63e2b logged normalized 4 dotted keys in 2 scopes and registered 1 Tavily key. The web_search probe returned ok.
Impact: documentation only. The backend pin is unchanged. Merging stays with the owner.
Refs: fix/settings-dotted-keys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 13:39:31 +00:00
weichen 73bca5e749 Record the sync checkpoint
ci / test (pull_request) Successful in 2m2s
2026-10-04 13:30:59 +00:00
weichen 843495e0d0 Add per-service database binding and fix single-dash flag detection in svc.sh
Why: info showed services and postgres instances but no service-to-database
correspondence, and switching an agent service to another database required
redeploying with a hand-built DSN. While wiring this up, adjust_args_for_bin
was found matching Go flag help with '--dsn' although Go prints '-dsn', so
deploy-built --dsn/--auth args were silently dropped on current binaries.

Evidence: full E2E in the task worktree with a real agent binary and a real
PostgreSQL 18 instance -- 't-app db bpg' persisted exec=/dbref, auto-restarted
(dbref survives record_state rewrites), and the agent created 21 tables in the
bound database; 'db bpg --db t2' auto-created and switched databases (21
tables in t2); '--clear' returned the service to embedded SQLite; --no-restart
and error paths behave; list gains a DB column, status a database line, info a
reverse bound-services line; legacy deployments without dbref resolve by DSN
host:port; single-dash detection proven with positive and negative cases;
regressions list/db dsn/db ls/info/history/--help pass; make test exit 0.
Full log in the task card.

Impact: new service-level action 'svc.sh <name> db [pg [--db X] | --clear]
[--no-restart]' for agent services (bind/switch/unbind/view), DB column in
list, binding lines in status/info, dbref persisted in svc.env, auto database
creation when the instance runs, and the adjust_args_for_bin fix restoring
deploy --dsn/--auth on current binaries. No agent binary changes.

Refs: task card .task/feature-svc-db-bind.md (same doc as the PR); docs/svc.md
sections 4.5/6.1/6.2/10.1
2026-10-04 13:30:50 +00:00
weichen d1aebd9919 Record the task card for feature-svc-db-bind 2026-10-04 13:23:33 +00:00
weichenandCursor 8b63e2bce0 Link the settings fix task card to its pull requests
ci / test (pull_request) Successful in 2m3s
Why: the task card is the review record and needs the Dev and Backend PR links.
Evidence: Dev #181 and Backend #61 exist.
Impact: documentation only.
Refs: fix/settings-dotted-keys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 13:08:24 +00:00
weichenandCursor e34db45bfe Record make test evidence on the settings fix
ci / test (pull_request) Successful in 2m4s
Why: the acceptance sync needs the verification result on the task card before review.
Evidence: make test exited 0 after task-sync onto 3836ea88e3.
Impact: documentation only. The backend pin is unchanged.
Refs: fix/settings-dotted-keys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 13:07:39 +00:00
weichen 1684a061a0 Record the sync checkpoint 2026-10-04 13:04:26 +00:00
weichen f2516ef1ce Merge remote-tracking branch 'origin/main' into fix/settings-dotted-keys 2026-10-04 13:04:26 +00:00
weichenandCursor fc8cf3f5ab Pin backend dotted-key settings fix
Why: dotted setting writes were stored as unread keys, and secret pools were returned in clear text.
Evidence: Backend go test ./... at d90b9c0. Dev make test follows this pin.
Impact: the dev branch tracks Backend fix/settings-dotted-keys until that PR merges, then the pin moves to main.
Refs: fix/settings-dotted-keys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 13:04:11 +00:00
weichen 3836ea88e3 Merge pull request 'Close merged task cards (feature/card-close-20261003-152759Z)' (#162) from feature/card-close-20261003-152759Z into main
ci / test (push) Successful in 2m7s
2026-10-04 12:58:33 +00:00
weichen 003e8617d7 Merge remote-tracking branch 'origin/main' into feature/card-close-20261003-152759Z
ci / test (pull_request) Successful in 2m1s
2026-10-04 12:58:17 +00:00
weichen d9b566e992 Merge pull request 'Close merged task card (feature/svc-info, PR #179)' (#180) from feature/card-close-20261004-125007Z into main
ci / test (push) Successful in 2m10s
2026-10-04 12:58:11 +00:00
weichen 5fa552a794 Carry the pre-merge sync checkpoint into the archived svc-info card
ci / test (pull_request) Successful in 2m17s
Why: the final task-sync before merging PR #179 committed its checkpoint row
locally (43a1514) but was not pushed before the merge, so the row never
reached the archived card.
Evidence: row | 同步前验收 | 1263e7f7d1 | bfc2208cbd | 2026-10-04T12:49:36Z |
appended next to the 12:42:58Z row in .task/archive/feature-svc-info.md.
Impact: card-archive-only change on this close branch; no code.
Refs: PR #179; .task/archive/feature-svc-info.md
2026-10-04 12:53:52 +00:00
weichen 51926b582b Record the task card for fix-settings-dotted-keys 2026-10-04 12:52:50 +00:00
weichen cb190f2a78 Close 1 merged task card(s) and archive them
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-svc-info.md(PR#179) — 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-04 12:50:07 +00:00
weichen 5d3a4b3ee3 Merge pull request 'Add read-only svc.sh info report for services, databases, and config snapshots' (#179) from feature/svc-info into main
ci / test (push) Successful in 2m9s
2026-10-04 12:50:01 +00:00
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