Repository navigation
Description
Problem
A fix-plan attempt can fail the Feasibility trace gate on a citation that the stage run read and the fix-plan run did not read again.
Seen on 2026-11-13: the fix-plan Job on plan pull request #5390 (item #5272, head 8d08977, image 0.127.0) ended failed at the step gate, before the review of the head, with class plan_defect (plan_calls 4, gate_returns 3, verify_rounds 0, 2.4M tokens, 25 min). Reason: "The Feasibility section states that src/devops_cli/roadmap/decision_step.py 50 215 was read, but the run did not read it." The stage run that wrote the plan made that citation. The fix-plan run had 3 gate returns to read the file and did not, so the attempt never reached the review of the one open finding (criterion_dropped).
What to check first
- Does the fix-plan step build its trace facts from its own run only, or also from the reads of the stage run that wrote the plan (fix(roadmap): build the trace facts from every plan run #4267 builds the facts from every plan run of one stage job)?
- Do the gate return messages of fix-plan tell the planner which file to read, and does the planner have the tool and the budget to read it?
Proposed fix
Give the fix-plan gate the reads that stand behind the plan it repairs: either keep the trace facts of the stage run with the plan, or judge only the Feasibility sentences that the fix-plan revision adds or changes. A citation that no run read stays refused.
Acceptance criteria
- A test repairs a plan whose Feasibility cites a file that only the earlier run read, and the gate passes; a new citation of an unread file is still refused. The test fails on
main(devops ci fail-to-pass). - A fix-plan Job on docs(openspec): plan #5272 Require cuts for shadow and time each decision #5390 (or the next plan with a citation of the stage run) reaches the review of the head.
Existing tool considered
No tool covers the trace facts of this project. Cost: about 200,000 tokens, 3 hours elapsed.
Activity
dan-petty commentedon Nov 13, 2026
Both items face the trace gate lacking the reads that support a plan's citations, but #4281 fixes a kept plan missing its trace record while the candidate fixes the fix-plan run not inheriting the stage run's reads.fix(roadmap): fix-plan keeps the citations that the run of the head read
docs(openspec): archive 5391-fix-plan-stage-reads
chore(main): release 0.128.0 (#5406)
devops-cli-service commentedon Nov 13, 2026
Released in v0.128.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.128.0
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 12:38 UTC