Agent stack audit remediation batch 1 (U1-U7, U10) #685

Merged
weichen merged 20 commits from feature/agent-stack-audit-remediation-b1 into main 2026-10-21 19:52:33 +00:00
20 Commits
Author SHA1 Message Date
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 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 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