A2 follow-up: repin backend with the intent-test hardening #709

Merged
weichen merged 10 commits from feature/exec-recovery-a2-hardening into main 2026-10-22 15:39:44 +00:00
Owner

Carry the post-merge delta of PR #704: the backend branch advanced with the intent-session test hardening (the cancel dispatch raced the prior run settling and 409'd under CI load; tests now wait for settle and poll busy 409s with a deadline) and the Dev pin follows to the merged backend tip.

Why: keep main's composition on the stabilized backend tip; test-only hardening plus the pin.

Evidence: 3x race verification green (verify-a1ff.json); full make test green on the merged tip (verify-a2-combo3.json); PR #704 review APPROVE covers the A2 scope; this delta adds only the test hardening and the repin.

Impact: one component gitlink plus test hardening; no behavior change.

Refs: PR #704; .task/archive/feature-exec-recovery-diagnostics-a2.md

Carry the post-merge delta of PR #704: the backend branch advanced with the intent-session test hardening (the cancel dispatch raced the prior run settling and 409'd under CI load; tests now wait for settle and poll busy 409s with a deadline) and the Dev pin follows to the merged backend tip. Why: keep main's composition on the stabilized backend tip; test-only hardening plus the pin. Evidence: 3x race verification green (verify-a1ff.json); full make test green on the merged tip (verify-a2-combo3.json); PR #704 review APPROVE covers the A2 scope; this delta adds only the test hardening and the repin. Impact: one component gitlink plus test hardening; no behavior change. Refs: PR #704; .task/archive/feature-exec-recovery-diagnostics-a2.md
weichen added 10 commits 2026-10-22 15:26:14 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-exec-recovery-diagnostics-a2.md; R0=c92443280ef8e9ed29bf5bf5250df650c01b4478.

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

Refs: .task/feature-exec-recovery-diagnostics-a2.md
Why: fix the read-only diagnostics contract (single GET endpoint,
aggregated responsibility/wait-reason/checkpoint/side-effects/next-step,
no write endpoints) before implementation.
Evidence: scoping over server routes, store recovery/HITL methods and
cmdbus audit records.
Impact: task metadata only.
Refs: docs/superpowers/plans/2026-10-21-agent-stack-audit-remediation-plan.md (A2)
Why: land the read-only run diagnostics endpoint (A2) per the approved
feature scope.
Evidence: integration transport (a2git2-run.json); unit tests green
(verify-a2b.json exit=0); combination re-run below.
Impact: one component gitlink.
Refs: feature/exec-recovery-diagnostics-a2
Why: the A2 diagnostics package reuses the cmdbus operation query and
store reads, mediated by the server; the three edges are the reviewed
design, recorded in the task card.
Evidence: lint-architecture passes (verify-a2arch.json); boundaries
and full combination re-run below.
Impact: three baseline edge lines.
Refs: feature/exec-recovery-diagnostics-a2
Record the A2 implementation and combination results
ci / svc-realcombo (pull_request) Successful in 3m50s
ci / test (pull_request) Successful in 9m42s
ci / test-pg (pull_request) Successful in 14m45s
d0b2bde9b0
Why: audit trail for the diagnostics endpoint unit, the baseline edge
registration and the green full combination run.
Evidence: verify-a2b.json and verify-a2-combo2.json exit=0.
Impact: task metadata only.
Refs: feature/exec-recovery-diagnostics-a2
Record the A2 review approval in the task card
ci / svc-realcombo (pull_request) Successful in 4m31s
ci / test (pull_request) Successful in 10m36s
ci / test-pg (pull_request) Successful in 19m1s
b0d481e91e
Why: independent review approved the diagnostics endpoint (0 blockers,
0 majors).
Evidence: review receipt /tmp/agent-stack-b2/reviewa2b-run.json.
Impact: task metadata + review report.
Refs: PR #704
Fold-close the task card before merge
ci / svc-realcombo (pull_request) Successful in 4m1s
ci / test-pg (pull_request) Failing after 6m48s
ci / test (pull_request) Successful in 12m15s
b58caf2d99
Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/feature-exec-recovery-diagnostics-a2.md -> .task/archive/feature-exec-recovery-diagnostics-a2.md; status 已完成(合入前闭合); PR #704 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/704.
Impact: task metadata only; the card is archived within PR #704 and lands with its merge commit.
Refs: task.sh close --self
Repin modules/backend with the intent-test hardening
ci / svc-realcombo (pull_request) Successful in 3m43s
ci / test (pull_request) Successful in 10m49s
ci / test-pg (pull_request) Successful in 14m3s
9a6ae6c571
Why: the intent-session tests were load-sensitive in CI (409 races
against the prior run settling); the hardening rides the A2 pin.
Evidence: repair receipt (a1ff-run.json) and 3x race verification
(verify-a1ff.json exit=0) on the merged tip; full make test green
(verify-a2-combo3.json exit=0).
Impact: one component gitlink.
Refs: PR #704
Merge authoritative main into the task branch
ci / svc-realcombo (pull_request) Successful in 3m52s
ci / test (pull_request) Successful in 11m7s
ci / test-pg (pull_request) Successful in 12m54s
b9560c7e21
Why: include the current integration baseline before merge.

Evidence: fetched origin/main=c3fc389b.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
weichen merged commit 6ced938a12 into main 2026-10-22 15:39:44 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#709