Repository navigation
Description
Problem
PR #3323 planned issue #3307 with ## Decisions set to None. and ## Rejected alternatives set to None.. The refine block in the issue body holds five key questions, each with a Chosen decision and its rejected alternatives, and an Existing Tool Considered section with the build cost. The stage planner wrote none of them.
src/devops_cli/ai/tasks/roadmap_stage_change.md asks the model to record decisions and rejected alternatives, but it never tells the planner that the issue body holds the refine block. content_problems in src/devops_cli/roadmap/stage_change.py checks only the texts that the reply gives, so an empty design passes. The refine run is wasted and the implement step must investigate the same questions again.
Proposed change
- In the stage change prompt, say that the block between
<!-- devops-roadmap-refine:start -->and<!-- devops-roadmap-refine:end -->holds a proposed design, and require the planner to carry itsChosendecisions andRejectedalternatives intodecisionsandrejected. - In
src/devops_cli/roadmap/stage_change.py, when the issue body holds a refine block with at least oneChosenorRejectedline, refuse a plan whosedecisionsorrejectedlist is empty. Put the parser next toacceptance_criteriainsrc/devops_cli/roadmap/stage_criteria.py, which already cuts the refine block from the body. - Add cases in
tests/roadmap/test_roadmap_stage_content.py.
Acceptance criteria
- A test holds an issue body with a refine block that has two
Chosendecisions and oneRejectedalternative, and asserts thatcheck_proposalrefuses a plan with no decision and no rejected alternative. - A test asserts that the same plan passes when it holds one decision and one rejected alternative.
- A test asserts that the stage change prompt tells the planner to reuse the refine block.
Source: #3323
Alternatives check of 2026-11-06: none.
Tool: none found.
Activity
dan-petty commentedon Nov 3, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.The refine run is wasted and the implement step repeats work, but the pipeline still completes.Users lose a completed refine step and must re-investigate the same questions.Requires a prompt edit, a validation check, a parser helper, and three test cases in identified files.Both concern rejected alternatives in a plan, but 3257 asks the plan to explain why the nearest alternative was rejected, while the candidate asks the stage planner to preserve decisions already recorded in the refine block.devops-cli-service commentedon Nov 6, 2026
Alternatives check: none
Tool: none found
Lacks:
Searches run:
Sources:
Checked on 2026-11-06. A person decides what this means for the item. The check changes no label and closes no issue.
dan-petty commentedon Nov 13, 2026
Evidence from #5390 (diagnosis of the fix-plan path on 2026-11-13). The same cause also affects the reviewer. Add the reviewer scope to this item.
src/devops_cli/ai/tasks/roadmap_stage_change.md:56,openspec/specs/roadmap-stage/criteria/spec.md:8-17).criterion_droppedsays "an acceptance criterion of the issue", with no scope (src/devops_cli/ai/tasks/roadmap_stage_verify.md:14).8d08977ffff4): the owner commented on fix(roadmap): decision points need cuts for shadow and run in async code #5272 at 2026-11-12T23:41Z to approve the cuts-model fallback with its own class (model_mismatch). The refine block holds that requirement. The plan says "Keep the cuts-model mismatch class out of this change" (design.md:18, and the same atproposal.md:71). The Proposed fix of fix(roadmap): decision points need cuts for shadow and run in async code #5272 still names 6 classes.Proposed addition:
openspec/specs/roadmap-stage/criteria/spec.md: theChosendecisions of the refine block bind the plan, together with the list that a person wrote.roadmap_stage_change.mdand inroadmap_stage_verify.md. A test asserts that both prompts hold the same definition.Related: #5409 (a later review judges each earlier finding and the answer of the planner).
devops-cli-service commentedon Nov 17, 2026
Released in v0.169.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.169.3
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 03:03 UTC