Repository navigation
Description
Problem Description
A review finding blocks a plan even when its where names no part of the plan. Any plan can get a false blocker this way.
Evidence: plan pull request #5350 (item #5118, head ccfbab2e9586). Its only open finding names "specs (A release writes through one Status writer)". The spec delta of that head has three other requirements and none with that name. The quote comes from openspec/specs/roadmap-item-labels/spec.md:216, which the reviewer read with the tool read_spec. The plan already sends the release through write_status (design.md:5, proposal.md:10 and tasks.md of the plan). So the plan obeys the base rule "Every job writes the Status through one writer", and the finding is false.
Cause
Finding.whereis free text (src/devops_cli/roadmap/stage/stage_verify.py:88-99).open_findings(stage_verify.py:298-313) checks only that the type is open and that the quote is in a text of the input or of a tool answer. It never checkswhere.VerificationInput.contains(stage_verify.py:237-241) accepts a quote from any tool answer, also from a file that the plan does not change.
Reproduction Steps
- Read the last stage or fix-plan comment on docs(openspec): plan #5118 Restore the Status on a claim release #5350: the finding and its
where. - Read the spec delta of head
ccfbab2e9586: no requirement has the name that the finding gives. - Read
stage_verify.py:298-313: no check useswhere.
Expected vs Actual Behavior
Expected: a finding that names a part that the plan does not hold is advice. It does not keep plan/needs-fix.
Actual: the finding is open, and the plan keeps plan/needs-fix.
Environment Diagnostics
- DevOps CLI Version: 0.128.0 (origin/main 2daf63a)
- Execution Environment: roadmap Service and fix-plan App Jobs in namespace
devops
Proposed Fix
- Replace the free text
whereofFindingwith a structured locator:part(proposal,design,tasks,specorissue) andsection(a task group number, a heading, or a requirement name with its capability). - In
open_findings, check the locator against the plan (StageProposal). A finding whose part or section is not in the plan is advice. A type that reports a missing part names what needs it:criterion_droppednames the criterion of the issue (part: issue), andmissing_pathnames the group that needs the file. - Update the prompt
src/devops_cli/ai/tasks/roadmap_stage_verify.md, the reply schema and the comment linestage_finding.
Acceptance Criteria
-
uv run pytest tests/roadmap/stage/test_roadmap_stage_verify.py::test_a_finding_on_a_requirement_that_the_plan_does_not_hold_is_advicepasses. The fixture is the docs(openspec): plan #5118 Restore the Status on a claim release #5350 case: a spec delta with three requirements, a finding that names a fourth, and a quote from aread_specanswer. -
uv run pytest tests/roadmap/stage/test_roadmap_stage_verify.py::test_a_finding_on_a_requirement_of_the_plan_stays_openpasses. -
uv run pytest tests/roadmap/stage/test_roadmap_stage_verify.py::test_criterion_dropped_names_the_criterion_of_the_issuepasses, and the finding stays open. -
uv run devops ci fail-to-pass --base origin/mainshows that the first test fails on the base and passes on the head. The pull request cites the run. - On the same cases, the recall of
uv run devops roadmap eval verify --model <Service model>on the head is not lower than on the base. The pull request comment gives both numbers.
(Changed 2026-11-13: the base does not meetCONST_ROADMAP_VERIFY_RECALL_FLOOR(0.9) either: 0.38 on 44 cases on 2026-11-05, 0.45 to 0.67 on 9 and 10 cases on 2026-11-10. feat(roadmap): raise the recall of the verify reviewer #4402 owns the recall.matched_defectsmatches by type only, so only the new prompt text can change the recall.)
Existing Tool Considered
A pydantic model with a Literal part, and the plan as the step already reads it (StageProposal). No library judges where a review finding points. Cost to build (estimate): 0.6 M tokens and 2.5 hours elapsed. Keep: one model field and one check. Fix: about 0.1 M tokens for each wrong locator rule.
Related
#5215 (a Jev check in fix-plan only; it does not check the locator), #4402 (the recall of the reviewer), #5211.
Source: #4843
Activity
dan-petty commentedon Nov 13, 2026
Both items change finding handling in stage_verify.py, but #5059 widens which finding types return to the planner while the candidate validates that a finding's locator points to a part the plan actually holds.devops-cli-service commentedon Nov 13, 2026
Released in v0.130.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.130.0
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 18:17 UTC