Repository navigation
Description
Problem or Motivation
The model review of a stage plan returns the plan to the planner at most CONST_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDS (2) times, a hard constant. A plan that still has an open finding after the last round opens as a draft with plan/needs-fix, and no job repairs it. On 2026-11-12, 2 of 7 plan pull requests (#4472 and #4945) used both rounds while the plan still improved, and stopped with open findings that return the plan. A plan whose count of open findings drops from one review to the next can often pass with one more round.
Proposed Solution & Architectural Design
- A setting
roadmap.stage.verify_repair_rounds(variableDEVOPS_CLI_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDS), default 2,ge=0, andle=CONST_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDS_CEILING(4), asroadmap.stage.gate_returnshas (fix(roadmap): bound the stage gate returns and start no return in a drain #4900). The constantCONST_ROADMAP_STAGE_VERIFY_REPAIR_ROUNDSgoes away. - After the last round of the setting,
StageJob._verifiedgives one more round only while the count of open findings of the last review is strictly lower than the count of the review before it. The check is deterministic and makes no model call. No round goes past the ceiling. - No round starts while the Service drains: the drain guard of fix(roadmap): bound the stage gate returns and start no return in a drain #4925 (
raise_if_service_stops) runs before each repair round. - The line
stage review round:gets a fieldextended=<0|1>, so a person can count the extensions and their results in Loki.k8s/README.mddocuments the field.
Target Subsystem
SDLC, Git & PR Governance (roadmap stage verification).
Existing Tool Considered
No open tool decides the repair rounds of a plan. The change follows the bound of roadmap.stage.gate_returns (#4802, #4900) and reuses the drain guard of #4925. It costs about 300,000 tokens to build and about 3 hours elapsed. #4851 asks for a model-based fixable check for the gate returns, and #4866 for the review; this item is the deterministic part for the review rounds.
Acceptance Criteria
- A test: the setting sets the count of repair rounds, and the settings load refuses a value above the ceiling.
- A test: a review whose open count drops after the last round gets one more round, and one whose open count stays the same gets none.
- A test: no item gets more review rounds than the ceiling.
- A test: no repair round starts after the Service stops.
- A test: the line
stage review round:names each extended round.
Dependencies
- fix(roadmap): stage returns every open review finding to the planner #5059 (each open finding returns the plan), so the open count is the count that returns the plan.
- Related: feat(roadmap): extend stage gate returns while the plan improves #4851 and feat(roadmap): stage review findings run the fixable check #4866.
Activity
dan-petty commentedon Nov 12, 2026
Both extend repair rounds in the stage review, but #4866 uses a model-based fixable check while this candidate uses a deterministic open-count-drop check.devops-cli-service commentedon Nov 12, 2026
Released in v0.119.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.119.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 15:46 UTC