Repository navigation
Description
Problem or Motivation
The plan check reads constant claims from prose. This is brittle in two ways. A sentence with two numbers is skipped as ambiguous, so a plan can write a wrong bound beside a note number and pass. A plan can also give an existing bound a new name, as PLAN_SUMMARY_MAX_CHARS = 47 did in PR #3260, and the check skips it because the staged tree defines no such name. The model must then remember the prompt rule, and the check cannot compare the claim.
A structured claim gives the check one number, one name and no prose to parse.
Proposed Solution & Architectural Design
- Add
constant_claims: list[StageConstantClaim]toStageProposalinsrc/devops_cli/roadmap/stage_change.py. Each entry hasnameandvalue. - Add the key to
src/devops_cli/ai/tasks/roadmap_stage_change.mdunder the reply keys, and tell the model to list each constant that the plan relies on with its staged value. - In
check_proposal, compare each claim with the staged value thatstaged_constantsreads withgit grep,git showandast. Keep the prose scan only as a fallback when the list is empty, so an older reply still works. - Refuse a claim that names a value the tree does not define, and name the constant and the staged value in the message.
- Add tests in
tests/roadmap/test_roadmap_stage_constants.pyandtests/roadmap/test_roadmap_stage_plan.py, and update the prompt key test intests/roadmap/test_roadmap_stage_prompt_rules.py.
Target Subsystem
SDLC, Git & PR Governance
Existing Tool Considered
No open tool compares a plan constant with a staged Python constant. The change reuses the ast reader and the git grep and git show pattern of src/devops_cli/roadmap/stage_probe.py, and adds no dependency. Estimated cost: 12,000 tokens to build, 3,000 tokens per month to keep and fix, and 1 to 2 elapsed days.
Source: #3329
Dependencies
- chore(roadmap): hold incremental stage and implement work #6521 (hold: incremental work on the stage, implement and fix-checks jobs waits for the re-architecture)
Alternatives check of 2026-11-06: none.
Tool: none found.
Proposed design
Problem statement
The stage plan states its constant claims in prose. The plan check skips a sentence with two numbers, so a wrong bound can pass. It also skips a new name for an existing bound, as PLAN_SUMMARY_MAX_CHARS = 47 did. This item adds constant_claims to the stage reply and compares each claim with the staged value.
Acceptance criteria
Requirement: The stage reply holds structured constant claims
StageProposal SHALL hold constant_claims, a list of StageConstantClaim entries that each give a constant name and an integer value.
Scenario: A reply with one claim
- WHEN A reply gives
constant_claimswith the nameBODY_MAX_CHARSand the value 800 - THEN The validated proposal holds one entry, and the entry keeps the name
BODY_MAX_CHARSand the value 800
Requirement: A claim name is a Python identifier
StageConstantClaim MUST refuse a name that is not a Python identifier.
Scenario: A name with a hyphen
- WHEN A reply gives the claim name
BODY-MAX - THEN Validation raises an error for
constant_claims
Requirement: The claim list defaults to empty
StageProposal MUST give constant_claims an empty list when a reply omits the key.
Scenario: A reply with no claim list
- WHEN A reply gives no
constant_claims - THEN The validated proposal holds an empty
constant_claimsand no validation error
Requirement: The prompt lists the claim key
The stage prompt SHALL list constant_claims among the reply keys and state that the plan lists each constant it relies on with its staged value.
Scenario: The prompt key test
- WHEN The test reads the reply keys of
src/devops_cli/ai/tasks/roadmap_stage_change.md - THEN The keys equal the fields of
StageProposal, andconstant_claimsis one of them
Requirement: The prompt states which constants a claim names
The stage prompt SHALL state that a claim names a constant that the staged tree defines, and that a constant the plan creates is no claim.
Scenario: The prompt claim rule
- WHEN The test reads the text of
src/devops_cli/ai/tasks/roadmap_stage_change.md - THEN The text holds the sentence that a claim names a constant of the staged tree and that a constant the plan creates is no claim
Requirement: A correct claim passes
check_proposal SHALL return no constant-claim problem for a claim whose value equals the staged value.
Scenario: A claim with the staged value
- WHEN The plan claims
BODY_MAX_CHARSis 800 and the staged value is 800 - THEN No problem names
BODY_MAX_CHARS
Requirement: A wrong claim is refused
check_proposal SHALL refuse a claim whose value differs from the staged value, and the message SHALL name the constant and the staged value.
Scenario: A claim with another value
- WHEN The plan claims
BODY_MAX_CHARSis 900 and the staged value is 800 - THEN One problem names
BODY_MAX_CHARSand800
Requirement: A claim with no staged definition is refused
check_proposal SHALL refuse a claim whose name the staged tree defines as no module-level integer literal, and the message SHALL name the constant.
Scenario: An invented name
- WHEN The plan claims
PLAN_SUMMARY_MAX_CHARSis 47 and the staged reader finds no such module-level integer literal - THEN One problem names
PLAN_SUMMARY_MAX_CHARS
Requirement: The prose scan runs when the claim list is empty
check_proposal SHALL run the existing prose scan of constant claims only when constant_claims is empty.
Scenario: A reply with no claim list and a prose claim
- WHEN A reply gives no
constant_claimsand states a constant claim in prose - THEN
check_proposalreturns the prose problem for that text
Requirement: A claim list suppresses the prose scan
check_proposal SHALL return no prose problem for a reply that gives constant_claims.
Scenario: A reply with a claim list and a prose claim
- WHEN A reply claims
BODY_MAX_CHARSis 800 and its prose holds a sentence with two numbers - THEN
check_proposalreturns no prose problem for that sentence
Requirement: The replay judges no claim
check_proposal SHALL judge no constant claim when the caller gives no staged values.
Scenario: A caller with no staged values
- WHEN
check_proposalruns with noconstantsargument on a plan that claimsBODY_MAX_CHARSis 900 - THEN No problem names
BODY_MAX_CHARS
Requirement: The claim model has one home
StageConstantClaim SHALL live in src/devops_cli/roadmap/stage/stage_change.py beside StageProposal.
Scenario: The import of the claim model
- WHEN A test imports
StageConstantClaimfromdevops_cli.roadmap.stage.stage_change - THEN The import succeeds, and the staged-constant reader module holds no
StageConstantClaim
Requirement: The stage job passes the staged values
The stage job SHALL pass the staged values that the reader gives to check_proposal.
Scenario: A plan with a wrong claim
- WHEN The stage job plans an item whose reply claims
BODY_MAX_CHARSis 900 and the staged value is 800 - THEN The item fails with a problem that names
BODY_MAX_CHARSand800
Existing Tool Considered
The alternatives check of 2026-11-06 found no tool. No open, maintained tool or library compares the constant claims of a plan with the module-level integer literals of a staged Python tree. The change builds its own code and adds no dependency. Written cost: 12,000 tokens to build, 3,000 tokens per month to keep and fix, and 1 to 2 elapsed days. It deletes no internal code.
Key questions
- Which module holds the reply model of the stage plan?:
StageProposallives insrc/devops_cli/roadmap/stage/stage_change.py, and that module holds the reply models and their limits. [sources: src/devops_cli/roadmap/stage/stage_change.py, docs/roadmap/package-layout.md] - Where does
StageConstantClaimlive?:StageConstantClaimlives insrc/devops_cli/roadmap/stage/stage_change.pybesideStageProposal. The staged-constant reader keeps its own module, and this item adds no second reader. (best practice) [sources: src/devops_cli/roadmap/stage/stage_change.py, docs/roadmap/package-layout.md, src/devops_cli/roadmap/stage/stage_probe.py]- Chosen: In
stage_change.pybesideStageProposal. The model is part of the reply, and the module already holds the reply fields and their limits. - Rejected: In the staged-constant reader module. It puts a reply model in the reader and gives the model two homes.
- Rejected: In
stage_probe.py. The probe reads the premise of an item, and this item changes the plan check.
- Chosen: In
- Is
constant_claimsa required key of the reply?: No.constant_claimsdefaults to an empty list, so a reply that gives no list still validates. The prompt lists the key, because the prompt-rule test compares the reply keys with the fields ofStageProposal. (best practice) [sources: src/devops_cli/roadmap/stage/stage_change.py, tests/roadmap/stage/test_roadmap_stage_prompt_rules.py, openspec/changes/3247-require-a-security-section-for-sensitive/proposal.md:38]- Chosen: Optional, with an empty default. An older reply still validates, and the prose scan judges it.
- Rejected: Required in the reply. It breaks every reply that an older prompt produced.
- How does
check_proposalreceive the staged values?:check_proposaltakes a keyword-onlyconstants: Mapping[str, int] | None. The mapping holds the value of each claimed name that the reader found, so a name that the mapping lacks is undefined.Nonemeans that the caller read no value: the check judges no claim and reads no git. (best practice) [sources: src/devops_cli/roadmap/stage/stage_change.py, docs/ROADMAP_WORKFLOW.md, openspec/changes/3344-the-stage-probe-checks-client-model/design.md:16]- Chosen: A keyword-only mapping. The caller has the checkout and the commit, and the replay passes
Noneand reads no git. - Rejected:
check_proposalreads git itself. The replay callscheck_proposaland must read no git. - Rejected:
StagedTreeholds the constants.StagedTreeholds paths only, and the reader needs the checkout and the commit.
- Chosen: A keyword-only mapping. The caller has the checkout and the commit, and the replay passes
- When does the prose scan of a constant claim run?: The prose scan runs only when
constant_claimsis empty. A plan that gives claims is judged by the claims. (best practice) [sources: docs/ROADMAP_WORKFLOW.md, openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/design.md, src/devops_cli/roadmap/stage/stage_change.py]- Chosen: Only when the list is empty. The issue asks for the fallback, and a plan with claims is judged by the claims.
- Rejected: Always. The prose parse stays brittle for a plan that gives the claims.
- Does this item still wait for feat(roadmap): check a plan number against its constant #3308?: No. The change of feat(roadmap): check a plan number against its constant #3308 is archived under
openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/, so its reader and its prose scan are on the default branch. An archived change creates no dependency. [sources: openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/proposal.md, openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/specs/roadmap-stage/spec.md, docs/ROADMAP_WORKFLOW.md] - How does the check treat a structured claim whose name the staged tree does not define?:
check_proposalrefuses the claim and names the constant. The prose scan still skips an undefined name, because feat(roadmap): check a plan number against its constant #3308 rejected a refusal there to keep a valid plan that namesPLAN_SUMMARY_MAX_CHARS = 47. The prompt says that a claim names a constant of the staged tree. (best practice) [sources: openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/design.md, openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/proposal.md:47, openspec/changes/archive/2026-11-07-3308-the-plan-check-compares-a-number/specs/roadmap-stage/spec.md]- Chosen: Refuse the structured claim. A structured claim gives one name and one value, and docs(openspec): plan #3200 Refuse placeholder and cut plan text #3260 shows the defect of a new name for an existing bound.
- Rejected: Skip the claim. A plan can give a new name to an existing bound and pass, which is the defect of docs(openspec): plan #3200 Refuse placeholder and cut plan text #3260.
- What does the stage check require of a plan that changes the stage prompt or
check_proposal?: The plan needs one group task withuv run devops roadmap eval stage --replayand the words score, before and after. A behavior group that changessrc/devops_cli/roadmap/stage/stage_change.pyalso needs a group test that builds the plan's ownStageProposaland asserts thatcontent_problemsreturns no problem for it. [sources: docs/ROADMAP_WORKFLOW.md, src/devops_cli/ai/tasks/roadmap_stage_change.md] - Where do the new tests go?: A new test module goes under
tests/roadmap/stage/, which mirrors the package of the code. The change extendstests/roadmap/stage/test_roadmap_stage_constants.pyandtests/roadmap/stage/test_roadmap_stage_plan.py, and updatestests/roadmap/stage/test_roadmap_stage_prompt_rules.py. [sources: tests/roadmap/stage/test_roadmap_stage_constants.py, tests/roadmap/stage/test_roadmap_stage_plan.py, tests/roadmap/stage/test_roadmap_stage_prompt_rules.py, src/devops_cli/ai/tasks/roadmap_stage_change.md]
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 hardens an existing check against two failure modes but does not block delivery or fix a security gap.It removes two brittle parsing cases so a plan cannot pass with a wrong or renamed bound.It adds a typed field, a prompt key, a compare branch in check_proposal, and tests across three files, estimated at 1 to 2 days.Both verify constant claims in a plan against staged values, but #3308 parses prose while the candidate adds a structured list field and keeps prose as a fallback.devops-cli-service commentedon Nov 3, 2026
Status set to Ready at 6c86ec9 (see proposed design in issue body).
devops-cli-service commentedon Nov 3, 2026
Staged: branch
feat/3388-the-stage-plan-states-constant-claims, draft pull request #3396. 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 40000 tokens:
The plan run made 3 model request(s), and used 233010 input tokens and 11603 output tokens. The model made no tool call.
A model review of the plan found these points. They stop no draft, and a person judges them:
otherat group 2: The plan adds messages for a wrong claim and an unknown claim name, but no group changes the file that holds the messages. The code reads its messages fromdevops_cli.lang, which no group lists. Evidence: "Add the messages of a wrong claim and of an unknown claim name, and the tests of the reader, the check and the prompt key"dan-petty commentedon Nov 4, 2026
#3388 cannot be built as written: the base has no prose scan of constant claims.
check_proposalinsrc/devops_cli/roadmap/stage_change.pyhas no constant-claim check.git grep -n "stage_constants\|constant_claims" 6c15a64a -- src testsfinds nothing, andsrc/devops_cli/roadmap/stage_constants.pyis absent.The prose scan is only planned by #3308 (plan PR #3329, issue status Planned). That plan creates
src/devops_cli/roadmap/stage_constants.pyandtests/roadmap/test_roadmap_stage_constants.py, the same new files that the plan of #3388 creates. The plan of #3388 also creates the same module and test module, and it records no dependency.The item waits for #3308. Plan PR #3396 is closed. The Service will stage #3388 again after #3308 closes.
13 remaining items
devops-cli-service commentedon Nov 14, 2026
Staged: branch
feat/3388-the-stage-plan-states-constant-claims, draft pull request #5649. 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:
spec_delta_wrongat spec roadmap-stage/claims (The prose scan runs only when the claim list is empty): The scenario's prose claim is a sentence with two numbers, which the existing prose scan already skips (constant_problemscontinues whenlen(numbers) != 1), so the scenario passes on the base and cannot show that a claim list suppresses the scan. Use a prose claim the scan would flag, such asSUMMARY_MAX_CHARSis 40. Evidence: "A reply gives a claim forSUMMARY_MAX_CHARSand a sentence holds two numbers beside it."otherat spec roadmap-stage/claims (The prompt asks for the staged value of a constant): The spec delta's 'Prompt claim rule' scenario needs a test that reads the prompt and asserts the new sentence, but group 1's test task adds only the key-list case totest_each_list_of_keys_of_the_reply_is_the_fields_of_a_model; no task adds the sentence test. Evidence: "The text holds the sentence that a claim names a constant of the staged tree and that a constant the plan creates is no claim"false_premiseat proposal (feasibility):securityis not the last field ofStageProposal:weakened_checksfollows it at line 702, so the claim that the fields end atsecurityis wrong (it is only the last reply key). Evidence: "src/devops_cli/roadmap/stage/stage_change.py:699:security: Line = ""as its last field"The runs of the planner and the review made 90 model request(s), and used 7221601 input tokens and 140035 output tokens. The tool calls, in order:
search_code({"text":"staged_constants"})file_symbols({"path":"src/devops_cli/roadmap/stage/stage_change.py"})list_files({"directory":"tests/roadmap/stage"})read_spec({"capability":"roadmap-stage/claims"})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2440,"end_line":2530})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":205,"end_line":291})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":648,"end_line":730})search_code({"text":"constants"})search_code({"text":"stage_problem_constant_mismatch"})search_code({"text":"weakened_checks"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":1,"end_line":80})search_code({"text":"model_fields"})search_code({"text":"Reply keys"})search_code({"text":"test_each_list_of_keys_of_the_reply_is_the_fields_of_a_model"})search_code({"text":"test_the_top_level_keys_of_the_reply_are_the_fields_of_the_proposal"})read_file({"end_line":140,"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":85})search_code({"text":"- 'security':"})read_file({"end_line":75,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":20})search_code({"text":"The reply has these keys and no other"})read_file({"end_line":70,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":41})read_file({"end_line":2445,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2300})read_file({"end_line":2245,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2200})read_file({"end_line":4935,"path":"src/devops_cli/lang/en/messages.py","start_line":4895})read_file({"path":"src/devops_cli/roadmap/stage/stage_finding_classes.json"})read_file({"end_line":60,"path":"tests/roadmap/stage/test_roadmap_stage_constants.py","start_line":1})search_code({"text":"def make_stage_proposal"})search_code({"text":"constants="})read_file({"end_line":2810,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2720})read_file({"end_line":185,"path":"tests/support/builders.py","start_line":120})read_spec({"capability":"roadmap-stage/claims","requirement":"A constant that the staged tree does not define is ignored"})read_spec({"capability":"roadmap-stage/claims","requirement":"A plan number beside a constant matches the staged value"})read_spec({"capability":"roadmap-stage/claims","requirement":"The prompt asks for the staged value of a constant"})read_spec({"capability":"roadmap-stage/claims","requirement":"The replay passes recorded constants"})search_code({"text":"facts.constants"})search_code({"text":"constants: dict"})search_code({"text":"class CaseFacts"})search_code({"text":"candidate_names"})search_code({"text":"constants="})read_file({"end_line":200,"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":150})search_code({"text":"record_facts"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":110,"end_line":160})search_code({"text":"stage_finding_classes"})list_files({"directory":"src/devops_cli/roadmap/stage"})list_files({"directory":"tests/roadmap/stage"})search_code({"text":"constant_problems"})search_code({"text":"staged_constants"})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py"})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":205,"end_line":292})search_code({"text":"def check_proposal"})search_code({"text":"content_problems"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2420,"end_line":2500})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":660,"end_line":740})search_code({"text":"SUMMARY_MAX_CHARS: Final"})search_code({"text":"BODY_MAX_CHARS: Final"})read_spec({"capability":"roadmap-stage/claims","requirement":"A constant that the staged tree does not define is ignored"})read_spec({"capability":"roadmap-stage/claims","requirement":"The prompt asks for the staged value of a constant"})search_code({"text":"stage_problem_constant_mismatch"})list_files({"directory":"docs/roadmap"})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":4900,"end_line":4930})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_apply.py","start_line":1,"end_line":40})search_code({"text":"test_each_list_of_keys_of_the_reply_is_the_fields_of_a_model"})search_code({"text":"weakened_checks"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":80,"end_line":150})search_code({"text":"- 'references':"})search_code({"text":"- 'security':"})read_file({"end_line":70,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":20})search_code({"text":"staged value"})search_code({"text":"constant"})search_code({"text":"cite the staged"})search_code({"text":"constants="})search_code({"text":"candidate_names"})search_code({"text":"check_proposal"})search_code({"text":"constants"})file_symbols({"path":"src/devops_cli/roadmap/stage/stage_plan_record.py"})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":130,"end_line":160})read_file({"end_line":230,"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":205})search_code({"text":"constants: dict"})read_file({"path":"src/devops_cli/roadmap/stage/stage_finding_classes.json"})search_code({"text":"stage_finding_classes"})read_file({"end_line":2810,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2740})search_code({"text":"def plan_texts"})read_file({"end_line":1330,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1292})read_spec({"capability":"roadmap-stage/claims"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2420,"end_line":2500})read_spec({"capability":"roadmap-stage/claims","requirement":"A constant that the staged tree does not define is ignored"})read_spec({"capability":"roadmap-stage/claims","requirement":"The prompt asks for the staged value of a constant"})read_file({"path":"src/devops_cli/roadmap/stage/stage_constants.py","start_line":215,"end_line":300})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2200,"end_line":2250})read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_gates.py","start_line":110,"end_line":175})read_file({"path":"src/devops_cli/roadmap/pull_form.py","start_line":30,"end_line":60})search_code({"text":"content_problems"})search_code({"text":"eval stage --replay"})search_code({"text":"_self_acceptance_problems"})search_code({"text":"STAGE_EVAL_TRIGGER_PATHS"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1330,"end_line":1400})search_code({"text":"_PLAN_CHECK_FILE"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":665,"end_line":730})read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":1,"end_line":60})search_code({"text":"The reply has these keys"})search_code({"text":"constant_claims"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":2740,"end_line":2820})read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":4895,"end_line":4930})search_code({"text":"constant"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_constants.py","start_line":160,"end_line":260})read_file({"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":1,"end_line":120})search_code({"text":"ci docs"})search_code({"text":"def docs"})search_code({"text":"docs/roadmap/stage.md"})search_code({"text":"constant_problems"})search_code({"text":"_DOCUMENTS"})search_code({"text":"stage guide"})search_code({"text":"_DOCUMENTS["})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":300,"end_line":430})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":540,"end_line":620})search_code({"text":"plan check"})read_file({"path":"docs/roadmap/stage.md","start_line":40,"end_line":120})search_code({"text":"\"reads\""})search_code({"text":"stage_problem_reads"})read_file({"path":"src/devops_cli/roadmap/stage/stage_verify.py","start_line":80,"end_line":150})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":195,"end_line":230})search_code({"text":"STAGE_EVAL_TRIGGER_PATHS: Final"})search_code({"text":"STAGE_EVAL_REPLAY: Final"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":255,"end_line":300})search_code({"text":"GATE_DEFECT_PATHS"})search_code({"text":"_gate_defect_problems"})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1800,"end_line":1900})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1400,"end_line":1470})read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":118,"end_line":130})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2250,"end_line":2300})search_code({"text":"\"constants\""})read_file({"path":"tests/fixtures/roadmap_eval/stage/3462-a-modified-requirement-over-the-limit/case.json","start_line":1,"end_line":60})search_code({"text":"constants gate"})search_code({"text":"stage_constants"})search_code({"text":"prose"})search_code({"text":"staged value"})search_code({"text":"staged tree defines"})search_code({"text":"the bound of a constant"})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":700,"end_line":760})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_gates.py","start_line":680,"end_line":740})read_file({"path":"src/devops_cli/roadmap/stage/stage_request.py","start_line":60,"end_line":120})search_code({"text":"constants="})search_code({"text":"facts.constants"})search_code({"text":"_TOKEN_COST"})Tool calls: file_symbols=2 (empty=0), list_files=4 (empty=0), read_file=56 (empty=0), read_spec=10 (empty=0), search_code=72 (empty=2)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
docs(openspec): plan #3388 Add a constant-claim field to the stage reply
docs(openspec): plan #3388 Add a constant-claim field to the stage re…
dan-petty commentedon Nov 20, 2026
Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.
devops-cli-service commentedon Nov 23, 2026
Released in v0.198.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.198.0
devops-cli-service commentedon Nov 23, 2026
Live since 2026-11-23 04:05 UTC