Repository navigation
Description
Problem or Motivation
devops roadmap eval stage --replay on main (0.44.0) lists defects that "wait for a gate" for gates that have since merged: ignores_existing_code 23 (#3012), verify_form 12 (#3015), spec_delta_wrong 24 (#3013) and task_order 8 (#3017). That is 67 of 299 labeled defects. The checks exist inside check_proposal now, but PENDING_GATES in stage_eval_gates.py still lists the types, and the case.json fixtures mark most of those defects pending. The replay therefore says "every gate refuses what it must refuse" while it measures nothing for a fifth of the defects. The merged changes moved only the few defects that their own tests needed (for example the plan of #2977 for spec_delta_wrong). A change to a gate cannot state a before and after score for the rest.
Proposed Solution & Architectural Design
- For each type in
PENDING_GATESwhose check now exists, run the replay with the gate set topaths(or the right gate), and mark each defectCAUGHTorMISSED. A defect the check cannot catch from a recorded plan (the check needs the live staged tree or a model) gets the gatenone, with a note, notpending. - Remove the types from
PENDING_GATESonce none of their defects waits. The test that fails when "a defect waits for a gate that exists now" then covers them. - Print the count of caught and missed defects for each type in the replay report, and the share of all 299 defects that the gates judge. Today it is 60 of 299.
- Keep the
goodplans passing: every gate must still accept the 3 good plans. - Do not invent plans. A recorded
plan.jsonstays as it was; only the labels of defects change.
Open questions for the refine step: which defects of ignores_existing_code and task_order can a recorded plan show without the tree (the facts file holds a thinned tree, so some cannot); and whether the gate for verify_form should be separate from paths, because check_proposal runs all the rules as one gate.
Target Subsystem
src/devops_cli/roadmap/stage_eval_gates.py, tests/fixtures/roadmap_eval/stage/*/case.json, tests/roadmap/test_roadmap_stage_eval_gates.py.
Existing Tool Considered
The replay already exists; this issue only updates labels and the pending list. No tool relabels fixtures. Cost to build: about 40k tokens and 2 hours, mostly to review the replay result for each type. To keep: nothing new.
Related: #3012, #3013, #3015, #3017, #3019, and the issue to score the pipeline with a cloud model (test(roadmap): score the stage pipeline with a cloud model first).
Activity
devops-cli-service commentedon Nov 2, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
testprefix of the title gives the type.(roadmap)scope of the title gives the scope.The replay reports 67 of 299 defects as waiting for gates that already exist, which misleads the team but does not block production.Accurate replay results let the team trust the gate coverage numbers and track regressions per defect type.The body estimates about 2 hours and 40k tokens, mostly reviewing replay output per type.Both work on the stage eval replay under tests/fixtures/roadmap_eval/stage/, but #3028 creates the golden set and scoring command while this candidate updates the replay labels and PENDING_GATES list.