Repository navigation
Description
Problem or Motivation
The golden set of the roadmap stage has no case for the defect that #3427 adds a rule for: a group whose verify runs a test module that the group does not name in changes, creates or reads. DefectType in src/devops_cli/roadmap/stage_eval_cases.py has no such type, and no recorded case.json labels it. A regression of the new rule would not fail the replay, because only the unit test of form_problems checks it.
Evidence
At main 1efa0578, I applied the rule of PR #3440 and ran uv run devops ci test tests/roadmap/test_roadmap_stage_eval_gates.py. The replay refused 30 groups in 25 plans, and only the good-2491-a-refused-jwt-exchange-of-the plan was a good verdict. Examples: group 1 of 2576-a-token-that-argo-cd-refuses gives uv run devops ci test tests/test_argo_credentials.py and names no such path, and groups 1 to 5 of 2949-a-failed-alternatives-check-skips-its give uv run devops ci test tests/test_roadmap_alternatives.py and name no such path. No case.json holds a defect of this type.
Proposed Solution & Architectural Design
- Add
VERIFY_TEST = "verify_test"toDefectTypeinsrc/devops_cli/roadmap/stage_eval_cases.py. - Label one recorded case that the rule refuses, with the group, the command and the module, and record its evidence. Use
gate: paths, becausecheck_proposalholds the rule and thepathsgate runs it. The case2576-a-token-that-argo-cd-refusesis a candidate; a newrejectcase is the other option. - Add the case path to the replay test, or keep it in the recorded set. Run
uv run devops ci test tests/roadmap/test_roadmap_stage_eval_gates.pyand require no missed defect. - No gate code changes: an existing gate refuses the plan, and the case names the gate.
Target Subsystem
src/devops_cli/roadmap/stage_eval_cases.py, tests/fixtures/roadmap_eval/stage/, tests/roadmap/test_roadmap_stage_eval_gates.py.
Existing Tool Considered
The golden-set replay already runs every gate on every recorded plan, so the change extends it and builds no tool. Written cost: about 1,500 tokens to build, about 200 tokens per year to keep and fix, and about 1 hour elapsed.
Source: #3440
Alternatives check of 2026-11-07: not-applicable.
Class: test, no search.
Tool: none found.
Proposed design
Problem statement
The golden set of the roadmap stage has no case for a verify command that runs a test module which the group does not name. The rule of #3427 refuses that plan, and the paths gate catches it as verify_form. Only the unit test of form_problems checks the rule, so a regression of the rule does not fail the replay. The change labels the recorded case 2576-a-token-that-argo-cd-refuses with a verify_form defect and updates the replay baselines. The item adds no DefectType value and waits on #3463, which adds the membership rule.
Acceptance criteria
Requirement: No new defect type
The change SHALL add no value to DefectType for the unnamed verify test.
Scenario: The enum keeps its values
- WHEN A test reads the values of
DefectType - THEN No value is
verify_test, andDefectType.VERIFY_FORMhas the valueverify_form.
Requirement: Recorded case holds the verify-form defect
The case 2576-a-token-that-argo-cd-refuses SHALL hold one verify_form defect with the gate paths.
Scenario: The case loads
- WHEN The golden set loads the case
2576-a-token-that-argo-cd-refuses - THEN The case holds one
verify_formdefect, itswherenames group 1, and itsmessagenames the moduletests/test_argo_credentials.py.
Requirement: Replay catches the unnamed verify test
The replay SHALL report the recorded verify_form defect as caught by the paths gate.
Scenario: The case replays
- WHEN
replay_caseruns on the case2576-a-token-that-argo-cd-refuses - THEN The outcome of its
verify_formdefect isDefectStatus.CAUGHT, andreplay.failuresis empty.
Requirement: Replay fails when the rule stops refusing
The replay SHALL report the defect as missed when the form rule stops refusing the unnamed verify test.
Scenario: The rule is disabled
- WHEN A test replaces
form_problemswith a function that returns no problem - THEN The replay reports a missed
verify_formdefect, andreplay.failuresholds one failure for that defect.
Requirement: Baseline counts the new defect
The replay baseline SHALL count one more caught verify_form defect.
Scenario: The baseline runs
- WHEN The replay runs on the whole recorded set
- THEN The
VERIFY_FORMrow ofby_typeholds one more caught defect than the pinned value before the change,judged()holds one more caught and one more judged defect, and the replay reports no failure.
Requirement: The gate set stays the same
The change SHALL add no gate to GATES.
Scenario: The gate set is read
- WHEN A test reads the gate names of
GATES - THEN The gate names are the same as the gate names before the change.
Existing Tool Considered
The alternatives check of 2026-11-07 gave not-applicable (class test, no search) and found no tool. The golden-set replay of the roadmap stage covers the need: it runs every gate on every recorded plan, and the change adds one labeled case to it. The change builds no tool. Written cost: about 1,500 tokens to build, about 200 tokens per year to keep and fix, and about 1 hour elapsed.
Key questions
- Does
DefectTypehold a type for the form of averifycommand that runs a test module the group does not name?: Yes.DefectType.VERIFY_FORMhas the valueverify_form. Thepathsgate returns the problems ofcheck_proposal, which holds the form checks, and the replay test of that gate usesVERIFY_FORM. The case uses this type, so the change adds no value. [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py, src/devops_cli/roadmap/stage/stage_eval_gates.py, tests/roadmap/stage/test_roadmap_stage_eval_gates.py] - Which defect type should the unnamed verify test use?:
DefectType.VERIFY_FORM. The type exists, and thepathsgate catches it. The change adds noDefectTypevalue. (best practice) [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py, src/devops_cli/roadmap/stage/stage_eval_gates.py]- Chosen: DefectType.VERIFY_FORM. The type exists, and the paths gate already catches recorded defects of it.
- Rejected: A new DefectType.VERIFY_TEST. It duplicates VERIFY_FORM, and it needs a new enum value, a baseline row and a coverage-set entry.
- Rejected: DefectType.OTHER with the gate none. No gate judges it, so the replay cannot fail on the rule.
- Which gate should the new defect name?:
paths. Thepathsgate runscheck_proposalon the recorded plan, andcheck_proposalholds the form rule that refuses the plan. (best practice) [sources: src/devops_cli/roadmap/stage/stage_eval_gates.py]- Chosen: The paths gate. It runs check_proposal, which holds the form rule that refuses the plan.
- Rejected: The content gate. It checks placeholder texts and the build cost, not the verify form.
- Rejected: The none gate. A gate refuses the plan, so a reviewer is not the only judge.
- Which recorded case should hold the defect?:
2576-a-token-that-argo-cd-refuses. Group 1 givesuv run devops ci test tests/test_argo_credentials.pyand names no such path, so the rule refuses the plan. (best practice) [sources: tests/fixtures/roadmap_eval/stage/2576-a-token-that-argo-cd-refuses/plan.json]- Chosen: The existing case 2576. It holds the refused verify command and needs one defect record.
- Rejected: A new reject case. It adds a plan, facts and issue text that the existing case already holds.
- Which replay baselines change when the case gains its defect?: The pinned counts in
tests/roadmap/stage/test_roadmap_stage_eval_gates.pychange. TheVERIFY_FORMrow ofby_typegains one caught defect, and the counts ofjudged()each gain one. [sources: tests/roadmap/stage/test_roadmap_stage_eval_gates.py] - When can the labeled case land?: After the membership rule for the test module that a
verifyruns is on the default branch.stage_form.pyon the default branch holds no such check, and pull request fix(roadmap): refuse a behavior verify that runs no test #5684 (item fix(roadmap): refuse a behavior group verify that runs no test #3463) adds it and is in draft. The item waits on fix(roadmap): refuse a behavior group verify that runs no test #3463. (best practice) [sources: src/devops_cli/roadmap/stage/stage_form.py]- Chosen: Wait for the membership rule of fix(roadmap): refuse a behavior group verify that runs no test #3463 (pull request fix(roadmap): refuse a behavior verify that runs no test #5684). A defect that names a gate which does not refuse it is MISSED, and the replay fails.
- Rejected: Label the case now. The default branch holds no membership check, so the replay would report a missed defect.
- Rejected: Add the membership rule in this change. The issue forbids gate code changes, and item fix(roadmap): refuse a behavior group verify that runs no test #3463 delivers the rule.
Fit
Fits in one pull request.
Suspected block
None.
Activity
dan-petty commentedon Nov 4, 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.It protects an existing rule from regression but does not block delivery.It prevents a silent gap in the golden replay that already has unit test coverage.Add one constant, label one case, and run the existing replay test.Both concern the verify gate for an unnamed test; #3427 adds the rule, the candidate adds its golden replay case.devops-cli-service commentedon Nov 4, 2026
Status set to Ready at 7cf8335 (see proposed design in issue body).
devops-cli-service commentedon Nov 4, 2026
The stage job returned the item to New. The premise of the issue does not hold at the staging commit, so the job planned no change and opened no pull request.
Evidence:
placeholder
dan-petty commentedon Nov 4, 2026
This item moves into the plan of #3427, after a plan pull request changes that plan. The labeled case must land with the rule, because a replay fails when a defect names a gate that does not refuse it yet. A comment on #3427 lists the edit.
The new enum value of this item and of its refine block is not necessary.
DefectType.VERIFY_FORMexists (src/devops_cli/roadmap/stage_eval_cases.py:83).src/devops_cli/ai/tasks/roadmap_stage_verify.md:12defines it as a command that does not run the work of the group. Thepathsgate already judges 6 defects of that type. So the baselines change underVERIFY_FORM, and the(1, 0, 0)row forVERIFY_TESTgoes.Keep this item open until that pull request merges, and then end it as not planned, with a link to the pull request. If a job already holds #3427 at that time, keep this item open as a follow-up. This item has no change folder, so no cleanup is necessary.
The stage comment of 2026-11-04T16:48Z gave the evidence
placeholder, which is no finding.16 remaining items
devops-cli-service commentedon Nov 15, 2026
Stopped at fix.
Failed check:
strength. The end of its log:Failure class:
limit_reached.Action taken: none.
Action left:
raise_limit: raise the limit that the run went over.pytest on base: tests/roadmap/stage/test_roadmap_stage_eval_command.py, tests/roadmap/stage/test_roadmap_stage_eval_gates.pystrengthReason:
Last message of the agent (a claim that no check verified): none.
The item is Blocked, and the job will not run it. Fix the cause. Then comment
implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits ofroadmap.implement.digest_clears_per_classandroadmap.implement.digest_clears_per_itemallow it.The job kept the commits that passed on the branch
test/3464-hold-a-golden-case-for-aon origin. The last iseb3676561673b468ba7fa0eb1a9a9fed9331f309. The pull request stays a draft. The next run continues from it, runs no group that is ticked, and runs the scoped checks again.devops-cli-service commentedon Nov 15, 2026
The runner Job devops-cli-implement-devops-cli-3464-8bc3e2 ended: succeeded.
Image digest: sha256:6a0bd6cf95b1b397f71a246f2853dcb18289ff989bee86ccf941ec8ec8cc260f
The last lines of its log:
test(roadmap): Label the unnamed verify test of case 2576 and move th…
docs(openspec): archive the change (#3464)
chore(k8s): generous token budgets for the implement job (#5972)