Skip to content

feat(roadmap): extend stage review rounds while open findings drop - #5090

Merged
dan-petty merged 2 commits into
mainfrom
feat/5066-extend-review-rounds-while-findings-drop
Nov 12, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/5066-extend-review-rounds-while-findings-drop

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The model review of a stage plan returned the plan to the planner at most 2 times, a hard constant. A plan that still improved at the last round opened as a draft with plan/needs-fix, as #4472 and #4945 did on 2026-11-12.

The setting roadmap.stage.verify_repair_rounds (default 2, at most 4) now sets the repair rounds. After them, one more round starts only while the last review has fewer open findings than the review before it: a count check with no model call. No item gets more than 4 repair rounds, no round starts after the Service stops, and an extended round logs stage review extended:. The constant CONST_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDS goes away.

Closes #5066

Change: openspec/changes/archive/2026-11-12-5066-extend-stage-review-rounds-while-open/

The model review returned a plan at most 2 times, a hard constant, so a
plan that still improved at the last round opened with plan/needs-fix.
The setting roadmap.stage.verify_repair_rounds (default 2, at most 4)
now sets the rounds. After them, one more round starts only while the
last review has fewer open findings than the review before it, with no
model call and never past the ceiling. No round starts after the Service
stops, and an extended round logs `stage review extended:`.

Closes #5066
@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 12, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Checks that ran before the push (branch holds origin/main at fb549ff, after #5067 merged):

  • uv run devops ci test on tests/roadmap/stage, tests/roadmap/test_roadmap_limit_classes.py, tests/security/test_config_declarations.py, tests/roadmap/test_roadmap_failure.py, tests/invariants/test_roadmap_stage_measure_doc.py and tests/config: 2981 passed, 1 skipped.
  • The new tests of tests/roadmap/stage/test_roadmap_stage_review_rounds.py fail on main (ImportError: CONST_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDS_CEILING), and the 6 pass on the branch.
  • uv run devops roadmap eval stage --replay: the same report as on main (58 cases, 5 of 5 good plans pass, every gate refuses what it must refuse). The replay runs only the gates.
  • uv run devops roadmap eval verify: not run. It calls the model of the task verification through the gateway, so it does not run offline, and this change does not change one review.
  • uv run mypy on the changed source files: no issues.
  • uv run devops ci --check --only lint,format,docs,openspec,test-tree: all pass.

Cost at the ceilings: an item makes at most 21 plan runs (5R + 6 at roadmap.stage.gate_returns 3) and 5 review runs, against 13 and 3 at the defaults. The defaults do not change.

Service code: it waits for the owner's "safe and vetted" call. The ConfigMap needs no change: the default of the new setting is the old constant.

@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 14:06
@dan-petty
dan-petty merged commit bacf713 into main Nov 12, 2026
25 checks passed
@dan-petty
dan-petty deleted the feat/5066-extend-review-rounds-while-findings-drop branch November 12, 2026 14:11
dan-petty pushed a commit that referenced this pull request Nov 12, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.119.0](v0.118.0...v0.119.0)
(2026-11-12)


### Features

* **repos:** the claim sets In Progress
([#5111](#5111))
([06ef1c6](06ef1c6))
* **roadmap:** a fix-plan step repairs a plan PR with open findings
([#5104](#5104))
([ca5b16d](ca5b16d))
* **roadmap:** extend stage review rounds while open findings drop
([#5090](#5090))
([bacf713](bacf713))
* **roadmap:** re-anchor a stale citation that matches one line
([#5040](#5040))
([16356d8](16356d8))


### Bug Fixes

* **ci:** keep failed test IDs in the service image shard summary
([#5106](#5106))
([88589ef](88589ef))
* **github:** count each page of a paginated GitHub read
([#5070](#5070))
([908e24a](908e24a))
* **github:** keep the metrics permissions out of the runner Job token
([#5064](#5064))
([fb549ff](fb549ff))
* **github:** pace mutations through the clock seam
([#5063](#5063))
([2bd87bc](2bd87bc))
* **k8s:** delete the CoreDNS files that k3s never applies
([#5055](#5055))
([463f601](463f601))
* **monitoring:** tidy LLM stack windows, units and lines
([#5052](#5052))
([375d724](375d724))
* **roadmap:** a refused kept plan uses no stage gate return
([#4983](#4983))
([b8adbca](b8adbca))
* **roadmap:** count a command as removed only when MUST NOT governs it
([#4985](#4985))
([2e6f407](2e6f407))
* **roadmap:** cut prose after a cited stage command
([#4982](#4982))
([a172563](a172563))
* **roadmap:** name every module of a group with no named test
([#5089](#5089))
([27a0e79](27a0e79))
* **roadmap:** stage returns every open review finding to the planner
([#5067](#5067))
([21b116e](21b116e))
* **roadmap:** the alternatives check reads the tools in use
([#5062](#5062))
([8903233](8903233))
* **roadmap:** the constants gate reads 6_500 and no new value
([#5080](#5080))
([8a7b113](8a7b113))
* **roadmap:** the constants gate reads only a stated value
([#5042](#5042))
([cf4733e](cf4733e))
* **telemetry:** read repository traffic as the GitHub App
([#4932](#4932))
([7c42823](7c42823))
* **tests:** close the UDP, DNS and git gaps of the network floor
([#5101](#5101))
([047ee48](047ee48))
* **tests:** repair the bwrap contract suite and gate it
([#5110](#5110))
([9a0659d](9a0659d)),
closes [#4715](#4715)


### Performance Improvements

* **ci:** build the Service image once for its test shards
([#5079](#5079))
([dcf5bd5](dcf5bd5))
* **ci:** run only the required checks on the release PR
([#5057](#5057))
([8174071](8174071))
* **ci:** stop the cache export of pull request image builds
([#5113](#5113))
([ba30820](ba30820))
* **roadmap:** consolidate keeps its vectors in the shared tiers
([#5099](#5099))
([2a8bf1a](2a8bf1a))


### Code Refactoring

* **roadmap:** one Status writer for every job
([#5109](#5109))
([24cfedc](24cfedc))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): extend stage review rounds while open findings drop

1 participant