Commit Graph
4747 Commits
Author SHA1 Message Date
weichen ea099a5fbf Record batch-2 completion and the green combination run
ci / svc-realcombo (pull_request) Successful in 3m18s
ci / test (pull_request) Successful in 8m56s
ci / test-pg (pull_request) Successful in 11m59s
Why: all batch-2 units implemented, repaired and verified; full make
test green on the final pinned combination.
Evidence: verify-combo.json exit=0; component branches pushed
(native cff6935, squad 9edb6ba, backend 9b40595).
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b2
2026-10-22 04:32:50 +00:00
weichen 0b46569d85 Repin modules/backend to the nested-squad tip
Why: the backend branch tip 9b40595 additionally pins the nested
agent-squad (and its nested native) so the composed chain carries the
batch-2 event fields end to end.
Evidence: integration transport success (gitlinkb-run.json); full
make test re-run follows on this branch.
Impact: one component gitlink.
Refs: feature/agent-stack-audit-remediation-b2
2026-10-22 04:25:08 +00:00
weichen a0b8d12b43 Advance native, squad and backend pins to the batch-2 tips
Why: land U8, U9 and U11 across agent-native (cff6935), agent-squad
(9edb6ba) and modules/backend (race-repair tip) per the approved plan.
Evidence: per-unit SELF receipts under /tmp/agent-stack-b2 (all
exit=0); full make test re-run follows on this branch.
Impact: three component gitlinks.
Refs: docs/superpowers/plans/2026-10-21-agent-stack-audit-remediation-plan.md
2026-10-22 04:20:45 +00:00
weichen ef75fd7f25 Record batch-2 unit receipts so far
Why: per-unit audit trail for U8/U9/U11a/U11b/U11c including the
fail-stop redispatches and the frame-order repair.
Evidence: per-unit SELF receipts under /tmp/agent-stack-b2.
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b2
2026-10-22 04:00:34 +00:00
weichen 5f09af2d58 Fill in the batch-2 card and record the pin restoration
Why: carry authorization, the discovered composition regression
(#682 reset batch-1 pins) and its restoration, plus the wave plan.
Evidence: restoration transport success (pinrestore-run.json).
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b2
2026-10-22 01:17:56 +00:00
weichen 646a219116 Restore the batch-1 component pins lost to the parallel pin merge
Why: PR #682 (f23f5bb0) merged a stale branch whose tree carried
pre-batch component pins, silently reverting the batch-1 composition
on main; batch 2 (U8/U9/U11) is defined on top of batch 1.
Evidence: restoration transport success (pinrestore-run.json); batch-1
tips pushed on all five component origins.
Impact: five component gitlinks restored to the audited batch-1 tips.
Refs: feature/agent-stack-audit-remediation-b2
2026-10-22 01:16:57 +00:00
weichen 387723b1a4 Record the task card for feature-agent-stack-audit-remediation-b2
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-stack-audit-remediation-b2.md; R0=f23f5bb01a8b96ab90686d3a1b07791d7f473de2.

Impact: task metadata only; the feature workspace starts at f23f5bb01a.

Refs: .task/feature-agent-stack-audit-remediation-b2.md
2026-10-22 01:10:03 +00:00
weichen f23f5bb01a Merge pull request 'Advance the RDM artifact pin so the delivered lifecycle work actually ships' (#682) from fix/pal-component-delivery-pins into main
ci / svc-realcombo (push) Successful in 2m37s
ci / test (push) Successful in 7m47s
ci / test-pg (push) Successful in 10m23s
2026-10-22 01:06:15 +00:00
weichen 04d70629d6 Merge authoritative main into the pin advance
ci / svc-realcombo (pull_request) Successful in 2m13s
ci / test (pull_request) Successful in 7m44s
ci / test-pg (pull_request) Successful in 10m8s
Why: the RDM materialization fix landed separately as PR #684, so this branch
now takes main's version of the workflow and carries only the pin change. The
conflict resolution keeps the fix (submodule update per pin, language-agnostic
fail-loud assertion) and drops the pin-specific comment that described a
first-parent distance belonging to the other pull request.

Impact: workflow resolves to main's already-merged content; this commit's own
contribution is the rdm.pin prev_sha correction.

Refs: PR #682, PR #684
2026-10-22 00:55:11 +00:00
agent-exec-transport ed4ca46585 agent-exec transport 66144e4dc1b682e328502a65bb37b911/11b7729d1914
ci / svc-realcombo (pull_request) Successful in 2m11s
ci / test (pull_request) Successful in 7m30s
ci / test-pg (pull_request) Successful in 10m9s
2026-10-22 00:43:17 +00:00
weichen 485ebd792b Merge pull request 'Agent stack audit remediation batch 1 (U1-U7, U10)' (#685) from feature/agent-stack-audit-remediation-b1 into main
ci / svc-realcombo (push) Successful in 2m6s
ci / test (push) Successful in 7m38s
ci / test-pg (push) Successful in 8m51s
2026-10-21 19:52:33 +00:00
weichen 18425f350a Fold-close the task card before merge
ci / svc-realcombo (pull_request) Successful in 2m3s
ci / test (pull_request) Successful in 7m38s
ci / test-pg (pull_request) Successful in 9m19s
Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/feature-agent-stack-audit-remediation-b1.md -> .task/archive/feature-agent-stack-audit-remediation-b1.md; status 已完成(合入前闭合); PR #685 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/685.
Impact: task metadata only; the card is archived within PR #685 and lands with its merge commit.
Refs: task.sh close --self
2026-10-21 19:42:46 +00:00
weichen e08c497f39 Record the review verdict and the CI checkout fix in the card
ci / svc-realcombo (pull_request) Successful in 2m4s
ci / test (pull_request) Successful in 7m37s
ci / test-pg (pull_request) Successful in 8m44s
Why: the independent review approved batch 1 (APPROVE, 0 blockers);
the first CI run failed at checkout because the five pinned component
commits were local-only and are now pushed.
Evidence: review4-run.json (pi-glm success); component remote refs
created; this commit retriggers CI.
Impact: task metadata only.
Refs: PR #685
2026-10-21 19:33:27 +00:00
weichen f23d1df72a Record the independent review approval in the task card
ci / svc-realcombo (pull_request) Failing after 3s
ci / test (pull_request) Failing after 3s
ci / test-pg (pull_request) Failing after 3s
Why: batch-1 review verdict APPROVE (0 blockers, 0 majors, 5 minor
follow-up notes) from an independent CLI session; report committed.
Evidence: review receipt /tmp/agent-stack-b1/review4-run.json
(pi-glm, success).
Impact: task metadata + review report.
Refs: PR #685
2026-10-21 19:32:27 +00:00
agent-exec-transport 09d0d81fd6 agent-exec transport 1f3d84fb8dd9472d3b7e8e2121660e21/c435ffbd9286 2026-10-21 19:32:11 +00:00
weichen d55e57dded Merge authoritative main into the task branch
ci / test (pull_request) Failing after 3s
ci / svc-realcombo (pull_request) Failing after 3s
ci / test-pg (pull_request) Failing after 3s
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=b25846d2.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-21 18:30:17 +00:00
weichen 0967b94930 Repin modules/backend to the merged upstream tip
Why: backend main advanced to 528e3a4 (surface conversation required,
card backfills); the backend task branch merges it into the batch-1
line and the Dev pin follows.
Evidence: integration transport success (gitlink5-run.json); backend
build green on the merge; full make test re-run follows.
Impact: one component gitlink.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 18:30:12 +00:00
weichen f11278f0dd Record the repair receipts and the green combination run
Why: close out the batch-1 audit trail before review and PR.
Evidence: make test exit=0 on the fully repinned combination
(verify-combo-make-test4.json).
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 18:23:59 +00:00
weichen 647fa51cd2 Repin squad and backend to the sqlite-test-aligned tips
Why: the U3B sqlite repair advanced the squad container to 0f1daa8 and
backend's nested-squad pin follow-up moved backend to 1f61131.
Evidence: integration transport success (gitlink4-run.json); full
make test re-run follows on this branch.
Impact: two component gitlinks.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 18:16:54 +00:00
weichen d86eee91b1 Repin native, squad and backend to the nested-pin-consistent tips
Why: check-pins requires each container's nested gitlinks to equal the
Dev top-level pins; the batch-1 bumps left native/squad/backend
containers pinned at pre-batch sibling versions.
Evidence: integration transport success (gitlink3-run.json); full
make test re-run follows on this branch.
Impact: three component gitlinks.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 17:49:15 +00:00
weichen d31c7b5569 Repin modules/backend to the intent boundary repair
Why: the backend branch advanced to 49c1259 with the U6 boundary
repair (admission test reworked behind intentgate helpers).
Evidence: repair receipt success; verify-u6r2 exit=0; combination
make test re-run follows on this branch.
Impact: one component gitlink.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 17:37:59 +00:00
weichen 76766356ae Advance component pins to the audited remediation batch 1
Why: land U1-U7 and U10 across agent-native (5c0d2d8), agent-squad
(23f161b), agent-intent (765a7e7), agent-command (fe7987d) and
modules/backend (4030449) per the approved remediation plan.
Evidence: per-unit SELF receipts under /tmp/agent-stack-b1 all exit=0;
combination verification (make test) recorded next on this branch.
Impact: five component gitlinks; no other Dev paths.
Refs: docs/superpowers/plans/2026-10-21-agent-stack-audit-remediation-plan.md
2026-10-21 17:27:22 +00:00
weichen 4291289f82 Record U3B completion in the task card
Why: all ten batch-1 units implemented and individually verified.
Evidence: verify-u3b exit=0 (race).
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 17:24:33 +00:00
weichen 6f1f71edc2 Record U7B receipt and the U3B candidate outages
Why: keep the per-unit audit trail current; cursor and antigravity
prove broken (quota/model-rejection, 400 location block), routing
adjusted with recorded reasons.
Evidence: verify-u7b exit=0.
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 16:55:48 +00:00
weichen 659de0fd52 Record U6 receipt, nested pin bump, U3B fail-stop and redispatch
Why: keep the per-unit audit trail current.
Evidence: verify-u6 exit=0; U3B first run failed-unknown on a
pre-session cursor TLS failure (553B log, zero changes, workspace
preserved), reconciled as environmental and re-dispatched.
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 16:35:29 +00:00
weichen a73a3742b2 Record U10 redo/U3a receipts and U6/U3B dispatch
Why: keep the per-unit audit trail current.
Evidence: verify-u10b/verify-u3a exit=0.
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 16:16:33 +00:00
weichen 2b9c1fb6a2 Record U2/U4 receipts and the U10 fail-stop in the task card
Why: keep the per-unit audit trail; U10 first run failed-unknown
(pi attempt exited 0 without a decodable terminal record), workspace
preserved for reconciliation and the unit re-dispatched with a corrected
packet (nested deps gitlinks materialized).
Evidence: verify-u2/u4/u4b exit=0; no code change.
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 16:04:39 +00:00
weichen b25846d25b Merge pull request 'Materialize each pinned RDM artifact with its own submodules and refuse to build a stale one' (#684) from fix/ci-rdm-pin-materialization into main
ci / svc-realcombo (push) Successful in 2m50s
ci / test (push) Successful in 8m18s
ci / test-pg (push) Successful in 10m37s
2026-10-21 15:52:46 +00:00
weichen 9026a308c1 Record wave A unit receipts in the task card
Why: track per-unit agent-per-unit receipts and verification for U1/U5/U7a.
Evidence: receipts under /tmp/agent-stack-b1; SELF verification exit=0.
Impact: task metadata only.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 15:42:24 +00:00
weichen 10b253c356 Merge authoritative main into the task branch
ci / svc-realcombo (pull_request) Successful in 2m34s
ci / test (pull_request) Successful in 8m18s
ci / test-pg (pull_request) Successful in 9m44s
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=5a907f42944af56dbca68b6a058cc4f0bc2681d7.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-21 15:40:58 +00:00
weichen 5a907f4294 Merge pull request 'Remember super-admin envfile path and require surface conversation' (#683) from fix/svc-superadmin-envfile-surface-conv into main
ci / svc-realcombo (push) Successful in 4m21s
ci / test (push) Successful in 9m0s
ci / test-pg (push) Successful in 12m14s
2026-10-21 15:29:23 +00:00
agent-exec-transport 340543549e agent-exec transport af819d334d76f62e9dec6b105da6ca49/8751322a8e74
ci / svc-realcombo (pull_request) Successful in 3m32s
ci / test (pull_request) Successful in 9m30s
ci / test-pg (pull_request) Successful in 12m5s
2026-10-21 15:27:08 +00:00
weichen ec112b2dbe Record the remediation batch-1 task card
Why: carry authorization, scope, wave plan and receipt tables for the
agent-per-unit implementation of U1-U7 and U10.
Evidence: card + receipts under /tmp; no code change.
Impact: task metadata only (exempt path).
Refs: docs/superpowers/plans/2026-10-21-agent-stack-audit-remediation-plan.md
2026-10-21 15:24:44 +00:00
weichen d3161347a3 Add the agent stack audit remediation plan
Why: record the audited findings and the batched remediation contract
(U1-U11) that subsequent implementation units must satisfy.
Evidence: document-only change; no code paths touched.
Impact: docs only; plan is the scope authority for the remediation task.
Refs: feature/agent-stack-audit-remediation-b1
2026-10-21 15:17:53 +00:00
weichen 7e8dd500c4 Record the task card for feature-agent-stack-audit-remediation-b1
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-stack-audit-remediation-b1.md; R0=d9e9c0560a2767539f4415b579adbeff86a22ba6.

Impact: task metadata only; the feature workspace starts at d9e9c0560a.

Refs: .task/feature-agent-stack-audit-remediation-b1.md
2026-10-21 15:17:41 +00:00
weichen b3af918cb2 Fold-close the task card before merge
ci / svc-realcombo (pull_request) Successful in 3m59s
ci / test (pull_request) Successful in 10m36s
ci / test-pg (pull_request) Successful in 14m55s
Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/fix-svc-superadmin-envfile-surface-conv.md -> .task/archive/fix-svc-superadmin-envfile-surface-conv.md; status 已完成(合入前闭合); PR #683 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/683.
Impact: task metadata only; the card is archived within PR #683 and lands with its merge commit.
Refs: task.sh close --self
2026-10-21 15:13:48 +00:00
weichenandCursor 965f520ee7 Record results, review and pin receipts on the task card
ci / svc-realcombo (pull_request) Successful in 4m36s
ci / test (pull_request) Successful in 9m59s
ci / test-pg (pull_request) Successful in 14m6s
Why: the card must carry results, evidence and the authorized rerun receipts before closing.
Evidence: make evidence for svc unittest suite (51 OK, 1 skipped) on HEAD 3c0faf76.
Impact: task card only.
Refs: fix/svc-superadmin-envfile-surface-conv.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:13:47 +00:00
agent-exec-transportandCursor 3c0faf76b0 Pin Backend to require conversation on surface create
Move modules/backend to 528e3a4 (Backend #239), which rejects empty or
foreign conversationId when creating a surface via POST /api/surfaces.

Why: Dev must carry the Backend conversation-required fix.
Evidence: Backend #239 CI success at 954e744; agent-exec unit
dev-svc-superadmin-surface-backend-repin (cursor, authorized fresh rerun,
terminal=success).
Impact: documentation pin / gitlink only.
Refs: Dev task fix/svc-superadmin-envfile-surface-conv.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:11:13 +00:00
weichen 053b1719f1 Record that the CI materialization fix worked and the failure moved
ci / svc-realcombo (pull_request) Successful in 2m40s
ci / test (pull_request) Successful in 8m40s
ci / test-pg (pull_request) Failing after 12m6s
Why: the pin materialization fix did its job - all three pins now build and the
missing-go.sum error is gone - so the failure relocated to the real combination
lifecycle gate, where svc.sh cannot git fetch from CI's shallow RDM clone.
That is a different component's concern and outside this pin advance.

Evidence: run 4714 job 7830 - svc-realcombo and test green; three lifecycle
cases fail on svc.sh's git fetch against the shallow RDM source clone.

Impact: task card only.

Refs: PR #682
2026-10-21 15:06:07 +00:00
weichenandCursor 0194c5d847 Record goals and agent receipts on the svc/surface followups card
Why: the card must state authorization, goals and unit receipts including the failed-unknown and authorized Backend rerun.
Evidence: agent-exec receipts under /tmp/svc-sa-surface-20261021.
Impact: task card only.
Refs: fix/svc-superadmin-envfile-surface-conv.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 15:05:22 +00:00
agent-exec-transportandCursor 1edf326448 Remember the super-admin credential file path in svc
Auth-on agent services need super-admin credentials at every launch, but
svc only forwarded them from the current environment, and recover/watchdog
relaunch with a cleared environment, so a bare restart or recovery failed
closed. svc now records only the absolute path of AGENT_SYSTEM_ENV_FILE as
superadmin_envfile= after checking it is a regular, owner-only (0600) file
before stopping anything, and forwards that path when no explicit
credentials are set. An empty AGENT_SYSTEM_ENV_FILE clears the record. The
file content is never read, copied or printed.

Why: prod restarts and recovery required re-exporting AGENT_SYSTEM_ENV_FILE.
Evidence: agent-exec unit dev-svc-superadmin-envfile-persist (cursor, attempt 1, terminal=success); unittest test_svc_superadmin_envfile + test_svc_recover + test_svc_identity: 51 OK (1 skipped).
Impact: svc.sh agent launch and svc.env gain superadmin_envfile; docs/svc.md 4.2 note.
Refs: Dev task fix/svc-superadmin-envfile-surface-conv.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-21 14:58:38 +00:00
agent-exec-transport 0aae8ed99f agent-exec transport 62f937e2b36ba8a042082602fc93d1cb/7c9a5c05b51c
ci / svc-realcombo (pull_request) Successful in 3m46s
ci / test (pull_request) Successful in 8m45s
ci / test-pg (pull_request) Failing after 13m7s
2026-10-21 14:51:51 +00:00
agent-exec-transport 301c37cb3f agent-exec transport 0795c3cbd28b688d3c32abcb7f85d3de/57311a8d7d0a
ci / test-pg (pull_request) Failing after 3m27s
ci / svc-realcombo (pull_request) Successful in 3m37s
ci / test (pull_request) Successful in 8m39s
2026-10-21 14:46:08 +00:00
weichen 64baa87633 Record the pins-layout change behind the test-pg failure
ci / svc-realcombo (pull_request) Successful in 3m54s
ci / test-pg (pull_request) Failing after 5m12s
ci / test (pull_request) Successful in 9m27s
Why: the fail-loud assertion worked as intended and named the real cause -
RDM's pins set grew from four to six, so the CI step that checks out and builds
all three pins no longer sees a consistent layout. My prev_sha choice was
wrong and I did not check layout consistency when writing the unit.

Evidence: run 4711 job 7821 - 'rdm pin c6304224 的 pins/agent-system-frontend
未落地:缺少 go.mod'; pin layouts verified across all five commits; local
build-product.sh on the delivered head succeeds.

Impact: task card only.

Refs: PR #682
2026-10-21 14:36:50 +00:00
agent-exec-transport 50d3632bc7 agent-exec transport e9755166998b94fb719fea1398ca34ce/77546c2723bb
ci / svc-realcombo (pull_request) Successful in 2m52s
ci / test-pg (pull_request) Failing after 3m33s
ci / test (pull_request) Successful in 8m13s
2026-10-21 14:22:12 +00:00
weichen 1e4ac44439 Record the test-pg composition failure blocking the pin advance
ci / svc-realcombo (pull_request) Successful in 4m16s
ci / test-pg (pull_request) Failing after 6m30s
ci / test (pull_request) Successful in 8m41s
Why: advancing the RDM pin red-lights test-pg on a real composition problem
that make test cannot see, and the card must say so plainly instead of showing
a green combination run.

Evidence: run 4707 job 7812 — the combination build reports missing go.sum
entries for agent-document-renderer packages. RDM bc8db88 replaces that module
with a local path and therefore carries no go.sum entries for it, while the
Dev-side build redirects the backend replace to modules/backend (f084d10),
which imports those packages directly.

Impact: task card only.

Refs: PR #682
2026-10-21 14:10:46 +00:00
weichen ddbf9aec90 Record the task card for fix-svc-superadmin-envfile-surface-conv
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/fix-svc-superadmin-envfile-surface-conv.md; R0=d9e9c0560a2767539f4415b579adbeff86a22ba6.

Impact: task metadata only; the feature workspace starts at d9e9c0560a.

Refs: .task/fix-svc-superadmin-envfile-surface-conv.md
2026-10-21 14:04:07 +00:00
weichen d9e9c0560a Merge pull request 'Report the real identity marker in svc adopt and the deploy gate' (#681) from fix/genui-prod-upgrade-followups into main
ci / svc-realcombo (push) Successful in 4m5s
ci / test (push) Successful in 8m35s
ci / test-pg (push) Successful in 13m30s
2026-10-21 14:00:56 +00:00
weichen 98d794ee7f Record the sync checkpoint
ci / svc-realcombo (pull_request) Successful in 4m7s
ci / test-pg (pull_request) Failing after 5m27s
ci / test (pull_request) Successful in 9m49s
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=a736d5a420370cff052bd946f6d6397d4c354547; before_record=e8dbbe001ae12048217c0a763ab7699d183f5b1f.

Impact: task metadata only.

Refs: .task/fix-pal-component-delivery-pins.md
2026-10-21 13:57:35 +00:00
weichen e8dbbe001a Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=a736d5a420370cff052bd946f6d6397d4c354547.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-21 13:56:55 +00:00