Repository navigation
task: weekly queue reconciliation (2026-11-23) - #2983
simple-agent-manager[bot] merged 3 commits into
Conversation
…ctivation to backlog Weekly queue reconciliation 2026-11-23. Each archived file gets a dated reconciliation note citing its merged PR; only gate lines with evidence are ticked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ogress Weekly queue reconciliation 2026-11-23. Every deletion cites a merged PR and a code check. Seven partly shipped records get a dated note. The four code and config pointers to the task files moved in this PR now point at tasks/archive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@coderabbitai review |
Action not completed
|
Restore the background-subagent record (superseded evidence did not cover its symptom), correct two ticks that overstated evidence, tick four acceptance criteria covered by their own tests, and point two orphaned production measurements at their tracking idea. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27502e43c1
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| ## Problem | ||
|
|
||
| When Claude Code launches sub-agents with `run_in_background: true` (the Task tool's `run_in_background` parameter), the ACP session breaks down with interleaved, garbled messages. This is a fundamental protocol-level issue that cannot be solved by the ACP client alone. |
There was a problem hiding this comment.
Restore tracking for unresolved ACP background-output corruption
When Claude finishes its main turn while a background sub-agent continues, PR #1845 does not supersede this task: session_host_prompt.go:474-480 still sets HostReady and broadcasts MsgSessionPromptDone, while AcceptPrompt admits the next prompt based only on HostReady (session_host_prompt.go:60-63). Harness-work state is consulted only to prevent eviction (session_host_eviction.go:67-70), so a second prompt can still interleave with background output exactly as described here. Deleting the backlog file therefore loses the only tracking for an unresolved user-visible corruption issue; retain it or replace it with a task for prompt admission or stream isolation.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Agreed, and fixed before merge in 932cdf3: tasks/backlog/2026-02-23-suppress-background-subagents-in-acp.md was restored and kept open, with a note that #1845 only leases background work and does not fix the interleaving. Your detail strengthens it: AcceptPrompt admits on HostReady alone (session_host_prompt.go:60-63), and harness-work state only blocks eviction (session_host_eviction.go:67-70). Whoever picks the file up should start from prompt admission or stream isolation there.
|
|
||
| ## Reconciliation (2026-11-23, weekly queue reconciliation) | ||
|
|
||
| - Shipped in [#2883](https://github.com/raphaeltm/simple-agent-manager/pull/2883) (merged 2026-11-19). The production row_usage measurement (line 23) was never done. It was evidence-gathering, not a deliverable, and is not tracked anywhere else. |
There was a problem hiding this comment.
Keep the production measurement in the active queue
This file states at lines 27 and 44 that the task must remain active until the production row_usage measurement completes, but the new reconciliation admits that the measurement was never performed and is tracked nowhere else. Archiving it now removes the only record of an explicitly required post-deploy validation, contrary to the completion review that requested accurate tracking; complete the measurement or create an explicit backlog item before moving this task.
AGENTS.md reference: AGENTS.md:L60-L60
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Agreed, and fixed before merge in 932cdf3. The production row_usage measurement is now tracked explicitly as an open item on idea 01M7CX61WVX72T7CFQNRTX0DVM (the Durable Object cost parent idea; project policy tracks follow-ups as SAM Ideas). The archived task's reconciliation note points there. The same note covers the never-recorded production baseline from #2727.
|
❌ The last analysis has failed. |
Summary
Weekly queue reconciliation for 2026-11-23. This PR changes task records only, plus four comment/config path pointers. There is no runtime behaviour change. It does not affect hosted SAM (Cloudflare) or self-hosting.
tasks/active/: 25 files, now only this run's record.mainhave succeeded since (latest7d40cfb2d). Each file gets a dated "Reconciliation" note citing its PR. Only gate lines with evidence were ticked; the rest stay unticked and the note says they were not re-checked.2026-11-14-merge-streamed-chunks.md. #2760 shipped chunk merging switched off (DEFAULT_MESSAGE_MERGE_CONFIG.enabled = false), and the owning task was cancelled on 2026-11-23. Still open: the production activation, a two-hour row-usage observation, and a default-ON PR.tasks/backlog/: 348 files audited, 7 deleted, 8 annotated. The audit ran in four read-only slices. I checked the merged PR and the code path for every deletion myself.2026-08-04-shared-staging-do-migration-pinning.mdstaging-migration-guard.mjs(run indeploy-staging.yml) keeps new DO migrations off primary staging2026-09-26-trustworthy-task-status.mdcancelled/snapshot_expired; a late failed callback cannot flip a terminal task2026-10-20-archive-leaves-sleeping-task-sleeping.mdcancelExecutableTaskForArchiveusescanTransitionTaskStatus(…, 'cancelled'), so sleeping tasks now cancel2026-11-04-follow-up-during-first-provisioning-wake-refused.mdisVmPromptTargetStartingmakes the no-workspace branch retry2026-11-16-capacity-pool-query-plan-test-near-timeout.mdcapacity-pool-edit-query-plan.test.ts2026-11-16-flaky-runtime-secret-overlapping-submits-test.md2026-11-17-cancelled-task-resurrected-by-wake-claim.mdsession-recovery.tsfences onupdated_at; covered bytask-cancel-unissued-delivery.test.ts2026-02-23-suppress-background-subagents-in-acp.mdwas first marked superseded by fix: keep sessions awake while harness background work is in flight #1845. The validator showed that fix: keep sessions awake while harness background work is in flight #1845 does not cover the file's interleaved-output symptom, so the file is kept with a note.Path pointers. Four comments or config strings named
tasks/active/files that this PR moves, so they now point attasks/archive/:eslint.config.mjs,packages/eslint-plugin-sam/rules.manifest.json(baselineBacklogLink),deploy/selfhost/sam-dns/main.go, and a test header comment. About 11 older pointers from earlier PRs remain; some are applied D1 migration headers, which must not be edited. They are recorded in the task file, not fixed.Open PRs older than 7 days. One weekly status comment each, coordinated with the PR Shepherd so neither PR was commented twice:
Validation
pnpm format:check(ratchet passed)pnpm quality:no-secret-readback,quality:runtime-state-files,quality:stale-artifacts,quality:agent-context-budget --check@simple-agent-manager/eslint-plugin-samtests (43/43) andeslint eslint.config.mjspnpm lint/pnpm typecheck/pnpm test: not run locally. The only code edits are comments and one manifest string; full CI covers them.Staging Verification (REQUIRED for all code changes — merge-blocking)
Staging Verification Evidence
N/A: docs-only. The diff holds task markdown plus comment-only edits in
eslint.config.mjs,deploy/selfhost/sam-dns/main.goand a test header, and one non-functionalbaselineBacklogLinkstring in the ESLint rule manifest. No runtime code path changes.UI Compliance Checklist (Required for UI changes)
N/A: no UI changes.
End-to-End Verification (Required for multi-component changes)
Data Flow Trace
N/A: no runtime behaviour.
Untested Gaps
N/A: full flow covered by automated tests
Post-Mortem (Required for bug fix PRs)
N/A: not a bug fix
Specialist Review Evidence (Required for agent-authored PRs)
needs-human-reviewlabel added and merge deferred to humanCodeRabbit Review Evidence (Required for agent-authored PRs)
CodeRabbit Notes
Requested at 06:19:54Z by adding the
coderabbit-reviewlabel when the PR was marked ready. The trusted bridge posted@coderabbitai reviewat 06:20:05Z, and CodeRabbit answered "Review triggered" at 06:20:12Z. Then, at 06:22:18Z, "Action not completed: Head commit changed" (the validator-fix push), and at 06:22:33Z, "Review skipped: Auto reviews are disabled on this repository." Per rule 25 the wait ends on a skip, and it was not re-triggered. No CodeRabbit review exists, so none is unresolved.Codex (automatic, on ready) completed its code review of
27502e4at 06:22:52Z with no inline findings.Exceptions (If any)
main(the/doPhase 1 step).Agent Preflight (Required)
Classification
External References
N/A: internal task-record reconciliation; evidence from
gh pr list --state merged,gh run list --workflow=deploy.yml, SAM task records and current code onorigin/main.Codebase Impact Analysis
tasks/active/,tasks/archive/,tasks/backlog/. Comment- and string-only pointer edits ineslint.config.mjs,packages/eslint-plugin-sam/rules.manifest.json,deploy/selfhost/sam-dns/main.goandapps/api/tests/unit/durable-objects/credential-setup-session-teardown.test.ts. I checked that the task files pinned by quality checks (check-no-secret-readback.ts, CI unpin comments) are untouched and still exist.Documentation & Specs
Updated task-tracking records (no www docs or specs describe them):
tasks/active/2026-11-23-weekly-queue-memory-reconciliation.md(new run record)tasks/archive/*: 24 records moved fromtasks/active/, each with a dated reconciliation notetasks/backlog/2026-11-14-merge-streamed-chunks.md(returned to backlog with its open remainder)tasks/backlog/*: 7 records deleted, 8 annotatedtasks/archive/:eslint.config.mjs,packages/eslint-plugin-sam/rules.manifest.json,deploy/selfhost/sam-dns/main.go,apps/api/tests/unit/durable-objects/credential-setup-session-teardown.test.tsConstitution & Risk Check
Principle X (simplicity): this removes stale queue entries and adds no new process. Risk: deleting open work. Mitigations: default KEEP, a cited merged PR plus a code check for every deletion, and an independent task-completion-validator pass.
🤖 Generated with Claude Code