Repository navigation
Description
Summary
On 2026-10-19 a /uf.review-council spec-review dispatch (correlation 4ae8aa2b-9b6e-4427-88e1-367198eb6a86, mode specs, 5 runs, 4 parallel, 20-minute per-run timeout) could not be finalized. consolidate_dispatch rejected the payload three times (initial call plus the two permitted identical mechanical retries) with:
consolidated finding has incorrect contributing run idsconsolidated finding references a non-successful or unknown runnon-success run f2abbc23-8a33-42c4-8c63-42427ee07f32 must not vote or emit findings
Run table:
| Run | Status | Findings | Proposals |
|---|---|---|---|
divisor-adversary (claude-opus-4-6) |
success | 1 | 0 |
divisor-architect (glm-5-3) |
failed | 0 | 0 |
divisor-curator (glm-5-3) |
success | 3 | 2 |
divisor-guard (glm-5-3) |
failed | 6 | 1 |
divisor-sre (glm-5-3) |
success | 5 | 2 |
Root cause (investigated from child session transcripts)
divisor-guard (session ses_eae228d15ffeLAWsEckuvIKQDA): completed its review normally. submit_review_findings was accepted at 02:12:47 ("6 finding(s) submitted"), submit_lesson_proposal was accepted at 02:13:27, and it began emitting its final review text at 02:13:38 — then the session aborted (~363k input tokens, consistent with hitting the model context ceiling during final-response generation). The run is recorded failed, but its already-accepted submissions remain in the dispatch store attributed to the failed run.
divisor-architect (session ses_eae228c99ffe8sQ6EjsYN7YaHQ): stopped mid-review at ~02:11 (~369k input tokens) without submitting anything; run failed.
Both children ran 15-17 minutes — under the 20-minute per-run timeout — so timeout is not the trigger; context exhaustion is.
The failure chain:
submit_review_findings/submit_lesson_proposalaccept submissions from a child run regardless of the run's eventual terminal status.- When the child session later aborts (context ceiling), the run is marked
failedwhile its accepted findings/proposals remain in the store. - The finalizer — correctly, per its integrity rules — refuses any payload in which a non-success run contributes findings.
- There is no sanctioned recovery: no way to discard the orphaned submissions, no partial re-dispatch of just the failed reviewers, and retrying
consolidate_dispatchis pointless because the store state never changes. - Net effect: three successful reviews (9 findings, 5 proposals) are unfinalizable; the caller must fail closed
INCONCLUSIVE, block automation, and request human review.
Recurrence
This is a recurring failure class, not a one-off:
- The identical finalizer rejection (
non-success run ... must not vote or emit findings) appears in at least five additional sessions in the local opencode database between 2026-10-14 and 2026-10-17 (occurrence counts 1, 1, 3, 7, and 9 — the 9-occurrence session exhausted repeated retries), including the code-review finalization failure documented in thefix-tool-args-schema-mismatchchange retrospective. - Earlier the same day (2026-10-19 01:42), a second
/uf.unleashspec-review dispatch attempt on the same change launched five children that produced zero output (guard child: 0 tokens, 1 part — launched but never ran), which forced a full re-dispatch.
Suggested fix directions
- Bind submissions to run liveness — reject or quarantine
submit_review_findings/submit_lesson_proposalonce a run is marked failed; and/or derive run status so that a run which completed its structured submissions and final text is not marked failed because the session aborted afterward (the guard case). - Finalizer-side recovery — allow consolidation to exclude non-success-run findings with an explicit warning when successful runs exist, or expose an explicit "discard orphaned submissions" action for the parent command.
- Partial re-dispatch — allow re-running only the failed reviewers within the same dispatch session (reusing sibling evidence) so a single context blowout does not brick the whole dispatch.
- Child context budget — the spec-review prompt plus evidence drove both failed children to ~365k input tokens (each re-read the 895-line command file and large plugin excerpts). Consider trimming embedded evidence, capping per-child reads, or checkpoint/resume for long reviews.
Environment
- Branch
opsx/fix-triage-issue-dispatch-docs, baseupstream/main@7fb1e39f1b9f9eed45cda37167bb778a4055faa2, uncommitted working-tree diff (7 files, 643 lines) - Command:
/uf.unleashStep 6 (spec review) → review-council, specs mode, dispatched viadispatch_review_runs(4 parallel, $25 budget, 20-minute per-run timeout) - Models: guard/architect/curator/sre on
enmaas/rits/zai-org/glm-5-3; adversary ongoogle-vertex-anthropic/claude-opus-4-6@default
Impact
Any review-council dispatch in which a child fails after (or before) submitting becomes permanently unfinalizable with no automated recovery. The fail-closed finalizer behavior is correct; the missing piece is a recovery path.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
fix(review-dispatch): recover dispatches stranded by failed child runs
fix(review-dispatch): recover dispatches stranded by failed child runs
fix(review-dispatch): recover dispatches stranded by failed child runs
fix(review-dispatch): recover dispatches stranded by failed child runs