Repository navigation
Description
Problem or Motivation
The stage job refuses a plan when either check_proposal or openspec validate --strict --json returns a problem (_settle in src/devops_cli/roadmap/stage.py). The implement plan gate of #3393 runs only check_proposal. A plan that passes check_proposal but fails the OpenSpec validation therefore still starts a runner Job and spends model calls, which is the defect that #3393 fixes for the other gate.
Proposed Solution & Architectural Design
- When the plan gate of
_Judge.judgeruns, call the existingvalidate_changeon the same change files, with theopenspectool ofopenspec_tool()when it is installed. - Leave the item out with the first
openspecissue as its reason, as the item is left out for acheck_proposalproblem. Do not stop the other items. - Add a test in
tests/roadmap/test_roadmap_implement_job.pyfor a plan thatcheck_proposalaccepts andopenspec validaterefuses.
Target Subsystem
src/devops_cli/roadmap/implement.py, src/devops_cli/roadmap/stage_validate.py, tests/roadmap/test_roadmap_implement_job.py.
Existing Tool Considered
validate_change and openspec_tool already exist and the stage job uses them. The change calls them from the implement plan gate and builds no new rule. Cost: about 3,000 tokens to build and test, about 1,000 tokens to keep and fix, and about 2 hours of elapsed time. The change deletes no code.
Source: #3403
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)
Proposed design
Problem statement
The implement job accepts a plan that check_proposal passes and openspec validate --strict refuses. The job then starts a runner Job and spends model calls on a plan that cannot be archived. The stage job refuses such a plan in _Planner._settle. The implement plan gate must refuse it too, and leave only that item out.
Acceptance criteria
Requirement: The gate runs the OpenSpec validation
The implement plan gate SHALL call validate_change on the change files of each item that passes check_proposal.
Scenario: A plan that check_proposal accepts and openspec validate refuses
- WHEN The change of an item passes
check_proposalandopenspec validate --strictreports an issue. - THEN The job leaves the item out, and its reason is the first issue of the report.
Requirement: A refused plan starts no step
The implement job MUST run no step of an item whose change fails the OpenSpec validation.
Scenario: A refused plan
- WHEN The plan gate leaves an item out for an OpenSpec issue.
- THEN The model script of the test sees no call, and the job writes no commit and no pull request for the item.
Requirement: One refused item does not stop the others
The plan gate MUST leave out only the item whose change fails the validation.
Scenario: Two items, and the change of one fails
- WHEN A run selects two items and the change of one fails
openspec validate --strict. - THEN The other item is implemented and reaches its ready pull request.
Requirement: The validation is skipped without the tool
The plan gate MUST skip the OpenSpec validation when openspec is not on PATH.
Scenario: No openspec binary
- WHEN
openspec_tool()yields None. - THEN The gate leaves the item out only for a problem of
check_proposal.
Requirement: One tool context for a plan run
The implement job SHALL enter the openspec_tool() context once for each plan run.
Scenario: One run of two items
- WHEN
plan_implementjudges two items. - THEN
openspec_tool()is entered once.
Existing Tool Considered
No check has run. The OpenSpec CLI covers the need with openspec validate --strict --json, and the repository already wraps it in validate_change and openspec_tool(). The tool lacks one caller: the implement plan gate does not call it. The change adds that caller and builds no new rule. Cost to build this code instead: about 3,000 tokens to build and test, about 1,000 tokens to keep and fix, and about 2 hours of elapsed time.
Key questions
- Which check refuses a plan that fails the OpenSpec validation in the stage job?:
_Planner._settlecallscheck_proposal, then_validate._validatecallsvalidate_changewith the tool thatopenspec_tool()yields, and returns None when the tool is absent. [sources: src/devops_cli/roadmap/stage.py, src/devops_cli/roadmap/stage_validate.py] - Does the implement plan gate call
validate_changetoday?: No._Judge.judgeinsrc/devops_cli/roadmap/implement.pycalls no OpenSpec check, andvalidate_changehas no caller in that module. The gate of fix(roadmap): the implement job refuses a plan that fails the plan check #3393 is not on the default branch yet. [sources: src/devops_cli/roadmap/implement.py, src/devops_cli/roadmap/stage_validate.py] - What does
validate_changeread besides the change files?: It reads the checkout for the base spec of each capability that the change touches. It copiesopenspec/specs//spec.mdinto the scratch directory, so the gate passes the checkout of the judge. [sources: src/devops_cli/roadmap/stage_validate.py] - Where does the implement job enter the
openspec_tool()context?: Inplan_implement, once, around the selection. The judge holds the tool and passes it tovalidate_change. (best practice) [sources: src/devops_cli/roadmap/stage.py, src/devops_cli/roadmap/implement.py]- Chosen: Once in
plan_implementaround the selection.plan_stageopens the context once around its loop, so every caller of the selection gets the tool. - Rejected: Once for each
judgecall. It sets up and tears down the isolated OpenSpec configuration for each item. - Rejected: In the CLI command only. The Service and
devops roadmap explainread the selection without that command, so they get no tool.
- Chosen: Once in
- What does the gate do when
openspecis not onPATH?: It skips the validation and judges the item oncheck_proposalalone. (best practice) [sources: src/devops_cli/roadmap/stage.py]- Chosen: Skip the validation.
openspec_tool()yields None and_Planner._validatereturns None, so the stage job stages the plan as unvalidated. - Rejected: Leave every item out. The two jobs would disagree, and an install without the binary would implement nothing.
- Chosen: Skip the validation.
- Which text becomes the reason of a left-out item?: The first line of the string that
validate_changereturns.validate_changejoins one line for each issue, so the first line is the first issue. (best practice) [sources: src/devops_cli/roadmap/stage_validate.py, src/devops_cli/roadmap/implement.py]- Chosen: The first line of the problem.
validate_changejoins one line for each issue, andLeftOut.reasonis one line of the plan report. - Rejected: The whole problem, cut to 2000 characters. The report line would hide the other items of the plan.
- Chosen: The first line of the problem.
- When does the gate run the validation?: After
check_proposalpasses, as_settledoes. (best practice) [sources: src/devops_cli/roadmap/stage.py]- Chosen: After
check_proposalpasses.check_proposalreads the reply and starts no process, so the tool runs only on a plan that already passes. - Rejected: Before
check_proposal. It starts a process for each item, including the items that the cheaper check refuses.
- Chosen: After
- Which items does the gate validate?: Every item that the judge would take, both Staged and Planned. (best practice) [sources: src/devops_cli/roadmap/implement.py]
- Chosen: Staged and Planned items. Both start a runner Job, and the defect is the model calls that the Job spends.
- Rejected: Planned items only. A Staged item's draft plan can fail the validation, and its run spends the same calls.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
Alternatives check of 2026-11-06: in-use.
The item already names this tool.
Tool: Fission-AI/OpenSpec (https://github.com/Fission-AI/OpenSpec), MIT, last activity 2026-11-06, maintained.
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.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.A validation gap that wastes model calls but does not break the build or expose data.Prevents wasted model calls on plans that pass check_proposal but fail OpenSpec validation.Existing functions validate_change and openspec_tool are reused; no new rule is built.Both modify the implement plan gate; #3393 adds the check_proposal refusal, the candidate adds the openspec validate refusal.devops-cli-service commentedon Nov 4, 2026
Status set to Ready at 89682e4 (see proposed design in issue body).
devops-cli-service commentedon Nov 6, 2026
Alternatives check: in-use
The item already names this tool.
Tool: Fission-AI/OpenSpec (https://github.com/Fission-AI/OpenSpec)
Covers:
openspec validate --strict --jsonreports each issue of a change, which is exactly the check the implement plan gate needs before it starts a runner Job.validate_changeandopenspec_tool(), and the stage job's_Planner._settleuses them, so the gate reuses an existing path and builds no new rule.Lacks:
_Judge.judgeinsrc/devops_cli/roadmap/implement.pydoes not callvalidate_change, so a plan that passescheck_proposaland fails the validation still starts a Job (the change of this issue).validate_change, because it also reads the base spec of each touched capability fromopenspec/specs/.openspecis not onPATHthe validation is skipped and the item is judged oncheck_proposalalone, so the gate is unvalidated in that install.Searches run:
Sources:
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 10, 2026
Staged: branch
fix/3429-the-implement-plan-gate-runs-the, draft pull request #4419. 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:
ignores_existing_codeat group 1: The plan builds a newfake_openspechelper intests/support/roadmap_implement.pythat doublesopenspec_tooland the tool'srun, but the repository already has the shared OpenSpec edge fake,OpenSpecFakeintests/support/fakes/openspec.pybehind theopenspec_fakefixture, which scripts exactly these answers (a refusal, a timeout, no binary) and is what the stage job's validation tests use. The project's test rule forbids a second double of an edge. Evidence: "Each edge has one fake, intests/support/fakes/<edge>.py, shared by every test that reaches the edge. A test does not build its own double of an edge."otherat group 2: Group 1 describesfake_openspec(issues)as a context whoserunanswers the same report of those issues for every call, so it cannot report an issue for item 1 alone; the group 2 test that reports an issue for item 1 and expects the second item to be implemented cannot be written with the helper the plan defines. Evidence: "report an issue for item 1 only"otherat group 1: The plan adds behavior the issue does not ask for, leaving an item out whenvalidate_changeraises, and its spec delta states a scenario for it, but no test in either group covers a validation that raises; the group 1 tests cover a refusal, one context per run and no binary only. Evidence: "WHENvalidate_changeraisesRoadmapStageErrororToolExecutionErrorfor the plan of an item."missing_pathat why: Thewhyfield cites the stage validator atsrc/devops_cli/roadmap/stage/stage/stage.py, a path the commit does not hold; the file issrc/devops_cli/roadmap/stage/stage.py, as the plan's own feasibility and group 2 say. Evidence: "The stage job refuses such a plan atsrc/devops_cli/roadmap/stage/stage/stage.py:1695:def _validate(self, change: str, files: Mapping[str, str]) -> str | None:"The runs of the planner and the review made 165 model request(s), and used 11080643 input tokens and 231555 output tokens. The tool calls, in order:
file_symbols({"path":"src/devops_cli/roadmap/implement/implement.py"})file_symbols({"path":"src/devops_cli/roadmap/stage/stage_validate.py"})list_files({"directory":"src/devops_cli/roadmap/implement"})list_files({"directory":"tests/roadmap/implement"})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":255,"end_line":380})read_file({"path":"src/devops_cli/roadmap/stage/stage_validate.py","start_line":100,"end_line":190})read_file({"end_line":560,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":380})search_code({"text":"openspec_tool"})search_code({"text":"validate_change"})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1700,"end_line":1760})read_file({"end_line":130,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":1})read_file({"end_line":1700,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1600})search_code({"text":"implement_left_plan"})search_code({"text":"_Judge("})read_file({"path":"src/devops_cli/roadmap/plan_read.py","start_line":1,"end_line":60})search_code({"text":"plan_implement("})search_code({"text":"openspec_tool"})search_code({"text":"def change_root"})read_file({"end_line":560,"path":"tests/support/roadmap_implement.py","start_line":430})read_file({"end_line":80,"path":"tests/roadmap/implement/test_roadmap_implement_plan_reason.py","start_line":1})search_code({"text":"class FakeOpenSpec"})search_code({"text":"isolated_openspec"})search_code({"text":"job_world"})search_code({"text":"openspec"})read_file({"end_line":2060,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2020})search_code({"text":"openspec_tool()"})read_file({"end_line":120,"path":"tests/support/roadmap_implement.py","start_line":1})read_file({"end_line":700,"path":"tests/support/roadmap_implement.py","start_line":600})read_file({"end_line":200,"path":"tests/support/roadmap_implement.py","start_line":117})search_code({"text":"plan_stage("})read_file({"end_line":120,"path":"src/devops_cli/openspec/tool.py","start_line":60})read_spec({"capability":"roadmap-implement-job"})read_issue({"number":3393})find_issues({"terms":"openspec validate implement"})read_spec({"capability":"roadmap-implement-job","requirement":"The job leaves out an item whose plan fails the check"})read_file({"end_line":560,"path":"src/devops_cli/roadmap/plan_read.py","start_line":520})read_file({"end_line":3010,"path":"src/devops_cli/lang/en/messages.py","start_line":2985})read_file({"end_line":580,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":536})search_code({"text":"stage check"})read_file({"end_line":110,"path":"docs/roadmap/plan-recheck.md","start_line":85})read_file({"end_line":1080,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":980})list_files({"directory":"src/devops_cli/roadmap/implement"})list_files({"directory":"tests/roadmap/implement"})file_symbols({"path":"src/devops_cli/roadmap/implement/implement.py"})search_code({"text":"def _plan_reason"})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":260,"end_line":460})read_file({"end_line":450,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":400})read_file({"end_line":100,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":1})read_file({"end_line":130,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":99})read_file({"end_line":560,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":498})read_file({"end_line":175,"path":"src/devops_cli/roadmap/stage/stage_validate.py","start_line":100})search_code({"text":"def openspec_tool"})read_file({"end_line":1730,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1660})search_code({"text":"with openspec_tool() as tool:"})search_code({"text":"implement_left_plan"})read_issue({"number":3393})read_spec({"capability":"roadmap-implement-job"})search_code({"text":"_validate(change"})read_spec({"capability":"roadmap-implement-job","requirement":"The job leaves out an item whose plan fails the check"})search_code({"text":"self._validate("})read_file({"end_line":1560,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1510})file_symbols({"path":"tests/roadmap/implement/test_roadmap_implement_plan_reason.py"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_plan_reason.py"})search_code({"text":"def _settle"})file_symbols({"path":"tests/roadmap/implement/test_roadmap_implement_job.py"})file_symbols({"path":"tests/support/roadmap_implement.py"})search_code({"text":"openspec_tool"})search_code({"text":"class OpenSpecTool"})search_code({"text":"FakeOpenSpec"})read_file({"path":"src/devops_cli/openspec/tool.py","start_line":1,"end_line":110})read_file({"end_line":99,"path":"src/devops_cli/roadmap/stage/stage_validate.py","start_line":60})search_code({"text":"plan = plan_implement("})search_code({"text":"def change_root"})read_file({"end_line":548,"path":"src/devops_cli/roadmap/plan_read.py","start_line":529})read_file({"end_line":215,"path":"tests/support/roadmap_implement.py","start_line":100})read_file({"end_line":560,"path":"tests/support/roadmap_implement.py","start_line":500})search_code({"text":"isolated_openspec"})search_code({"text":"which(BIN_OPENSPEC)"})search_code({"text":"BIN_OPENSPEC"})search_code({"text":"plan_stage("})read_file({"end_line":1060,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":960})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":240,"end_line":560})search_code({"text":"_Judge("})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":385,"end_line":570})search_code({"text":"def openspec_tool"})read_spec({"capability":"roadmap-implement-job"})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1500,"end_line":1560})read_spec({"capability":"roadmap-implement-job","requirement":"The job leaves out an item whose plan fails the check"})read_file({"end_line":1730,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1660})search_code({"text":"devops ci test"})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2010,"end_line":2060})read_file({"path":"src/devops_cli/roadmap/stage/stage_validate.py","start_line":95,"end_line":152})search_code({"text":"validate_change("})read_file({"end_line":60,"path":"src/devops_cli/roadmap/plan_check.py","start_line":1})read_file({"end_line":480,"path":"src/devops_cli/roadmap/plan_check.py","start_line":400})search_code({"text":"def test_a_step_that_stops_does_not_stop_the_next_item"})search_code({"text":"def two_groups"})read_file({"end_line":460,"path":"tests/support/roadmap_implement.py","start_line":240})read_file({"end_line":1060,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":960})search_code({"text":"class JobWorld"})read_file({"end_line":160,"path":"tests/support/roadmap_implement.py","start_line":100})search_code({"text":"def write_change_files"})search_code({"text":"def read_change"})read_file({"end_line":2580,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2538})read_file({"end_line":530,"path":"src/devops_cli/roadmap/plan_read.py","start_line":440})read_file({"end_line":120,"path":"src/devops_cli/openspec/tool.py","start_line":1})search_code({"text":"def run("})read_file({"end_line":200,"path":"tests/support/fakes/openspec.py","start_line":1})search_code({"text":"openspec_fake"})read_file({"end_line":560,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":1660})read_file({"end_line":620,"path":"tests/support/roadmap_implement.py","start_line":502})read_file({"end_line":480,"path":"src/devops_cli/roadmap/implement/implement_submit.py","start_line":430})search_code({"text":"plan_implement("})search_code({"text":"openspec_tool"})search_code({"text":"openspec"})search_code({"text":"implement_left_plan"})read_file({"end_line":1560,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":1740})search_code({"text":"double"})search_code({"text":"monkeypatch"})read_file({"end_line":100,"path":"docs/TESTING.md","start_line":60})search_code({"text":"def render_change"})search_code({"text":"openspec/config.yaml"})read_file({"end_line":2450,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2390})read_file({"end_line":1830,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":1800})read_file({"end_line":80,"path":"src/devops_cli/roadmap/plan_recheck.py","start_line":1})read_file({"end_line":380,"path":"src/devops_cli/roadmap/plan_recheck.py","start_line":300})read_issue({"number":3393})read_issue({"number":3429})search_code({"text":"def render_implement_plan"})search_code({"text":"class OpenSpecFake"})search_code({"text":"openspec"})search_code({"text":"Fission-AI/OpenSpec"})search_code({"text":"BIN_OPENSPEC"})search_code({"text":"openspec"})list_files({"directory":""})search_code({"text":"def openspec_fake"})search_code({"text":"openspec: OpenSpecFake"})read_file({"end_line":240,"path":"tests/support/fakes/openspec.py","start_line":205})list_files({"directory":"tests/roadmap/implement"})search_code({"text":"def openspec("})read_file({"end_line":330,"path":"tests/support/fakes/process.py","start_line":240})read_file({"end_line":130,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":100})read_file({"path":"tests/support/fakes/openspec.py"})file_symbols({"path":"src/devops_cli/roadmap/implement/implement.py"})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":1,"end_line":130})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":260,"end_line":460})read_file({"end_line":560,"path":"src/devops_cli/roadmap/implement/implement.py","start_line":400})read_file({"end_line":160,"path":"src/devops_cli/roadmap/stage/stage_validate.py","start_line":80})search_code({"text":"openspec_fake"})list_files({"directory":"tests/roadmap/implement"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_plan_reason.py"})search_code({"text":"def openspec_fake"})search_code({"text":"openspec_fake:"})file_symbols({"path":"tests/support/roadmap_implement.py"})read_file({"path":"tests/support/fakes/openspec.py","start_line":200,"end_line":300})read_file({"end_line":200,"path":"tests/support/roadmap_implement.py","start_line":100})read_file({"end_line":660,"path":"tests/support/roadmap_implement.py","start_line":500})search_code({"text":"\"validate\","})read_file({"end_line":120,"path":"tests/support/openspec_scenarios.py","start_line":1})read_file({"end_line":260,"path":"tests/support/roadmap_stage.py","start_line":190})search_code({"text":"VALID_REPORT"})search_code({"text":"1-the-job-drops-a-comment"})read_file({"end_line":1740,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1660})search_code({"text":"def isolated_openspec"})read_file({"end_line":160,"path":"src/devops_cli/openspec/tool.py","start_line":60})search_code({"text":"plan_implement("})read_file({"end_line":1060,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":1000})read_file({"end_line":80,"path":"tests/roadmap/implement/test_roadmap_implement_selection.py","start_line":1})search_code({"text":"push_staged_branch("})read_file({"end_line":100,"path":"tests/roadmap/stage/test_roadmap_stage_apply.py","start_line":30})search_code({"text":"SLUG ="})read_file({"end_line":80,"path":"tests/roadmap/implement/test_roadmap_implement_planned.py","start_line":1})read_file({"end_line":80,"path":"tests/fixtures/openspec_runs/recorded_runs.json","start_line":1})read_file({"end_line":80,"path":"tests/roadmap/stage/test_roadmap_stage_job.py","start_line":40})search_code({"text":"def staged_repo"})read_file({"end_line":120,"path":"tests/fixtures/openspec_runs/recorded_runs.json","start_line":180})search_code({"text":"BASE_SCENARIO ="})read_file({"end_line":1000,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":960})read_file({"end_line":1980,"path":"tests/roadmap/implement/test_roadmap_implement_job.py","start_line":1920})search_code({"text":"def process_fake"})search_code({"text":"explain_item("})read_file({"end_line":480,"path":"tests/support/fakes/process.py","start_line":400})read_file({"end_line":60,"path":"src/devops_cli/openspec/tool.py","start_line":30})read_file({"path":"src/devops_cli/roadmap/stage/stage_validate.py","start_line":100,"end_line":160})file_symbols({"path":"src/devops_cli/roadmap/implement/implement.py"})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":260,"end_line":420})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":490,"end_line":560})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":400,"end_line":420})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":1,"end_line":70})list_files({"directory":"tests/roadmap/implement"})search_code({"text":"openspec"})read_file({"path":"tests/support/roadmap_implement.py","start_line":440,"end_line":640})read_file({"end_line":500,"path":"tests/support/fakes/process.py","start_line":330})read_file({"end_line":330,"path":"tests/support/fakes/process.py","start_line":180})search_code({"text":"def github_api_and_gh"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_plan_reason.py","start_line":1,"end_line":70})search_code({"text":"pytestmark"})read_file({"path":"tests/support/fakes/github.py","start_line":465,"end_line":510})read_file({"path":"tests/support/roadmap_implement.py","start_line":613,"end_line":760})read_file({"path":"tests/support/fakes/openspec.py"})read_file({"end_line":300,"path":"tests/support/fakes/openspec.py","start_line":150})read_file({"end_line":240,"path":"tests/support/roadmap_stage.py","start_line":200})search_code({"text":"VALID_REPORT"})read_file({"end_line":80,"path":"tests/roadmap/stage/test_roadmap_stage_job.py","start_line":40})search_code({"text":"plan_implement("})read_file({"end_line":80,"path":"tests/roadmap/implement/test_roadmap_implement_selection.py","start_line":1})read_file({"end_line":75,"path":"tests/roadmap/implement/test_roadmap_implement_planned.py","start_line":1})search_code({"text":"CHANGE_DIR ="})read_file({"end_line":120,"path":"tests/support/roadmap_implement.py","start_line":1})read_file({"end_line":60,"path":"tests/support/openspec_scenarios.py","start_line":1})search_code({"text":"1-the-job-drops-a-comment"})read_file({"end_line":140,"path":"src/devops_cli/openspec/tool.py","start_line":1})search_code({"text":"def build_openspec_cmd"})read_file({"end_line":325,"path":"src/devops_cli/config/commands.py","start_line":300})read_file({"end_line":140,"path":"tests/support/implement_step.py","start_line":1})search_code({"text":"answer(\"openspec"})search_code({"text":"BIN_OPENSPEC ="})search_code({"text":"BIN_OPENSPEC"})read_file({"end_line":1725,"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1685})search_code({"text":"openspec config set"})search_code({"text":"VALID_REPORT"})read_spec({"capability":"roadmap-implement-job","requirement":"The job leaves out an item whose plan fails the check"})read_file({"path":"tests/support/roadmap_stage.py","start_line":1,"end_line":80})search_code({"text":"class _Judge"})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":250,"end_line":440})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":385,"end_line":470})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1660,"end_line":1730})search_code({"text":"plan_implement("})read_file({"path":"src/devops_cli/roadmap/implement/implement.py","start_line":470,"end_line":640})read_file({"path":"tests/support/roadmap_implement.py","start_line":380,"end_line":640})search_code({"text":"def which"})read_file({"path":"tests/support/fakes/process.py","start_line":420,"end_line":510})read_file({"path":"tests/support/roadmap_implement.py","start_line":300,"end_line":382})search_code({"text":"def _world"})search_code({"text":"def job_world"})read_file({"path":"tests/support/roadmap_implement.py","start_line":560,"end_line":700})search_code({"text":"def github_api_and_gh"})search_code({"text":"def build_openspec_cmd"})read_file({"path":"tests/support/fakes/github.py","start_line":470,"end_line":520})read_file({"path":"src/devops_cli/config/commands.py","start_line":300,"end_line":330})read_file({"path":"tests/support/fakes/openspec.py","start_line":128,"end_line":215})read_spec({"capability":"roadmap-implement-job"})read_spec({"capability":"roadmap-implement-job","requirement":"The job leaves out an item whose plan fails the check"})search_code({"text":"ProcessFake("})search_code({"text":"validation_report"})read_file({"path":"tests/support/roadmap_stage.py","start_line":200,"end_line":260})search_code({"text":"VALIDATE ="})search_code({"text":"process_fake"})search_code({"text":"openspec_fake"})references({"name":"process_fake"})references({"name":"openspec_fake"})search_code({"text":"github_api_and_gh"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_selection.py","start_line":100,"end_line":220})read_file({"path":"tests/support/fakes/process.py","start_line":300,"end_line":420})read_file({"path":"tests/support/fakes/process.py","start_line":240,"end_line":300})search_code({"text":"_Judge("})search_code({"text":"openspec_tool("})search_code({"text":"explain_item("})search_code({"text":"from devops_cli.roadmap.explain import"})read_file({"path":"src/devops_cli/roadmap/explain.py","start_line":180,"end_line":260})read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":2010,"end_line":2060})search_code({"text":"openspec"})search_code({"text":"@fission-ai/openspec"})search_code({"text":"npm install -g"})list_files({"directory":".devcontainer"})search_code({"text":"BIN_OPENSPEC"})search_code({"text":"openspec"})read_file({"path":".devcontainer/Dockerfile"})search_code({"text":"devops install-tools"})list_files({"directory":".github/workflows"})read_file({"path":".github/workflows/ci.yml","start_line":30,"end_line":110})read_file({"path":".github/workflows/ci.yml","start_line":110,"end_line":230})read_file({"path":"tests/support/refused_programs.py"})read_file({"path":"tests/roadmap/test_roadmap_explain.py","start_line":1,"end_line":110})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_retry.py","start_line":1,"end_line":60})read_file({"path":"tests/roadmap/stage/test_roadmap_stage_retry.py","start_line":130,"end_line":190})search_code({"text":"roadmap\", \"implement"})list_files({"directory":"tests/commands"})search_code({"text":"def test_"})read_file({"path":"tests/roadmap/implement/test_roadmap_implement_command.py","start_line":1,"end_line":80})read_file({"path":"src/devops_cli/commands/roadmap.py","start_line":690,"end_line":760})search_code({"text":"def implement_programs"})search_code({"text":"implement_checkout"})read_file({"path":"src/devops_cli/commands/roadmap.py","start_line":630,"end_line":700})search_code({"text":"def require_startable"})Tool calls: file_symbols=9 (empty=0), find_issues=1 (empty=0), list_files=11 (empty=0), read_file=136 (empty=0), read_issue=4 (empty=0), read_spec=9 (empty=0), references=2 (empty=0), search_code=113 (empty=4)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
docs(openspec): plan #3429 Validate the implement plan with OpenSpec (#…
devops-cli-service commentedon Nov 10, 2026
Stopped at group 1.
Failure class:
limit_reached.Action taken: none.
Action left:
raise_limit: raise the limit that the run went over.Reason:
Last message of the agent (a claim that no check verified): Now add the
answer_openspeccalls in the tests that install their ownProcessFake:The job discarded this work. Read it before you retry:
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.devops-cli-service commentedon Nov 10, 2026
The runner Job devops-cli-runner-20261110-201723-686f ended: succeeded.
Image digest: sha256:fbe98f7cc202efb1fa72906a20a8135803d987e7c8af2cb84b1a697cc243ab3c
The last lines of its log:
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.
dan-petty commentedon Nov 30, 2026
Triage under #6519 (2026-11-30). The need is met:
validate_change(the OpenSpec rule) runs on the plan files insrc/devops_cli/roadmap/plan_branches.py:243, andplan_check.py(folder_problems) is the implement plan gate. Closed as not planned: no change is left to build.