Repository navigation
fix(roadmap): only blocker and major review findings block a plan - #5557
Conversation
Evidence for #5411Fail-to-pass
|
| Run | 2166 serious | 2169 serious | Serious recall | All recall | Findings | Returning |
|---|---|---|---|---|---|---|
| Base, 17:23Z | 3 of 4 | failed 4 times (connection reset, #5527) | 3 of 4 (2166 only) | 5 of 8 (2166 only) | 6 (2166) | 4 (2166) |
| Earlier runs of today with no severity: the pass before #5410 (13:43Z, 15:06Z) and the pass of #5410, which the base holds (15:30Z, 16:24Z) | 2, 2, 3, 3 of 4 | 4, 4, 3, 4 of 5 | 6, 6, 6, 7 of 9 | 10, 9, 10, 11 of 17 | 16, 15, 21, 18 | 12, 9, 15, 14 |
| Head, 17:52Z | 3 of 4 | 5 of 5 | 8 of 9 (89%) | 13 of 17 (76%) | 22 | 12 |
By the match of the eval, which reads the type and not the severity, the head finds 8 of 9 serious defects against 6 to 7 of 9 for the pass with no severity. A serious defect keeps a draft only when a blocker or a major finding finds it. By that count the head finds 6 of 9. Each finding of the pass with no severity was open, so its 6 to 7 of 9 compare with that count: the head is at the low end of the range of the runs with no severity. Two cases cannot show a difference of one defect, because one pass alone varies from 2 to 3 of 4 on 2166. The 2 others (2169, spec_delta_wrong and other) matched a minor finding about a different defect of the same type: one part of a THEN that no test can assert, and a missing conversion of a loop. The head graded 6 of 22 findings minor and none nit. The floor of 90% stays unmet, as on the base (#4402).
Good plans: the new ceiling
Head, 19:16Z to 21:22Z, the 6 good cases (good-3410 ran again after a connection reset, #5527): 27 findings, 9 return a plan, a mean of 1.50 for each good plan. 6 of the 9 are on good-3264. The 4 plans good-2491, good-2735, good-2739 and good-2950 got 15 findings and 1 returning finding: 12 of the 15 are minor or nit. With no severity (2026-11-10, same model), the pass gave 14 returning findings on 5 good plans, 2.8 for each plan; on the same 5 plans the head gives 8.
CONST_ROADMAP_VERIFY_GOOD_RETURNING_CEILING is 2.0. The returning findings of the cases 2166 and 2169 varied from 9 to 15 between runs of one pass today, about a third, so 2.0 holds the head (1.50) with that variance, and the count with no severity (2.8) does not. The report of the head:
Findings on the good plans: 27 on 6 plan(s). 9 of them would return a plan to the planner.
Ceiling of the findings that return a good plan: 2.00 for each good plan. The mean of 1.50 does not pass it.
Cases by end: verified 6, failed 0.
Validation on real plan pull requests (read-only)
The first review of the head ran on the plan that the stage job staged for each item, at the commit that the planner read (stage.sha of the item record). No write to GitHub.
- docs(openspec): plan #5272 Require cuts for shadow and time each decision #5390 (item fix(roadmap): decision points need cuts for shadow and run in async code #5272): the stage comment had one open finding, a
criterion_droppedon themodel_mismatchfallback. The head review found the same defect as a majorcriterion_dropped, so the plan stays atplan/needs-fix, plus a majorfalse_premiseon the same misquote. Three other findings are minor and go to the comment as advice: the missing dependency on docs(adr): one decision-model record supersedes ADR 0019 and ADR 0020 #5239, a secondFailureClassenum name, and a series test that proves nothing. The old comment listed two of these as points too. - docs(openspec): plan #1928 Rank the benchmark with numpy and pytrec_eval #5422 (item refactor(ai): rank the benchmark with numpy and pytrec-eval #1928): the head review found a major
false_premise(the test of group 2 stops at collection on the base), which keeps the label, and a minorspec_delta_wrong: "Only the one-matrix-product part of the THEN is assertable". That is the case of docs(openspec): plan #4472 Size narrowed test workers by collected tests #4917, and it is now advice. The review did not find the open finding of the stage comment (therg compute_ndcg_at_kcriterion) this time.
Release and next step
The Service and the fix-plan Jobs run the image, so the change needs a release. After the release, the owner-approved step D9 sets roadmap.fix_plan.mode to on. The first attempts then read the comment lines of the open plan pull requests in the old form as major findings (for example #5449).
Later review (rule of docs/ROADMAP_WORKFLOW.md for roadmap_stage_verify_later.md)
This change adds the key severity to the earlier findings of a later review, and the later review reads the changed prompt of the pass. So the review replayed one later round of the head on the cases 2166 and 2169 with deepseek-v4.1-flash-1017, as #5423 did for #5409 (scratch script, not in the repository). The plan does not change, so answer is empty. earlier holds the findings of the head report above of an open type and of the severity blocker or major whose place the plan holds.
| Case | Earlier | holds |
gone |
New findings | Open after | Serious defects matched before | after |
|---|---|---|---|---|---|---|---|
| 2166 | 5 | 5 | 0 | 0 | 5 | 3 | 3 |
| 2169 | 7 | 7 | 0 | 0 | 7 | 3 | 3 |
The base run of #5423 on the same cases gave the same result with its own earlier findings (2166: 3 of 3 hold, 2169: 9 of 9 hold, no new finding). The later review closes no blocker or major finding of a plan that did not change.
Fix of the review
- The spec of
roadmap-stage-evalrequires the keygood_returning_meanin the JSON report, and no test asserted it.test_the_json_report_holds_the_mean_of_the_findings_that_return_a_good_plannow checks the mean of two good plans (1.5) and null for a run with no good plan. Task 3.1 names it. - CI shard 2 of a5d1b5b failed
tests/roadmap/test_roadmap_limit_classes.py::test_every_numeric_limit_of_the_roadmap_jobs_has_a_class:AssertionError: ... ['CONST_ROADMAP_VERIFY_GOOD_RETURNING_CEILING'] != []. Each numericCONST_ROADMAP_constant needs a class. The ceiling now has the classother, a score bar of the eval, as the recall floor has. Task 3.2 names it.
Checks of the review (base origin/main 97d4f12)
uv run devops ci --check --only lint,format,domain,typecheck,docs,openspec,test-tree,swallowed-failures,constructs,startup-imports: all pass.uv run devops ci test tests/roadmap/stage tests/roadmap/steps tests/roadmap/refine tests/roadmap/test_roadmap_failure.py tests/roadmap/test_roadmap_repair.py tests/commands/test_roadmap_eval_screen.py tests/commands/test_roadmap_step_fix_plan.py tests/telemetry/test_roadmap_stage_steps.py tests/roadmap/test_roadmap_labels_file.py: 3441 passed, 1 skipped, at the head of the builder. At the final head d628ff3 (on origin/main 7adcb33),uv run devops ci test tests/roadmap/test_roadmap_limit_classes.py tests/roadmap/stage/test_roadmap_stage_verify_eval.py: 79 passed.uv run devops ci test tests/roadmap/stage/test_roadmap_stage_registry.py tests/telemetry/test_telemetry_instruments.py tests/grafana/test_grafana_dashboards.py tests/config, the other tests that read each constant: 498 passed. The pre-push hook passed.uv run devops openspec check: pass.
Render diff
No path under k8s/ changes. There is no kustomize or helm render difference and no restart.
After the merge
- Live proof of the issue: after the release, the stage review runs as the App on the open plan pull requests of the Service bot, and a comment gives the review verdicts and the severity of each blocking finding.
Plan the severity of a review finding: a required field of the reply, an open rule for blocker and major findings only, the advice of fix-plan, and a ceiling of the findings that return a good plan in the verify eval.
Each finding of the model review of a plan now has a severity: blocker, major, minor or nit, the grades of the golden set. Only a blocker or a major finding is open, so only such a finding returns the plan, keeps the draft with plan/needs-fix, counts in the decisions of fix-plan, and refuses an item of a bot in refine. A minor or a nit finding is advice in the comment. A later review opens a new finding by the same rule. The comment line starts with the severity, and fix-plan reads a line with no severity as a major finding. The spec_delta_wrong rule of the prompt now needs a scenario where no test can assert any part of its THEN. devops roadmap eval verify states a ceiling of the findings that return a good plan, as a mean for each good plan, next to the recall floor.
…rning findings The spec of roadmap-stage-eval requires the key good_returning_mean in the JSON report, and no test asserted it. The test checks the mean for two good plans and null for a run with no good plan.
…score bar test_every_numeric_limit_of_the_roadmap_jobs_has_a_class needs a class for each numeric CONST_ROADMAP_ constant. CONST_ROADMAP_VERIFY_GOOD_RETURNING_CEILING is a score bar of the verify eval, as CONST_ROADMAP_VERIFY_RECALL_FLOOR is, so it has the class other.
Move the change of #5411 to the archive and apply its spec deltas to roadmap-stage/verification, roadmap-stage/fix-plan, roadmap-refine/review and roadmap-stage-eval.
a5d1b5b to
d628ff3
Compare
🤖 I have created a release *beep* *boop* --- ## [0.133.0](v0.132.1...v0.133.0) (2026-11-13) ### Features * **roadmap:** run each stage item in its own Job ([#5559](#5559)) ([b771fc4](b771fc4)) ### Bug Fixes * **cli:** Print the elapsed line only on a terminal ([#5554](#5554)) ([5dc5882](5dc5882)) * **roadmap:** only blocker and major review findings block a plan ([#5557](#5557)) ([75d45b5](75d45b5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Each finding of the model review of a plan now has a severity:
blocker,major,minorornit, as in the golden set. Only a blocker or a major finding is open. So only such a finding returns the plan to the planner, keepsplan/needs-fix, counts in the decisions offix-planand refuses an item of a bot in refine. A minor or a nit finding is advice in the comment. Plan pull request #4917 kept the label for one minor finding that one line of the plan fixes.The comment line starts with the severity, and
fix-planreads a line with no severity from an older release as a major finding. The prompt describes the four severities, andspec_delta_wrongnow needs a scenario where no test can assert any part of its THEN.devops roadmap eval verifystates a ceiling of the findings that return a good plan, next to the recall floor, so recall cannot grow by returned good plans.Closes #5411
Change:
openspec/changes/archive/2026-11-13-5411-only-blocker-and-major-review-findings/