Repository navigation
Description
Problem or Motivation
The stage eval replay reads only names of files. CaseFacts in src/devops_cli/roadmap/stage_eval_cases.py holds tracked and capabilities, and facts.json holds no file text. A gate that reads a value from a staged file cannot run on the golden set. The constant gate planned for #3308 therefore has no recorded case, and devops roadmap eval stage --replay cannot show that it refuses a wrong claim.
The plan for #3308 adds an optional constants field to CaseFacts, but no case records a value. A new gate can pass the unit tests and still have no coverage in the replay that the stage job uses to judge its own rules.
Proposed Solution & Architectural Design
- Record in each
tests/fixtures/roadmap_eval/stage/<case>/facts.jsonthe constants that the case plan cites, with their values at the case base commit. - Add a case whose plan states a wrong constant value, with a defect of type
otherand gatepaths, and the message that the check must give. - Make
devops roadmap eval stage --record(or the recorder that builds a case) store the constants that the plan cites, so a new case holds the values without a hand edit. - Add a test in
tests/roadmap/test_roadmap_stage_eval_gates.pythat replays the new case and asserts the defect. - Document the new field in the
stage_eval_casesmodule docstring and indocs/roadmap/eval.md, if that document exists.
Target Subsystem
SDLC, Git & PR Governance
Existing Tool Considered
No open tool records the constants of a plan case. The change uses the existing case loader and the replay, and adds no dependency. Estimated cost: 6,000 tokens to build, 1,500 tokens per month to keep and fix, and 1 elapsed day.
Source: #3329
Alternatives check of 2026-11-06: none.
Tool: none found.
Proposed design
Problem statement
The stage eval replay reads a case's facts.json, but no recorded case holds a constant value, so the constants gate (ProposalGate.CONSTANTS, which the replay runs through its paths gate) has no recorded case. The change records SUMMARY_MAX_CHARS = 60 in a new case whose plan states 40, adds a replay test, and documents the constants field. The recorder that the issue also asks for does not exist in the repository, so it is deferred.
Acceptance criteria
Requirement: The loader reads a recorded constant
CaseFacts SHALL read the constants entry of a case's facts.json as name and integer value pairs, and SHALL give an empty tuple when the entry is absent or empty.
Scenario: A case records a constant
- WHEN the loader reads a case whose
facts.jsonholds"constants": [["SUMMARY_MAX_CHARS", 60]] - THEN
CaseFacts.constantsequals(("SUMMARY_MAX_CHARS", 60),)and the loader raises no error
Requirement: A case records the constant of its plan
A stage eval case whose plan states a constant value SHALL record that constant's name and its value at the case base commit in the case's facts.json.
Scenario: The new case records the summary limit
- WHEN the loader reads the new case whose plan states
SUMMARY_MAX_CHARSis 40 - THEN
CaseFacts.constantsholdsSUMMARY_MAX_CHARSwith the value 60 thatsrc/devops_cli/roadmap/pull_form.pyassigns at the case base commit
Requirement: The replay catches the wrong constant
The stage eval replay SHALL report the new case's wrong constant as one defect of type other with gate paths and the constants message that names the constant, the recorded value and the stated value.
Scenario: The plan states a wrong constant value
- WHEN the replay runs the new case whose plan states
SUMMARY_MAX_CHARSis 40 and whosefacts.jsonrecords 60 - THEN the replay reports exactly one defect with status
caught, typeother, gatepaths, and the messageSUMMARY_MAX_CHARS is 60 in the staged tree, but the plan says 40.
Requirement: The new case joins the golden set
The new case SHALL live under tests/fixtures/roadmap_eval/stage/ with case.json, issue.txt, plan.json and facts.json, so that load_cases reads it.
Scenario: The golden set loads the new case
- WHEN
load_casesreadstests/fixtures/roadmap_eval/stage/ - THEN the new case is in the returned list, its verdict is not
good, and its one defect is judged
Requirement: The count test holds the new case
The golden-set count test SHALL count the new case, and its pull SHALL already be in EVALUATED_PULLS or be added to it.
Scenario: The set count includes the new case
- WHEN the count test loads the golden set
- THEN the test asserts 59 cases and
EVALUATED_PULLSholds the new case's pull
Requirement: The docstring documents the field
The stage_eval_cases module docstring and the CaseFacts docstring SHALL document the constants field and its empty default.
Scenario: The docstring names the field
- WHEN a reader opens the
stage_eval_casesmodule docstring - THEN the docstring names
constantsand states that it defaults to an empty tuple
Existing Tool Considered
No open, maintained tool records the constants that a plan cites into this project's per-case facts.json. The nearest is the open, maintained syrupy pytest snapshot plugin (https://github.com/syrupy-project/syrupy): it records computed values in __snapshots__ files, but it has no typed per-case facts.json, no reader for a constant's value at a base commit, and no replay gate, so it cannot cover the need. The repository already holds the pieces that do: staged_constants at src/devops_cli/roadmap/stage/stage_constants.py:229 reads the value at a commit, and CaseFacts.constants at src/devops_cli/roadmap/stage/stage_eval_cases.py:178 carries it. The change uses the existing case loader and replay and adds no dependency. The issue estimates 6,000 tokens to build, 1,500 tokens per month to keep and fix, and 1 day elapsed for the whole item; with the recorder deferred, the remaining case, test and docstring cost about 3,000 tokens to build, about 500 tokens per month to keep and fix, and about 2 hours elapsed.
Key questions
- Where does the stage eval case loader define a case's facts?:
CaseFactsatsrc/devops_cli/roadmap/stage/stage_eval_cases.py:168. [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py:168] - Which fields does
CaseFactshold?:tracked,capabilities,search_evidence,manifest_references,constants,models,traceandreferences.constantsistuple[tuple[str, int], ...] = (). [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py:168, src/devops_cli/roadmap/stage/stage_eval_cases.py:174, src/devops_cli/roadmap/stage/stage_eval_cases.py:176, src/devops_cli/roadmap/stage/stage_eval_cases.py:178] - Which test files cover
CaseFactsand the stage gates?:tests/roadmap/stage/test_roadmap_stage_eval_cases.pyandtests/roadmap/stage/test_roadmap_stage_eval_gates.py. The body gives the second path without thestage/segment. [sources: tests/roadmap/stage/test_roadmap_stage_eval_cases.py, tests/roadmap/stage/test_roadmap_stage_eval_gates.py] - Does a constants gate exist in the repository?: Yes.
ProposalGate.CONSTANTSatsrc/devops_cli/roadmap/stage/stage_change.py:2232runsconstant_problemsatsrc/devops_cli/roadmap/stage/stage_constants.py:257; the replay runs it through_path_gate, which passesplan.constantstocheck_proposalatsrc/devops_cli/roadmap/stage/stage_eval_gates.py:221.CHANGELOG.mdrecords the gate of fix(roadmap): the constants gate reads only a stated value #5042 and fix(roadmap): the constants gate reads 6_500 and no new value #5080. [sources: src/devops_cli/roadmap/stage/stage_change.py:2232, src/devops_cli/roadmap/stage/stage_constants.py:257, src/devops_cli/roadmap/stage/stage_eval_gates.py:221, CHANGELOG.md:79] - How does
CaseFactscarry constants and keep the recorded cases valid?: Keep the existingconstants: tuple[tuple[str, int], ...] = ()atsrc/devops_cli/roadmap/stage/stage_eval_cases.py:178. The empty default keeps every recorded case valid, andPlanUnderTest.of_casereadsdict(case.facts.constants)atsrc/devops_cli/roadmap/stage/stage_eval_gates.py:145. (best practice) [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py:178, src/devops_cli/roadmap/stage/stage_eval_gates.py:145]- Chosen: Keep the tuple of name and integer value pairs with an empty default. The field already exists, the 58 recorded cases keep their shape, and only a case that names a constant records one.
- Rejected: Replace the tuple with a mapping. The mapping would change the model and every consumer, including
PlanUnderTest.of_caseatsrc/devops_cli/roadmap/stage/stage_eval_gates.py:145. - Rejected: A separate file for each case's constants. The loader reads one
facts.jsonfor a case, so a second file adds a path to load and to record.
- How does the recorder fill the constants of a case?: No recorder exists:
devops roadmap eval stagehas no--recordoption, and no code writesfacts.json. Record the new case by hand from the base commit using the existingstaged_constantsreader, and defer the recorder to a new issue. (best practice) [sources: src/devops_cli/commands/roadmap_eval_stage.py:109, src/devops_cli/roadmap/stage/stage.py:1923, src/devops_cli/roadmap/stage/stage_constants.py:229]- Chosen: Record the new case by hand from the base commit. The value comes from the existing
staged_constantsreader, so it matches the commit that the case replays, and the rest of the issue needs no new command. - Rejected: Build a recorder now. The command has no
--recordoption and the repository has no case builder; a recorder is a separate command feature and is deferred. - Rejected: Ask the model to state the values. A model can state a wrong value, and the case would record it as the truth.
- Chosen: Record the new case by hand from the base commit. The value comes from the existing
- How does a case store a constant's value?: As an integer in the existing
tuple[tuple[str, int], ...]. A file's6_500records as6500, andconstant_problemscompares integers. (best practice) [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py:178, src/devops_cli/roadmap/stage/stage_change.py:2370, src/devops_cli/roadmap/stage/stage_constants.py:257, CHANGELOG.md:79]- Chosen: An integer, as the existing model holds it.
CaseFacts.constantsandconstant_problemsalready use integers, and the gate reads6_500as 6500 after fix(roadmap): the constants gate reads 6_500 and no new value #5069. - Rejected: Text, as the file writes it. Text would change
CaseFactsandconstant_problems, which takesMapping[str, int], and the gate compares numbers.
- Chosen: An integer, as the existing model holds it.
- Which defect type and gate does the wrong-value case record?: Type
other, gatepaths, with the messageSUMMARY_MAX_CHARS is 60 in the staged tree, but the plan says 40.The replay'spathsgate ischeck_proposal, which runsProposalGate.CONSTANTS;_statusreads the recorded gate and_explainsrequires the message. (best practice) [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py:84, src/devops_cli/roadmap/stage/stage_eval_cases.py:99, src/devops_cli/roadmap/stage/stage_eval_gates.py:206, src/devops_cli/roadmap/stage/stage_eval_gates.py:221, src/devops_cli/roadmap/stage/stage_eval_gates.py:417, src/devops_cli/roadmap/stage/stage_eval_gates.py:430, src/devops_cli/roadmap/stage/stage_constants.py:277, src/devops_cli/lang/en/messages.py:4560]- Chosen: Type
otherand gatepaths. The issue states this pair, and_path_gatereturns the constants problem while_statusjudges the recorded gate and_explainsholds the message. - Rejected: A new
constantsgate name.GateNamehas noconstantsmember andGATEShas no constants gate; the replay'spathsgate is the one that runscheck_proposal. - Rejected: Type
false_premise. The constants gate catches a wrong stated value, not a false premise, and the recorded type must match the gate's defect type.
- Chosen: Type
- Which constant and value does the new case record?:
SUMMARY_MAX_CHARSwith the value 60, and the plan states 40. The constant is defined atsrc/devops_cli/roadmap/pull_form.py:40, and the gate's spec scenario already uses this pair. (best practice) [sources: src/devops_cli/roadmap/pull_form.py:40, openspec/specs/roadmap-stage/claims/spec.md:31, src/devops_cli/lang/en/messages.py:4560]- Chosen:
SUMMARY_MAX_CHARSwith 60, plan states 40. The constant is a real staged value of 60, and the gate's spec scenario already names this exact mismatch. - Rejected:
CONST_AGENTS_MD_MAX_CHARSwith 6500. The plan does not naturally cite it, and the gate's recorded scenario usesSUMMARY_MAX_CHARS. - Rejected: A new constant. The value must be a constant that the base commit defines, so the gate compares a real staged value.
- Chosen:
- Where does the change document the
constantsfield?: In thestage_eval_casesmodule docstring and theCaseFactsdocstring.docs/roadmap/eval.mddoes not exist. (best practice) [sources: src/devops_cli/roadmap/stage/stage_eval_cases.py:1, src/devops_cli/roadmap/stage/stage_eval_cases.py:168]- Chosen: The module docstring and the
CaseFactsdocstring. The module docstring describesfacts.json, and the class docstring is where a reader looks for the field; both are in the module the issue names. - Rejected: Add
docs/roadmap/eval.md. The file does not exist, and the body makes it conditional on its existence. - Rejected: Only the module docstring. The
CaseFactsdocstring lists the fields and would remain silent aboutconstants.
- Chosen: The module docstring and the
- Does adding the case change the golden-set count test?: Yes.
tests/roadmap/stage/test_roadmap_stage_eval_cases.py:66-71asserts 58 cases, 5 good cases and 53 evaluated pulls. A case that reuses pull 3435 keepsEVALUATED_PULLSat 53 but raises the case count to 59. [sources: tests/roadmap/stage/test_roadmap_stage_eval_cases.py:66, tests/roadmap/stage/test_roadmap_stage_eval_cases.py:70, tests/roadmap/stage/test_roadmap_stage_eval_cases.py:50]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 3, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.It enables replay coverage for a planned gate but does not block a current release.It gives the stage eval replay a way to verify a future constant gate, raising confidence in gate correctness.It requires a new field in CaseFacts, a recorder change, a new fixture, a test, and docs; about one day.Both address constants in the stage eval context, but #3388 adds a structured field to the plan while this candidate records constant values in the eval case fixture for replay testing.devops-cli-service commentedon Nov 3, 2026
Refine cannot set this item to Ready at 6c86ec9 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 6, 2026
Alternatives check: none
Tool: none found
Lacks:
facts.json(CaseFacts.tracked/capabilities) so thatdevops roadmap eval stage --replaycan run a constant gate.constantsfield on the project's ownCaseFactsand for the recorder that builds a stage-eval case to fill it, which is specific to this repository's loader and replay.paths-gate defect, a replay test intests/roadmap/test_roadmap_stage_eval_gates.py, and docs for the field - all inside the existing case loader and replay, with no new dependency.Searches run:
Checked on 2026-11-06. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 12, 2026
Status set to Ready at 8fdeea0 (see proposed design in issue body).
Moved to new items: #5202.
devops-cli-service commentedon Nov 14, 2026
Staged: branch
feat/3390-the-stage-eval-records-the-constants, draft pull request #5677. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these points. They stop no draft, and a person judges them:
otherat tasks (2): The plan raises the golden set to 60 cases and 320 defects but leaves the judged baseline at (82, 319) in the gates test module, so the existing testtest_the_counts_of_each_type_are_the_baseline_that_a_change_of_a_gate_beatsfails at (83, 320). Evidence: "JUDGED_BASELINE: Final[tuple[int, int]] = (82, 319)"otherat tasks (2): The replay command test hard-codes59 case(s), 6 good,82 of 319and{"judged": 82, "known": 319}intests/roadmap/stage/test_roadmap_stage_eval_command.py, a file no group changes, so the new case makes those assertions fail. Evidence: "assert "replay through the gates: 59 case(s), 6 good" in result.output"missing_pathat tasks (1): Group 1 creates the new case but never changestests/fixtures/roadmap_eval/stage/split.json, which must name every case once, sotest_the_golden_set_holds_one_fixed_split_that_covers_each_case_oncefails. Evidence: "assert sorted(split["A"] + split["B"]) == sorted(names)"criterion_droppedat issue (Makedevops roadmap eval stage --record(or the recorder that builds a case) store the constants that the plan cites, so a new case holds the values without a hand edit.): The issue asks for the recorder that stores the constants of a case, but no group builds it: the plan defers it to feat(roadmap): record the constants of a stage eval case #5202 and records the value by hand, so a new case still needs a hand edit. Evidence: "Makedevops roadmap eval stage --record(or the recorder that builds a case) store the constants that the plan cites, so a new case holds the values without a hand edit."verify_format tasks (3): The group changes only the module andCaseFactsdocstrings, but its verify reruns the loader tests, which never read either docstring, so the command does not run the work of the group. Evidence: "uv run devops ci test tests/roadmap/stage/test_roadmap_stage_eval_cases.py"otherat tasks (1): The case.json task names only the type, severity, gate and message of the defect, whileDefectrequireswhere,problemandevidence; a case written as the task says failsload_casesand every test that loads the set. Evidence: "one defect: typeother, severitymajor, gatepaths, with the message"missing_pathat tasks (4): Group 4 regenerates onlydocs/CLI_REFERENCE.md(and names the instruction generator, which does not write it), but the new--recordoption also changes the generated pagedocs/commands/roadmap.md, which lists every option ofdevops roadmap eval stage;uv run devops ci docscompares that page and fails while the plan changes no such file. Evidence: "Regeneratedocs/CLI_REFERENCE.mdwith the instruction generator so the new--recordoption appears"otherat tasks (3): Group 3 moves the pinned totals of the command test but leavesJUDGED_BASELINE = (82, 319)intests/roadmap/stage/test_roadmap_stage_eval_gates.py:56, whichtest_the_counts_of_each_type_are_the_baseline_that_a_change_of_a_gate_beatsasserts at line 281; the new caught defect makes the pair (83, 320), so that test fails. Evidence: "move the totals oftest_the_replay_exits_0_and_lists_what_each_gate_caughtfrom59 case(s), 6 goodto60 case(s), 6 goodand from82 of 319to83 of 320"otherat tasks (1): The group lists only the type, severity, gate and message of the new defect, butDefectrequireswhere,problemandevidencewith no default, so acase.jsonbuilt from this list failsload_casesand the whole golden set stops loading. Evidence: "one defect of typeother, severitymajor, gatepaths, with the messageSUMMARY_MAX_CHARS is 60 in the staged tree, but the plan says 40."otherat tasks (1): Group 1 adds the case and editstests/roadmap/stage/test_roadmap_stage_eval_gates.py, but it never raises that file'sJUDGED_BASELINE = (82, 319)(asserted asreport.judged() == JUDGED_BASELINEat line 281). The new case records one defect that thepathsgate catches, so the whole-set replay gives 83 of 320 and the gates test fails after the case is added; the plan moves the pinned totals only intests/roadmap/stage/test_roadmap_stage_eval_command.py, so group 1's verifyuv run devops ci test tests/roadmap/stage/test_roadmap_stage_eval_gates.pyfails. Evidence: "read_fileoftests/roadmap/stage/test_roadmap_stage_eval_command.pyshows the pinned totals that the new case moves"The runs of the planner and the review made 196 model request(s), and used 15310040 input tokens and 299955 output tokens. The tool calls, in order:
list_files({"directory":"tests/fixtures/roadmap_eval/stage"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":1,"end_line":260})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":168,"end_line":420})read_file({"path":"tests/fixtures/roadmap_eval/stage/3410-the-eval-field-group-is-dropped/facts.json"})search_code({"text":"\"constants\""})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":120,"end_line":240})read_file({"end_line":760,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":650})read_file({"end_line":120,"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":40})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":1,"end_line":120})search_code({"text":"def constant_problems"})read_file({"end_line":300,"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":220})read_file({"path":"tests/fixtures/roadmap_eval/stage/3410-the-eval-field-group-is-dropped/case.json"})search_code({"text":"stage_problem_constant_mismatch"})read_file({"end_line":470,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":330})read_file({"end_line":4920,"path":"src/devops_cli/lang/en/messages.py","start_line":4900})read_file({"path":"tests/fixtures/roadmap_eval/stage/3278-a-plan-that-names-its-own/facts.json"})read_file({"end_line":260,"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":120})search_code({"text":"for case in cases"})read_file({"path":"tests/gate/roadmap_stage_eval_commits.py"})read_file({"path":"tests/invariants/test_roadmap_stage_eval_commits_check.py"})read_spec({"capability":"roadmap-stage-eval"})references({"name":"constants"})read_spec({"capability":"roadmap-stage/claims"})read_file({"path":"openspec/specs/roadmap-stage/claims/spec.md","start_line":1,"end_line":60})read_spec({"capability":"roadmap-stage/claims","requirement":"The replay passes recorded constants"})read_spec({"capability":"roadmap-stage-eval","requirement":"The golden set holds a missed reference hit"})read_spec({"capability":"roadmap-stage-eval","requirement":"The golden set records the reference hits of a case"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/case.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/facts.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/plan.json","end_line":80,"start_line":1})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/issue.txt","end_line":10,"start_line":1})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/plan.json","start_line":230,"end_line":0})search_code({"text":"constant_problems("})read_file({"end_line":2340,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2280})search_code({"text":"def plan_texts"})read_file({"end_line":2450,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2400})read_file({"end_line":1330,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1292})search_code({"text":"def _plan_citation_problems"})read_file({"end_line":2360,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2340})read_file({"end_line":44,"path":"src/devops_cli/roadmap/pull_form.py","start_line":36})read_file({"end_line":650,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":575})read_file({"path":"src/devops_cli/commands/roadmap_eval_stage.py","start_line":60,"end_line":140})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})search_code({"text":"SUMMARY_MAX_CHARS: Final"})search_code({"text":"\"constants\":"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":160,"end_line":185})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":680,"end_line":735})search_code({"text":"constant_problems"})search_code({"text":"def plan_texts"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1292,"end_line":1310})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":55,"end_line":135})read_file({"end_line":168,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":134})read_file({"end_line":265,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":185})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/case.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/facts.json"})search_code({"text":"SUMMARY_MAX_CHARS"})search_code({"text":"caught"})search_code({"text":"class ReplayResult"})search_code({"text":"def replay_case"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":380,"end_line":500})read_file({"end_line":290,"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":220})search_code({"text":"in the staged tree, but the plan says"})search_code({"text":"DefectStatus"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/plan.json","start_line":1,"end_line":30})search_code({"text":"synthetic"})read_file({"path":"tests/fixtures/roadmap_eval/stage/3408-a-plan-restates-the-missing-path-rule/case.json"})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/case.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/facts.json"})search_code({"text":"test_the_set_holds_the_reviewed_plans_and_six_good_ones"})search_code({"text":"SUMMARY_MAX_CHARS: Final"})read_file({"file":"tests/roadmap_eval_placeholder"})read_file({"path":"tests/fixtures/roadmap_eval/stage/3278-a-plan-that-names-its-own/facts.json"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":660,"end_line":725})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":1,"end_line":45})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":160,"end_line":195})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":55,"end_line":85})git_log({"path":"src/devops_cli/roadmap/pull_form.py"})search_code({"text":"def plan_texts"})search_code({"text":"def constant_problems"})git_show({"commit":"a7aacea8","path":"src/devops_cli/roadmap/pull_form.py"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1288,"end_line":1315})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":130,"end_line":240})find_issues({"terms":"stage eval constants"})find_issues({"terms":"roadmap eval stage replay"})read_issue({"number":5202})search_code({"text":"def replay_case"})search_code({"text":"def load_cases"})search_code({"text":"def staged_constants"})read_file({"path":"tests/fixtures/roadmap_eval/stage/3411-a-what-changes-item-that-names/case.json"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":55,"end_line":125})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":125,"end_line":160})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":186,"end_line":235})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/plan.json","start_line":1,"end_line":30})search_code({"text":"SUMMARY_MAX_CHARS"})references({"name":"SUMMARY_MAX_CHARS"})search_code({"text":"\"constants\":"})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":150,"end_line":260})read_file({"path":"src/devops_cli/roadmap/pull_form.py","start_line":25,"end_line":55})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":120,"end_line":260})read_file({"end_line":340,"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":210})read_file({"end_line":720,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":660})search_code({"text":"in the staged tree, but the plan says"})search_code({"text":"def replay_case"})read_file({"end_line":520,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":360})search_code({"text":"def _explains"})search_code({"text":"JUDGED_BASELINE"})search_code({"text":"def _status"})read_spec({})read_file({"end_line":130,"path":"src/devops_cli/commands/roadmap_eval_stage.py","start_line":60})read_file({"end_line":340,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":255})search_code({"text":"def judged"})read_file({"end_line":255,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":220})search_code({"text":"_WAITED_FOR_A_GATE"})read_file({"end_line":150,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":80})read_file({"end_line":540,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":515})references({"name":"SUMMARY_MAX_CHARS"})find_issues({"terms":"5202 recorder constants"})list_files({"directory":"docs/roadmap"})search_code({"text":"constant_problems("})read_spec({"capability":"roadmap-stage-eval"})read_file({"path":"tests/fixtures/roadmap_eval/stage/split.json"})read_file({"end_line":200,"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":100})search_code({"text":"facts.json"})search_code({"text":"split.json"})search_code({"text":"SPLIT"})read_file({"end_line":220,"path":"src/devops_cli/roadmap/stage/stage_screen_eval.py","start_line":170})search_code({"text":"halves("})search_code({"text":"read_split"})search_code({"text":"split"})read_file({"end_line":170,"path":"tests/roadmap/stage/test_roadmap_stage_screen_eval.py","start_line":120})read_file({"end_line":70,"path":"tests/commands/test_roadmap_eval_screen.py","start_line":30})search_code({"text":"319"})search_code({"text":"len(cases) =="})search_code({"text":"case(s)"})search_code({"text":"defects"})read_file({"end_line":100,"path":"tests/roadmap/stage/test_roadmap_stage_eval_command.py","start_line":55})search_code({"text":"of 319"})search_code({"text":"def plan_texts"})search_code({"text":"\"constants\":"})search_code({"text":"synthetic"})read_file({"path":"tests/fixtures/roadmap_eval/stage/3408-a-plan-restates-the-missing-path-rule/case.json"})search_code({"text":"82 of 319"})search_code({"text":"59 case"})read_file({"end_line":1320,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1285})search_code({"text":"golden cases need"})read_file({"end_line":185,"path":"src/devops_cli/commands/roadmap_eval_stage.py","start_line":128})search_code({"text":"def criterion_problems"})search_code({"text":"Acceptance criteria"})read_file({"end_line":225,"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":120})search_code({"text":"docstring"})search_code({"text":"__doc__"})search_code({"text":"class GroupKind"})search_code({"text":"manifest"})read_file({"end_line":520,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":485})search_code({"text":"GroupKind.MANIFEST"})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})search_code({"text":"split.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/split.json"})search_code({"text":"--record"})read_file({"path":"src/devops_cli/commands/roadmap_eval_stage.py"})search_code({"text":"facts.json"})search_code({"text":"def record_case"})search_code({"text":"case.json"})search_code({"text":"constants"})read_file({"path":"src/devops_cli/roadmap/stage/stage_request.py","start_line":60,"end_line":140})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":1,"end_line":200})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":160,"end_line":240})search_code({"text":"def staged_constants"})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":180,"end_line":300})file_symbols({"path":"src/devops_cli/roadmap/stage/stage_constants.py"})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":55,"end_line":95})search_code({"text":"candidate_names("})search_code({"text":"one_fixed_split"})search_code({"text":"SPLIT_FILE"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_screen_eval.py","start_line":110,"end_line":175})read_file({"path":"src/devops_cli/roadmap/stage/stage_screen_eval.py","start_line":175,"end_line":220})list_files({"directory":"tests/roadmap/stage"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":120,"end_line":240})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/case.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/facts.json"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_constants.py","start_line":1,"end_line":120})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":640,"end_line":730})search_code({"text":"def replay_case"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":330,"end_line":470})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":240,"end_line":360})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":55,"end_line":110})search_code({"text":"len(cases) =="})search_code({"text":"== 59"})search_code({"text":"load_cases("})read_file({"path":"tests/invariants/test_roadmap_eval_fixtures.py"})read_file({"path":"tests/commands/test_roadmap_eval_screen.py","start_line":20,"end_line":70})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_command.py","start_line":1,"end_line":130})search_code({"text":"319"})search_code({"text":"82 of"})search_code({"text":"\"judged\""})search_code({"text":"known"})list_files({"directory":"docs"})list_files({"directory":"tests/roadmap/stage"})list_files({"directory":"tests/roadmap/implement"})search_code({"text":"eval_stage_replay"})read_file({"path":"src/devops_cli/commands/roadmap_eval_stage.py","start_line":95,"end_line":200})search_code({"text":"MESSAGES"})search_code({"text":"roadmap.stage_eval"})search_code({"text":"from devops_cli.lang import MESSAGES"})read_spec({"capability":"roadmap-stage/tests-gate","requirement":"A test that holds the name of a module in text is no test of it"})search_code({"text":"stage_eval_record"})search_code({"text":"import MESSAGES"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":660,"end_line":710})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})read_file({"path":"tests/fixtures/roadmap_eval/stage/split.json","start_line":1,"end_line":12})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/case.json"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/facts.json","start_line":1,"end_line":8})git_log({"path":"src/devops_cli/roadmap/pull_form.py"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/facts.json","start_line":1,"end_line":40})read_file({"path":"tests/fixtures/roadmap_eval/stage/3410-the-eval-field-group-is-dropped/case.json"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":60,"end_line":185})read_file({"end_line":4575,"path":"src/devops_cli/lang/en/messages.py","start_line":4545})read_file({"end_line":300,"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":225})search_code({"text":"stage_problem_constant_mismatch"})read_file({"end_line":4916,"path":"src/devops_cli/lang/en/messages.py","start_line":4905})search_code({"text":"lang.en.help import"})search_code({"text":"import HELP"})search_code({"text":"typer.Option(\"--record\""})search_code({"text":"help=\"Write"})search_code({"text":"help=HELP"})list_files({"directory":"tests/invariants"})read_file({"path":"tests/invariants/test_roadmap_eval_fixtures.py"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":60,"end_line":80})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_command.py","start_line":70,"end_line":105})read_file({"end_line":75,"path":"tests/fixtures/roadmap_eval/stage/split.json","start_line":30})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":55,"end_line":80})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_command.py","start_line":60,"end_line":110})search_code({"text":"JUDGED_BASELINE"})read_file({"end_line":295,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":255})read_file({"end_line":720,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":660})read_file({"end_line":200,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":120})read_file({"end_line":300,"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":225})read_file({"end_line":2400,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2340})read_file({"end_line":240,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":110})read_file({"end_line":4570,"path":"src/devops_cli/lang/en/messages.py","start_line":4550})read_file({"end_line":50,"path":"src/devops_cli/roadmap/pull_form.py","start_line":30})read_file({"end_line":520,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":380})search_code({"text":"stage_problem_constant_mismatch"})search_code({"text":"constant_problems("})search_code({"text":"def plan_texts"})read_file({"end_line":1330,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1285})read_file({"end_line":2450,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2400})read_file({"end_line":4925,"path":"src/devops_cli/lang/en/messages.py","start_line":4900})read_file({"end_line":2530,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2445})read_file({"end_line":110,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":1})read_file({"end_line":280,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":200})search_code({"text":"SUMMARY_MAX_CHARS"})read_spec({})search_code({"text":"_WAITED_FOR_A_GATE"})read_spec({"capability":"roadmap-stage-eval"})read_file({"path":"tests/fixtures/roadmap_eval/stage/good-3410-the-stage-gate-proves-a-negative/plan.json"})read_file({"end_line":254,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":240})read_file({"end_line":790,"path":"src/devops_cli/commands/ai_gateway.py","start_line":775})search_code({"text":"stage_finding_classes.json"})search_code({"text":"eval_stage_replay"})search_code({"text":"CLI_REFERENCE.md"})search_code({"text":"eval stage"})search_code({"text":"def dry_run_class"})search_code({"text":"ci docs"})list_files({"directory":"docs/commands"})read_file({"end_line":470,"path":"docs/commands/roadmap.md","start_line":415})search_code({"text":"REGENERATE_DOCUMENTS"})search_code({"text":"instruction generator"})search_code({"text":"from devops_cli.lang.en.messages import"})search_code({"text":"CONST_"})read_file({"end_line":40,"path":"src/devops_cli/roadmap/stage/stage_finding_classes.json","start_line":1})search_code({"text":"gate_for("})search_code({"text":"strata"})search_code({"text":"def read_split"})read_file({"end_line":330,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":296})read_file({"end_line":330,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":236})search_code({"text":"help catalog"})search_code({"text":"MAX_CHARS"})search_code({"text":".state"})search_code({"text":"documentation is up to date"})search_code({"text":"docs_generate"})read_file({"end_line":2400,"path":"src/devops_cli/commands/ci.py","start_line":2330})read_file({"end_line":200,"path":"src/devops_cli/commands/docs.py","start_line":120})search_code({"text":"\"docs\":"})search_code({"text":"def check_docs"})search_code({"text":"commands/"})read_file({"end_line":1440,"path":"src/devops_cli/docs/generator.py","start_line":1340})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":330,"end_line":380})search_code({"text":"319"})search_code({"text":"59 case"})list_files({"directory":"docs"})search_code({"text":"--replay"})read_file({"path":"docs/commands/roadmap.md","start_line":415,"end_line":450})search_code({"text":"docs/commands"})search_code({"text":"REGENERATE_DOCUMENTS"})search_code({"text":"docs generate"})search_code({"text":"CONST_DOCS_INVENTORY"})search_code({"text":"docs/commands/roadmap.md"})search_code({"text":"roadmap eval stage"})read_file({"path":"docs/CLI_REFERENCE.md","start_line":1,"end_line":40})read_spec({"capability":"roadmap-stage/task-groups","requirement":"A documentation task runs the regeneration step for a command change"})list_files({"directory":"tests/fixtures/roadmap_eval/stage"})read_file({"path":"docs/commands/roadmap.md","start_line":400,"end_line":470})read_file({"path":"docs/CLI_REFERENCE.md","start_line":1,"end_line":40})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":220,"end_line":300})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":4545,"end_line":4575})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":100,"end_line":240})search_code({"text":"stage_problem_constant_mismatch"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":255,"end_line":275})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":4900,"end_line":4925})read_file({"path":"src/devops_cli/commands/ai_gateway.py","start_line":770,"end_line":795})search_code({"text":"docs generate"})search_code({"text":"CLI_REFERENCE.md"})search_code({"text":"JUDGED_BASELINE"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":640,"end_line":760})search_code({"text":"def existing_test_problems"})search_code({"text":"from devops_cli.lang.en.messages import"})read_file({"end_line":720,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":600})search_code({"text":"stage_finding_classes"})read_file({"end_line":40,"path":"src/devops_cli/roadmap/stage/stage_finding_classes.json","start_line":1})search_code({"text":"FINDING_CLASSES"})search_code({"text":"finding_classes"})search_code({"text":"stage_finding_classes.json"})search_code({"text":"finding_classes.json"})search_code({"text":"least_samples"})list_files({"directory":"tests/roadmap/stage"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan_record_facts.py","start_line":1,"end_line":80})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan_record.py","start_line":1,"end_line":80})search_code({"text":"facts.json"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":160,"end_line":240})read_file({"end_line":120,"path":"tests/roadmap/stage/test_roadmap_stage_eval_facts_context.py","start_line":1})search_code({"text":"def load_cases"})read_file({"end_line":260,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2180})read_file({"end_line":2200,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2140})search_code({"text":"def check_proposal"})search_code({"text":"def check_gates"})read_file({"end_line":2500,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2380})read_file({"end_line":470,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":240})search_code({"text":"gate_for("})read_file({"end_line":330,"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":240})search_code({"text":"SUMMARY_MAX_CHARS"})read_file({"end_line":200,"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":60})search_code({"text":"eval_stage_replay"})search_code({"text":"HELP.roadmap"})read_file({"end_line":160,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":100})read_file({"end_line":50,"path":"src/devops_cli/roadmap/pull_form.py","start_line":30})search_code({"text":"SUMMARY_MAX_CHARS"})read_file({"end_line":60,"path":"src/devops_cli/roadmap/stage/stage_eval_render.py","start_line":1})references({"name":"SUMMARY_MAX_CHARS"})read_file({"end_line":60,"path":"tests/roadmap/stage/test_stage_run_allowlist.py","start_line":1})read_file({"end_line":470,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":434})read_file({"end_line":105,"path":"tests/roadmap/stage/test_roadmap_stage_eval_command.py","start_line":70})read_file({"end_line":2235,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2220})read_file({"end_line":130,"path":"src/devops_cli/commands/roadmap_eval_stage.py","start_line":105})search_code({"text":"\"docs\""})search_code({"text":"82 of 319"})search_code({"text":"59 case"})search_code({"text":"lacks the history that the golden cases need"})search_code({"text":"golden-base-commits"})read_file({"end_line":90,"path":"tests/gate/roadmap_stage_eval_commits.py","start_line":1})search_code({"text":"REGENERATE_DOCUMENTS"})read_file({"end_line":100,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":95})Tool calls: file_symbols=1 (empty=0), find_issues=3 (empty=0), git_log=2 (empty=0), git_show=1 (empty=0), list_files=17 (empty=0), read_file=173 (empty=0), read_issue=1 (empty=0), read_spec=11 (empty=0), references=4 (empty=0), search_code=152 (empty=6)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
18 remaining items
feat(roadmap): Hold the new case in the golden-set count test (#3390)
feat(roadmap): Move the pinned replay totals of the command (#3390)
feat(roadmap): Record the constants of a case with --record (#3390)
feat(roadmap): Document the constants field of a case (#3390)
docs(openspec): archive #3390 Record the constants of a stage eval case
feat(roadmap): Move the pinned replay totals of the command (#3390)
feat(roadmap): Record the constants of a case with --record (#3390)
feat(roadmap): Document the constants field of a case (#3390)
docs(openspec): archive #3390 Record the constants of a stage eval case
devops-cli-service commentedon Nov 15, 2026
Released in v0.154.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.154.0
devops-cli-service commentedon Nov 15, 2026
Live since 2026-11-15 15:09 UTC