Repository navigation
Description
Problem Description
All open finding types block a plan the same. A minor finding keeps a plan at plan/needs-fix. The eval of the reviewer gates only recall, so nothing limits findings on good plans.
Evidence: plan pull request #4917 (item #4472). Its only open finding is a spec_delta_wrong on the 7-file scenario. With 7 files the serial fallback and a zero count both give -n 0, because DEFAULT_CI_TEST_SERIAL_MAX_FILES = 12 (src/devops_cli/config/defaults.py:494). A test can still check the warning, so most of the scenario is testable. The defect is minor, and one line of the plan fixes it.
Cause
OPEN_TYPES(src/devops_cli/roadmap/stage/stage_verify.py:66-76) and the rule text (src/devops_cli/ai/tasks/roadmap_stage_verify.md:11) have no severity.Finding(stage_verify.py:88-99) has no severity field.- The rule for
spec_delta_wrongsays "a scenario that no test can assert". The reviewer applies it when one part of the THEN is not testable. - The eval already labels each golden defect with
Severity(src/devops_cli/roadmap/stage/stage_eval_cases.py:112: blocker, major, minor, nit). It gates only the recall of blocker and major defects againstCONST_ROADMAP_VERIFY_RECALL_FLOOR0.9 (src/devops_cli/roadmap/stage/stage_verify_eval.py:370-381). It countsgood_returning(stage_verify_eval.py:162-165), the findings that return a good plan, but no gate limits it.
Reproduction Steps
- Read the last fix-plan comment on docs(openspec): plan #4472 Size narrowed test workers by collected tests #4917: one
spec_delta_wrongfinding on the 7-file scenario. - Read
stage_verify.py:66-76: each listed type is open, with no severity. - Run
uv run devops roadmap eval verify: the report gates recall only.
Expected vs Actual Behavior
Expected: only blocker and major findings keep plan/needs-fix. Minor and nit findings go into the comment as advice. The eval fails when good plans get too many returning findings.
Actual: a minor finding blocks the plan, and the eval has no gate for good_returning.
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
- Add
severitytoFindingand to the reply schema. Use theSeverityenum ofstage_eval_cases.py.open_findingsopens only blocker and major findings. Minor and nit findings are advice in the comment. - Change the
spec_delta_wrongtext to "has a scenario where no test can assert any part of its THEN". - Add a ceiling for
good_returningtodevops roadmap eval verify, next to the recall floor. Set its value from the current eval report and write the reason in the comment of the constant.
Acceptance Criteria
-
uv run pytest tests/roadmap/stage/test_roadmap_stage_verify.py::test_a_minor_finding_is_advicepasses. -
uv run pytest tests/roadmap/stage/test_roadmap_stage_verify_eval.py::test_the_report_gates_good_returningpasses: a score above the ceiling gives the missed line. -
uv run devops ci fail-to-pass --base origin/mainshows that the two tests fail on the base and pass on the head. The pull request cites the run. -
uv run devops roadmap eval verifymeets the recall floor and the new ceiling. The pull request cites the report.
Existing Tool Considered
The Severity enum and the eval harness of the project (stage_verify_eval.py). No new library. Cost to build (estimate): 0.5 M tokens and 2 hours elapsed. Keep: one field and one constant. Fix: about 0.1 M tokens for each wrong severity rule.
Related
#4402 (raises the recall of the reviewer, the opposite direction; the ceiling keeps the two in balance), #5273 (the verify screen records serious findings), #5211.
Source: #4843
Owner decision 2026-11-13
The owner approved the roadmap pipeline split (tracker #5482). This item is in Phase 0, and its scope does not change. #5410 merged (PR #5418). The stage Job of Phase 1 (#5483, #4559) and E1 (#5501) start when this item merges, because they change the same stage files.
- Live proof: after the merge and the release, the stage review runs as the App on the open plan PRs of
devops-cli-service[bot]. A comment gives the review verdicts and the severity of each blocking finding.
Activity
dan-petty commentedon Nov 13, 2026
Both deal with how open findings affect plan status in stage_verify.py, but #5059 returned all findings to the planner while the candidate adds severity so only blocker and major findings block the plan.feat(roadmap): add the stage Job template and one-item entry point (#…
docs(openspec): plan #5411 only blocker and major findings block a plan
docs(openspec): archive 5411-only-blocker-and-major-review-findings
feat(roadmap): run each stage item in its own Job (#5559)
devops-cli-service commentedon Nov 13, 2026
Released in v0.133.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.133.0
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 22:33 UTC