Skip to content

fix(roadmap): plans name ci rows that only devops-cli can run #8021

Not planned

Description

@dan-petty

Problem Description

A plan of a repository other than devops-cli can name a devops ci row that runs only in devops-cli. The row k8s imports tests.gate.k8s, a module of the devops-cli source tree, so uv run devops ci --check --only k8s fails with ModuleNotFoundError: No module named 'tests' in another repository, before it checks a file. The implement step cannot pass, and no change of the item can fix it. #7985 covers only the documents check.

On 2026-12-01 the build of dan-petty/homelab#583 stopped this way: class=plan_defect, 995,075 input tokens, one repair round. The request of the agent to change the plan was refused with "A verification command must start with uv run devops and be runnable by the step".

Reproduction Steps

  1. In a checkout with no tests/gate/ folder, run devops ci --check --only k8s.

Expected vs Actual Behavior

Expected: a plan of a repository names no row that the repository cannot run, and devops ci says that such a row does not apply instead of a traceback.

Actual: the command ends with a traceback and exit status 1.

Environment Diagnostics

Runner v0.268.2, repository dan-petty/homelab, toolchain preset neutral.

Pre-Submission Checklist

  • I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
  • I have checked existing issues and pull requests to ensure this is not a duplicate.

Source

Source: https://github.com/dan-petty/homelab/issues/583

Alternatives check of 2026-12-01: none.
Tool: none found.
Reason: Searches found only test-framework helpers such as pytest importorskip, which skip one test, and the standard library file test. No open tool maps a project gate table to the rows that a checkout can run, so the policy stays in this project.

Covers:

  • Standard library Path.is_file tests one file path
  • pytest importorskip skips one test module that is absent
  • Existing host_refusal path already skips a row with exit 0

Lacks:

  • No tool skips a ci row for an absent gate module
  • No tool refuses a plan that names an unrunnable row
  • No shared availability function for the gate and the command
  • No rule that reads the row table of the project

Proposed design

Problem statement

A plan of a managed repository can name the devops ci row k8s. That row runs tests/gate/k8s.py, a module that only the devops-cli source tree holds. In another repository the command stops with ModuleNotFoundError before it checks a file. The implement step cannot pass, and a change of the plan cannot repair it. The fix makes devops ci skip a whole-row gate check whose module file the checkout does not hold. The fix also makes the stage form gate refuse a plan that names such a row.

Acceptance criteria

Requirement: k8s row skipped where its gate module is absent

devops ci MUST show a whole-row gate check as skipped, and MUST name the absent gate module, when the checkout does not hold that module's file.

Scenario: k8s row in a checkout without its gate module

  • WHEN A test invokes devops ci --check --only k8s --no-cache with the process_fake fixture, in a project root that holds no tests/gate/k8s.py.
  • THEN The command exits 0, its output holds [k8s] skipped: tests/gate/k8s.py is not in this repository, and the process fake records no call other than git.

Requirement: whole-row gate check runs where its module is present

devops ci MUST run a whole-row gate check when the checkout holds that module's file.

Scenario: k8s row in a checkout with its gate module

  • WHEN A test invokes devops ci --check --only k8s --no-cache with the process_fake fixture, in a project root that holds tests/gate/k8s.py.
  • THEN The last recorded call is prepare_tool_cmd(get_check_spec("k8s").cmd), and the output holds no skipped line for k8s.

Requirement: stage form gate refuses a row that the checkout cannot run

The stage form gate MUST refuse a verify command that names a whole-row gate check whose module file the target checkout does not hold.

Scenario: plan of another repository names the k8s row

  • WHEN A test calls check_gates on a change whose verify command is uv run devops ci --check --only k8s, with a staged tree that holds no tests/gate/k8s.py.
  • THEN The result holds one problem whose text holds k8s and tests/gate/k8s.py.

Requirement: one availability rule for the gate and the command

The stage form gate and devops ci MUST decide a row's availability with the same function, row_refusal.

Scenario: each whole-row gate check

  • WHEN A test calls row_refusal for each of the six whole-row gate rows, and gives it a function that answers false for each path.
  • THEN Each call returns a reason that names the tests/gate/<module>.py file of that row.

Requirement: row table matches the check specs

Each whole-row gate row MUST be a devops ci row whose whole check is the main of its tests/gate module.

Scenario: row table and check spec agree

  • WHEN A test reads each row of WHOLE_ROW_GATE_MODULES and the check spec that get_check_spec returns for it.
  • THEN prepare_tool_cmd(spec.cmd) is uv run python -c <script>, where <script> holds from tests.gate.<module> import main, and spec.also_cmds is empty.

Existing Tool Considered

The alternatives check of 2026-12-01 in the issue body gives the verdict none and names no tool; its Covers: and Lacks: lists hold the tools that the search found and what those tools do not cover. The change builds the policy as one function, its row table and its two call sites, about 150 lines with its tests. The written cost is about 25,000 tokens to build, keep and fix that code until it holds the same rows, and under 2 hours of elapsed time.

Key questions

  • Which module does the k8s row import?: The row runs the script import sys; from tests.gate.k8s import main; sys.exit(main()). tests/gate/k8s.py imports tests.gate.k8s_checks and tests.gate.runner. No other repository holds these modules. [sources: src/devops_cli/config/constants.py:2775, src/devops_cli/commands/ci.py:1097, tests/gate/k8s.py:14]
  • Where do the tests of the devops ci command live?: The tests of the command sit in tests/commands/, and tests/commands/test_ci_domain_row.py holds the test of a skipped row. docs/TESTING.md puts a new test file at the mirror path of its source module, so a test of src/devops_cli/ci/row_availability.py sits in tests/ci/. [sources: tests/commands/test_ci_domain_row.py:26, docs/TESTING.md, tests/ci/test_fail_to_pass.py]
  • How does the plan code read the rows of a devops ci command?: read_verification gives the argv of a verification command, and verification_class already reads the devops ci words of that argv. The new ci_check_rows goes beside it and returns the rows of --only, which is comma-separated or repeated. [sources: src/devops_cli/roadmap/verification_command.py:211, src/devops_cli/roadmap/verification_command.py:259, src/devops_cli/commands/ci.py:1763]
  • Which exit status does a row that does not apply give?: 0. The row starts no command, prints the - badge with MESSAGES.ci.row_skipped, and returns a result with passed=True and the reason in its skipped field. (best practice) [sources: src/devops_cli/commands/ci.py:625, src/devops_cli/commands/ci.py:634, tests/commands/test_ci_domain_row.py:31]
    • Chosen: Exit 0 with the existing skip line. The host_refusal path already skips a row this way, and the domain row test proves exit 0 with no program.
    • Rejected: Exit 1 with a typed error. The plan command would still fail the step, and the row does not apply in that repository.
    • Rejected: Exit 75 to try again. The row never applies in that repository, so a retry cannot help.
  • How does devops ci know that a row cannot run in the current repository?: The file of the row's tests/gate module is not in the checkout. The row runs from tests.gate.<module> import main, so a checkout without tests/gate/<module>.py cannot run it. (best practice) [sources: src/devops_cli/config/constants.py:2775, src/devops_cli/commands/ci.py:621, tests/gate/k8s.py:14]
    • Chosen: The tracked file of the gate module. The import needs that file, and the stage gate tests the same fact in the target checkout.
    • Rejected: importlib.util.find_spec. It imports the parent packages of an arbitrary checkout, which can run their code.
    • Rejected: try/except ImportError. It also hides a missing import inside the gate module.
    • Rejected: A per-repository allowlist in config. It duplicates the file fact and drifts from the source tree.
  • Which rows does the availability rule cover?: The six rows whose whole check is the main of a tests/gate module: k8s, test-tree, startup-imports, swallowed-failures, domain and roadmap-eval-commits. The lint, docs and constructs rows keep a check of their own, so they still apply. (best practice) [sources: docs/TESTING.md, src/devops_cli/commands/ci.py:1097, src/devops_cli/commands/ci.py:912, src/devops_cli/commands/ci.py:978, src/devops_cli/commands/ci.py:1022]
    • Chosen: Rows whose whole check is a gate module. These rows run only tests.gate.<module>.main, so the row does not apply without the module.
    • Rejected: Every row that runs a gate module in any command. It would skip ruff check of the lint row and devops docs check of the docs row, which apply in every repository.
    • Rejected: Only the k8s row. The other five whole-row gate modules fail with the same ModuleNotFoundError.
  • Where does the availability function live?: src/devops_cli/ci/row_availability.py, with the row table WHOLE_ROW_GATE_MODULES and the function row_refusal. The command and the stage code import that one module, and tests/ci/ mirrors it. (best practice) [sources: docs/TESTING.md, tests/ci/test_fail_to_pass.py, src/devops_cli/roadmap/stage/stage_change.py:2968]
    • Chosen: A new module of src/devops_cli/ci/. The command and the stage code import one domain module, and its test sits at the mirror path.
    • Rejected: src/devops_cli/commands/ci.py. The stage code would import the command layer to read a policy.
    • Rejected: src/devops_cli/roadmap/stage/stage_change.py. The command would import the stage layer to read a policy.
  • Where does the stage form gate get the row availability?: From the tracked files of the target checkout. check_gates reads StagedTree.files and gives row_refusal a test of that set for each row of the verify command. The command reads the same function with its own project root. (best practice) [sources: src/devops_cli/roadmap/stage/stage_change.py:2968, src/devops_cli/roadmap/stage/stage_paths.py:152, src/devops_cli/roadmap/stage/stage_paths.py:140]
    • Chosen: The tracked files of the target checkout. StagedTree.files holds the files of the checkout that the stage job plans in, so the gate reads the repository's own fact.
    • Rejected: A second row list in the stage code. It drifts from the command table and hides a new row.
    • Rejected: Run the row and read its output. It runs a check to judge a plan and costs minutes.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/bug
    source/agent
    scope/roadmap
    on Dec 1, 2026
  2. dan-petty commented on Dec 1, 2026

    @dan-petty
    OwnerAuthor
    • Priority: The defect caused a downstream build to stop and wasted 995,075 input tokens with no benefit, matching increased AI spend without equivalent task benefit.
    • Related: fix(ci): run the k8s row without the tests package #7525, which asks for a different change. Both address the k8s row failing in a non-devops-cli repo, but the candidate fixes the roadmap planner and devops ci error message, while 7525 fixes the k8s row to run without the tests package.
  3. added
    status/new
    value/medium
    effort/medium
    priority/p1-high
    on Dec 1, 2026
  4. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  5. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (6)

    Searches run:

    • python skip test module when module not present in repository pytest importorskip, results: 5
    • open source tool run only CI checks available in the checkout, skip absent check modules, results: 5
    • pytest importorskip skip tests when optional module missing, results: 5
    • tox nox skip environment when dependency module not installed in repository, results: 5
    • pytest importorskip, results: 5
    • pre-commit hook skip missing module check script availability, results: 5

    Sources:

  6. added
    status/ready
    and removed
    status/new
    on Dec 1, 2026
  7. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

  8. added
    owner/service
    and removed
    owner/service
    on Dec 1, 2026
  9. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Plan state: branch fix/8021-plans-name-ci-rows-that-only, draft pull request #8032. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.

    The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:

    1. Add the row availability module and its row table: 37389 tokens
    2. Skip a whole-row gate check whose module the checkout lacks: 40928 tokens
    3. Skip the domain row where its gate module is absent: 33423 tokens
    4. Refuse a verify command that names a row the checkout cannot run: 51698 tokens

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • major verify_form at tasks (2): Group 2 changes tests/commands/test_ci_domain_row.py, but its verify runs only tests/commands/test_ci_gate_rows.py. A wrong update of the domain row test passes the group verify. Evidence: "uv run devops ci test tests/commands/test_ci_gate_rows.py"
    • minor ignores_existing_code at tasks (1): Group 1 adds test_the_gate_rows_run_the_main_of_their_module, which repeats the existing test_a_gate_row_runs_the_main_of_its_module in tests/commands/test_ci_gate_rows.py. The new test proves nothing that the existing test does not prove. Evidence: "def test_a_gate_row_runs_the_main_of_its_module(row: str, module: str) -> None:"
    • minor ignores_existing_code at tasks (1): Group 1 adds WHOLE_ROW_GATE_MODULES while CONST_GATE_MODULE_ROWS already maps each gate module to its row. The second table can drift from the first. Evidence: "CONST_GATE_MODULE_ROWS: Final[dict[str, str]] = {"
    • minor false_premise at design (rejected): The rejected evidence says path_problems starts no program. path_problems calls caller_problems, and StagedTree.callers starts git grep with run_subprocess. Evidence: "proc = run_subprocess("
    • minor spec_delta_wrong at spec ci-gate-rows (A whole-row gate check is skipped where its module is absent): This requirement holds the scenario k8s row in a checkout with its gate module, where the row runs. The issue has a separate criterion for the row that runs, and the requirement text states only the absent case. Evidence: "k8s row in a checkout with its gate module"
    • minor spec_delta_wrong at spec ci-gate-rows (The domain row is skipped where no domain is configured): The modified requirement needs a config with no domain and the gate module file. Its second scenario sets a domain and holds no gate module. The requirement text does not state that case, and its name does not cover it. Evidence: "the config sets a domain, the checkout holds no tests/gate/configured_domain.py, and devops ci --only domain runs"
  10. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    The stage job staged the plan of draft pull request #8032. The plan state comment of #8032 holds the branch, the task groups and the findings.

    The default branch changed these paths that the plan names, after the commit that the planner read. Read the commits before you judge the plan:

    The runs of the planner and the review made 201 model request(s), and used 16955656 input tokens and 407553 output tokens. The tool calls, in order:

    Run 1 (stage):

    1. read_file({"path":"src/devops_cli/commands/ci.py","start_line":580,"end_line":700})
    2. search_code({"text":"tests.gate.","path":"src/devops_cli/config/constants.py"})
    3. read_file({"path":"src/devops_cli/config/constants.py","start_line":2755,"end_line":2800})
    4. read_file({"path":"src/devops_cli/commands/ci.py","start_line":1060,"end_line":1140})
    5. search_code({"path":"src/devops_cli/commands/ci.py","text":"host_refusal"})
    6. search_code({"path":"src/devops_cli/commands/ci.py","text":"_python_check_cmd"})
    7. read_file({"end_line":910,"path":"src/devops_cli/commands/ci.py","start_line":845})
    8. read_file({"end_line":220,"path":"src/devops_cli/commands/ci.py","start_line":180})
    9. search_code({"path":"src/devops_cli/commands/ci.py","text":"_get_project_root"})
    10. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"check_gates"})
    11. read_file({"end_line":150,"path":"src/devops_cli/commands/ci.py","start_line":125})
    12. read_file({"end_line":3060,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2900})
    13. search_code({"text":"must start with 'uv run devops'"})
    14. search_code({"text":"runnable by the step"})
    15. read_file({"end_line":4350,"path":"src/devops_cli/lang/en/messages.py","start_line":4330})
    16. search_code({"text":"stage_group_verify_command"})
    17. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"def form_problems"})
    18. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"uv run devops"})
    19. search_code({"text":"def form_problems"})
    20. list_files({"directory":"src/devops_cli/roadmap/stage"})
    21. read_file({"end_line":400,"path":"src/devops_cli/roadmap/stage/stage_form.py","start_line":200})
    22. read_file({"end_line":200,"path":"src/devops_cli/roadmap/stage/stage_form.py","start_line":1})
    23. file_symbols({"path":"src/devops_cli/roadmap/verification_command.py"})
    24. read_file({"end_line":290,"path":"src/devops_cli/roadmap/verification_command.py","start_line":195})
    25. read_file({"end_line":1800,"path":"src/devops_cli/commands/ci.py","start_line":1740})
    26. search_code({"path":"src/devops_cli/commands/ci.py","text":"def _parse_row_names"})
    27. read_file({"end_line":175,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":110})
    28. search_code({"path":"src/devops_cli/roadmap/stage/stage_paths.py","text":"class StagedTree"})
    29. read_spec({"capability":"roadmap-stage/verification"})
    30. read_spec({"capability":"ci-gate-rows","requirement":"The domain row is skipped where no domain is configured"})
    31. read_spec({"capability":"roadmap-stage/task-groups"})
    32. read_spec({"capability":"roadmap-implement-step/verification"})
    33. search_code({"path":"openspec/specs","text":"uv run devops' and"})
    34. search_code({"path":"openspec/specs","text":"starts with 'uv run devops"})
    35. search_code({"path":"openspec/specs","text":"stage_form.py"})
    36. search_code({"path":"openspec/specs","text":"form_problems"})
    37. read_spec({"capability":"roadmap-stage/task-groups","requirement":"A verify command holds no backtick"})
    38. read_file({"end_line":200,"path":"openspec/specs/roadmap-stage/task-groups/spec.md","start_line":160})
    39. search_code({"path":"openspec/specs/roadmap-stage","text":"uv run devops"})
    40. search_code({"path":"openspec/specs","text":"A verify command"})
    41. search_code({"path":"openspec/specs","text":"stage_problem_verify"})
    42. references({"name":"host_refusal"})
    43. list_files({"directory":"tests/ci"})
    44. search_code({"text":"def ci_root"})
    45. read_file({"path":"tests/support/ci_root.py","start_line":1,"end_line":75})

    Run 2 (stage):

    1. read_file({"path":"src/devops_cli/commands/ci.py","start_line":1088,"end_line":1105})
    2. search_code({"text":"class CheckSpec"})
    3. search_code({"text":"class CheckResult"})
    4. search_code({"text":"class StagedTree"})
    5. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":117,"end_line":160})
    6. read_file({"path":"src/devops_cli/commands/ci.py","start_line":615,"end_line":645})
    7. search_code({"text":"def path_problems"})
    8. list_files({"directory":"src/devops_cli/ci"})
    9. search_code({"text":"def get_check_spec"})
    10. search_code({"text":"def _get_project_root"})
    11. read_file({"path":"src/devops_cli/config/constants.py","start_line":2760,"end_line":2800})
    12. read_file({"path":"src/devops_cli/commands/ci.py","start_line":860,"end_line":900})
    13. read_file({"path":"tests/support/ci_root.py"})
    14. read_file({"end_line":210,"path":"src/devops_cli/commands/ci.py","start_line":162})
    15. search_code({"text":"configured_domain","path":"src/devops_cli/commands/ci.py"})
    16. find_issues({"terms":"devops ci row gate module skip"})
    17. read_spec({"capability":"roadmap-stage/paths-gate"})

    Run 3 (stage):

    1. list_files({"directory":"src/devops_cli/ci"})
    2. list_files({"directory":"tests/ci"})
    3. read_file({"path":"src/devops_cli/config/constants.py","start_line":2760,"end_line":2795})
    4. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":110,"end_line":170})
    5. read_file({"path":"src/devops_cli/commands/ci.py","start_line":190,"end_line":225})
    6. read_file({"path":"src/devops_cli/commands/ci.py","start_line":600,"end_line":660})
    7. read_file({"path":"src/devops_cli/commands/ci.py","start_line":860,"end_line":905})
    8. search_code({"text":"_python_check_cmd(","path":"src/devops_cli/commands/ci.py"})
    9. search_code({"text":"def get_check_spec","path":"src/devops_cli/commands/ci.py"})
    10. search_code({"text":"def path_problems","path":"src/devops_cli/roadmap/stage/stage_paths.py"})
    11. read_file({"end_line":1150,"path":"src/devops_cli/commands/ci.py","start_line":1090})
    12. read_file({"end_line":760,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":655})
    13. read_file({"end_line":3050,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2955})
    14. read_file({"path":"tests/support/ci_root.py"})
    15. search_code({"path":"src/devops_cli/roadmap/stage","text":"verify"})
    16. read_file({"path":"src/devops_cli/roadmap/verification_command.py","start_line":195,"end_line":300})
    17. search_code({"path":"src/devops_cli/commands/ci.py","text":"--only"})
    18. search_code({"path":"src/devops_cli/commands/ci.py","text":"_parse_check_names("})
    19. read_file({"end_line":1800,"path":"src/devops_cli/commands/ci.py","start_line":1745})
    20. read_file({"end_line":1190,"path":"src/devops_cli/commands/ci.py","start_line":1146})
    21. read_file({"end_line":110,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":1})
    22. search_code({"path":"src/devops_cli/roadmap","text":"from devops_cli.ci"})
    23. list_files({"directory":"tests/commands"})
    24. read_file({"end_line":60,"path":"tests/commands/test_ci_gate_rows.py","start_line":1})
    25. file_symbols({"path":"tests/commands/test_ci_gate_rows.py"})
    26. references({"name":"host_refusal"})
    27. references({"name":"_domain_host_refusal"})
    28. search_code({"path":"src/devops_cli/roadmap/stage/stage_paths.py","text":"def has"})
    29. search_code({"path":"tests/roadmap/stage/test_roadmap_stage_paths.py","text":"def test_"})
    30. list_files({"directory":"tests/gate"})
    31. search_code({"path":"src/devops_cli/roadmap/stage/stage_paths.py","text":"def has(self, path: str) -> bool:"})
    32. read_file({"end_line":60,"path":"tests/roadmap/stage/test_roadmap_stage_self_acceptance.py","start_line":1})
    33. read_file({"end_line":1110,"path":"tests/roadmap/stage/test_roadmap_stage_paths.py","start_line":1060})
    34. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"stage_bad_change_path"})
    35. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"stage_problem_runner_verify"})
    36. read_file({"end_line":5600,"path":"src/devops_cli/lang/en/messages.py","start_line":5455})
    37. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"stage_problem_self_acceptance"})
    38. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"stage_problem_gate_defect_quote"})
    39. read_file({"end_line":1670,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":1625})
    40. read_file({"end_line":2720,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2670})
    41. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"_PLAN_CHECK_FILE"})
    42. read_spec({"capability":"roadmap-stage/paths-gate"})

    Run 4 (stage):

    1. search_code({"text":"class StagedTree","path":"src/devops_cli/roadmap/stage/stage_paths.py"})
    2. list_files({"directory":"tests/ci"})
    3. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":108,"end_line":200})
    4. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":655,"end_line":675})
    5. list_files({"directory":"tests/roadmap/stage"})

    Run 5 (stage):

    1. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_paths.py"})
    2. search_code({"text":"class StagedTree","path":"src/devops_cli/roadmap/stage"})
    3. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":660,"end_line":712})
    4. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":117,"end_line":160})

    Run 6 (stage_verify):

    1. list_files({"directory":"src/devops_cli/ci"})
    2. list_files({"directory":"tests/ci"})
    3. read_file({"path":"src/devops_cli/config/constants.py","start_line":2755,"end_line":2800})
    4. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":100,"end_line":210})
    5. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":640,"end_line":730})
    6. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2940,"end_line":3010})
    7. read_file({"path":"src/devops_cli/roadmap/verification_command.py","start_line":190,"end_line":280})
    8. search_code({"text":"def _named(","path":"src/devops_cli/roadmap/stage"})
    9. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":210,"end_line":330})
    10. read_file({"path":"src/devops_cli/commands/ci.py","start_line":170,"end_line":240})
    11. read_file({"path":"src/devops_cli/commands/ci.py","start_line":590,"end_line":660})
    12. read_file({"path":"src/devops_cli/commands/ci.py","start_line":860,"end_line":900})
    13. read_file({"path":"src/devops_cli/commands/ci.py","start_line":1080,"end_line":1140})
    14. read_spec({"capability":"ci-gate-rows"})
    15. read_spec({"capability":"roadmap-stage/paths-gate"})
    16. callers({"symbol":"path_problems"})
    17. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3010,"end_line":3140})
    18. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"row_skipped"})
    19. search_code({"path":"src/devops_cli","text":"is not in this repository"})
    20. read_file({"path":"tests/gate/k8s.py","start_line":1,"end_line":25})
    21. read_file({"path":"tests/support/ci_root.py","start_line":38,"end_line":55})
    22. search_code({"path":"src/devops_cli/core/process.py","text":"def prepare_tool_cmd"})
    23. read_file({"path":"src/devops_cli/commands/ci.py","start_line":1140,"end_line":1200})
    24. read_file({"path":"src/devops_cli/core/process.py","start_line":650,"end_line":700})
    25. read_issue({"number":7929})
    26. read_issue({"number":8015})
    27. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":560,"end_line":645})
    28. search_code({"path":"src/devops_cli/roadmap/stage/stage_paths.py","text":"def caller_problems"})
    29. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":392,"end_line":430})
    30. list_files({"directory":"tests/roadmap/stage"})
    31. read_file({"path":"src/devops_cli/ci/__init__.py","start_line":1,"end_line":40})
    32. search_code({"path":"src/devops_cli/roadmap/stage","text":"def criterion_problems"})
    33. search_code({"path":"src/devops_cli/roadmap","text":"acceptance_criteria"})
    34. read_file({"path":"src/devops_cli/roadmap/stage/stage_criteria.py","start_line":225,"end_line":360})
    35. search_code({"path":"tests","text":"MESSAGES.ci.row_skipped"})
    36. search_code({"path":"tests","text":"literal message"})
    37. search_code({"text":"host_refusal"})
    38. search_code({"path":"src/devops_cli/roadmap/stage","text":"def group_files_problems"})
    39. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2751,"end_line":2830})
    40. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2860,"end_line":2968})
    41. list_files({"directory":"tests/gate"})
    42. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":1,"end_line":60})
    43. read_issue({"number":7525})
    44. find_issues({"terms":"tests.gate k8s row ModuleNotFoundError"})
    45. search_code({"path":"docs/TESTING.md","text":"verify"})
    46. search_code({"path":"src/devops_cli/core/repo.py","text":"def find_gate_root"})
    47. read_file({"path":"src/devops_cli/core/repo.py","start_line":240,"end_line":330})
    48. read_file({"path":"src/devops_cli/ci/gate_runner.py","start_line":1,"end_line":100})
    49. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_paths.py","start_line":1,"end_line":80})
    50. search_code({"text":"\"domain\"","path":"tests"})
    51. search_code({"path":"tests/commands/test_ci.py","text":"--check"})
    52. read_file({"path":"tests/commands/test_ci.py","start_line":680,"end_line":760})
    53. read_file({"path":"tests/commands/test_ci.py","start_line":895,"end_line":925})
    54. read_file({"path":"tests/commands/test_ci.py","start_line":1040,"end_line":1145})
    55. read_file({"path":"tests/commands/test_ci.py","start_line":1395,"end_line":1430})
    56. read_file({"path":"tests/commands/test_ci.py","start_line":913,"end_line":1046})
    57. search_code({"path":"tests/commands/test_ci.py","text":"k8s"})
    58. search_code({"path":"tests/commands/test_ci.py","text":"startup-imports"})
    59. search_code({"path":"tests","text":"roadmap-eval-commits"})
    60. search_code({"path":"tests","text":"test-tree"})

    Run 7 (stage):

    1. read_file({"path":"tests/commands/test_ci_domain_row.py","start_line":1,"end_line":50})
    2. list_files({"directory":"tests/commands"})

    Run 8 (stage):

    1. list_files({"directory":"src/devops_cli/ci"})
    2. file_symbols({"path":"tests/commands/test_ci_domain_row.py"})
    3. search_code({"text":"\"--only\", \"test-tree\"","path":"tests"})
    4. search_code({"text":"\"--only\", \"k8s\"","path":"tests"})
    5. read_file({"path":"tests/commands/test_ci_gate_rows.py"})
    6. search_code({"path":"src/devops_cli/commands/ci.py","text":"host_refusal"})
    7. read_file({"path":"tests/support/ci_root.py"})
    8. read_file({"path":"src/devops_cli/commands/ci.py","start_line":600,"end_line":660})
    9. search_code({"path":"src/devops_cli/commands/ci.py","text":"_get_project_root"})
    10. read_file({"path":"src/devops_cli/commands/ci.py","start_line":850,"end_line":900})
    11. read_file({"path":"src/devops_cli/config/constants.py","start_line":2760,"end_line":2795})
    12. references({"name":"CONST_GATE_MODULE_ROWS"})
    13. read_file({"end_line":90,"path":"src/devops_cli/ci/fail_to_pass.py","start_line":60})
    14. read_file({"end_line":745,"path":"src/devops_cli/ci/fail_to_pass.py","start_line":720})
    15. search_code({"path":"src/devops_cli/roadmap/stage/stage_paths.py","text":"def path_problems"})
    16. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_paths.py"})
    17. read_file({"end_line":710,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":663})
    18. read_file({"end_line":310,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":276})
    19. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"stage_bad_change_path"})
    20. references({"name":"stage_bad_change_path"})
    21. callers({"symbol":"path_problems"})
    22. search_code({"text":"path_problems(","path":"src"})
    23. list_files({"directory":"tests/roadmap/stage"})
    24. read_file({"end_line":280,"path":"src/devops_cli/roadmap/verification_command.py","start_line":200})
    25. search_code({"path":"tests","text":"ci_root"})
    26. search_code({"path":"tests","text":"\"startup-imports\""})
    27. search_code({"path":"tests","text":"\"swallowed-failures\""})
    28. search_code({"path":"tests","text":"roadmap-eval-commits"})
    29. search_code({"path":"src","text":"\"--only\""})
    30. read_file({"end_line":90,"path":"src/devops_cli/roadmap/toolchains.py","start_line":20})
    31. read_file({"end_line":150,"path":"src/devops_cli/commands/ci.py","start_line":130})
    32. search_code({"path":"tests/invariants","text":"MESSAGES"})
    33. references({"name":"row_refusal"})
    34. references({"name":"ci_check_rows"})
    35. references({"name":"WHOLE_ROW_GATE_MODULES"})
    36. references({"name":"row_verify_problems"})
    37. list_files({"directory":"tests/gate"})
    38. read_file({"end_line":160,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":138})

    Run 9 (stage):

    1. list_files({"directory":"src/devops_cli/ci"})
    2. list_files({"directory":"tests/ci"})
    3. list_files({"directory":"tests/gate"})
    4. read_file({"path":"src/devops_cli/config/constants.py","start_line":2760,"end_line":2800})
    5. read_file({"path":"tests/gate/k8s.py","start_line":1,"end_line":25})
    6. read_file({"path":"src/devops_cli/commands/ci.py","start_line":190,"end_line":215})
    7. read_file({"path":"src/devops_cli/commands/ci.py","start_line":600,"end_line":660})
    8. read_file({"path":"src/devops_cli/commands/ci.py","start_line":840,"end_line":900})
    9. read_file({"end_line":1160,"path":"src/devops_cli/commands/ci.py","start_line":1080})
    10. read_file({"end_line":150,"path":"src/devops_cli/commands/ci.py","start_line":125})
    11. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_paths.py"})
    12. file_symbols({"path":"src/devops_cli/roadmap/verification_command.py"})
    13. read_file({"end_line":60,"path":"tests/support/ci_root.py","start_line":30})
    14. list_files({"directory":"tests/commands"})
    15. read_file({"end_line":712,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":660})
    16. read_file({"end_line":300,"path":"src/devops_cli/roadmap/verification_command.py","start_line":205})
    17. search_code({"text":"CONST_GATE_MODULE_ROWS","path":"src"})
    18. references({"name":"row_refusal"})
    19. references({"name":"WHOLE_ROW_GATE_MODULES"})
    20. references({"name":"ci_check_rows"})
    21. search_code({"text":"row_skipped","path":"src/devops_cli/lang/en/messages.py"})
    22. read_file({"end_line":300,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":276})
    23. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"stage_bad_change_path"})
    24. read_file({"end_line":60,"path":"tests/commands/test_ci_gate_rows.py","start_line":1})
    25. search_code({"path":"tests","text":"\"--only\", \"k8s\""})
    26. read_file({"end_line":3030,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":2960})
    27. read_spec({"capability":"roadmap-stage/paths-gate"})
    28. list_files({"directory":"tests/roadmap/stage"})
    29. read_file({"end_line":5470,"path":"src/devops_cli/lang/en/messages.py","start_line":5455})
    30. references({"name":"test_row_availability"})
    31. search_code({"path":"tests","text":"\"test-tree\""})
    32. search_code({"path":"tests","text":"\"startup-imports\""})
    33. search_code({"path":"tests/commands/test_ci_domain_row.py","text":"ci_root"})
    34. read_spec({"capability":"ci-gate-rows","requirement":"The domain row is skipped where no domain is configured"})
    35. file_symbols({"path":"tests/commands/test_ci_domain_row.py"})

    Run 10 (stage):

    1. read_file({"path":"src/devops_cli/config/constants.py","start_line":2755,"end_line":2800})
    2. read_file({"path":"src/devops_cli/commands/ci.py","start_line":600,"end_line":660})
    3. read_file({"path":"src/devops_cli/commands/ci.py","start_line":865,"end_line":915})
    4. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":650,"end_line":712})
    5. list_files({"directory":"src/devops_cli/ci"})
    6. list_files({"directory":"tests/ci"})
    7. read_file({"path":"tests/commands/test_ci_gate_rows.py","start_line":1,"end_line":60})
    8. read_file({"path":"tests/support/ci_root.py","start_line":25,"end_line":60})
    9. read_file({"end_line":215,"path":"src/devops_cli/commands/ci.py","start_line":128})
    10. search_code({"text":"row_skipped","path":"src/devops_cli/lang/en/messages.py"})
    11. search_code({"text":"is not in this repository"})
    12. read_file({"end_line":20,"path":"tests/gate/k8s.py","start_line":1})
    13. read_file({"end_line":60,"path":"tests/commands/test_ci_domain_row.py","start_line":1})
    14. read_spec({"capability":"ci-gate-rows","requirement":"The domain row is skipped where no domain is configured"})
    15. references({"name":"row_refusal"})
    16. read_file({"end_line":280,"path":"src/devops_cli/roadmap/verification_command.py","start_line":200})
    17. read_file({"end_line":1200,"path":"src/devops_cli/commands/ci.py","start_line":1080})
    18. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_paths.py"})
    19. list_files({"directory":"tests/gate"})
    20. search_code({"path":"tests/roadmap/stage/test_roadmap_stage_paths.py","text":"path_problems"})
    21. search_code({"path":"src/devops_cli/roadmap/stage/stage_change.py","text":"*path_problems("})
    22. read_file({"end_line":300,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":145})
    23. list_files({"directory":"src/devops_cli/lang"})
    24. list_files({"directory":"tests/lang"})
    25. read_file({"end_line":2475,"path":"src/devops_cli/lang/en/messages.py","start_line":2455})
    26. find_issues({"terms":"devops ci row gate module"})
    27. read_issue({"number":7525})

    Run 11 (stage):

    1. read_file({"path":"src/devops_cli/config/constants.py","start_line":2755,"end_line":2800})
    2. search_code({"text":"tests.gate","path":"src/devops_cli/ci/fail_to_pass.py"})
    3. read_file({"path":"src/devops_cli/ci/fail_to_pass.py","start_line":1,"end_line":80})
    4. read_file({"path":"src/devops_cli/commands/ci.py","start_line":618,"end_line":648})
    5. read_file({"path":"src/devops_cli/commands/ci.py","start_line":875,"end_line":900})
    6. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"row_skipped"})
    7. read_file({"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":130,"end_line":200})
    8. read_file({"end_line":715,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":655})
    9. read_file({"end_line":216,"path":"src/devops_cli/roadmap/verification_command.py","start_line":200})
    10. read_file({"end_line":3030,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3010})
    11. read_file({"end_line":30,"path":"tests/commands/test_ci_gate_rows.py","start_line":1})
    12. read_file({"end_line":70,"path":"tests/support/ci_root.py","start_line":1})
    13. read_file({"end_line":50,"path":"tests/commands/test_ci_domain_row.py","start_line":20})
    14. read_file({"end_line":212,"path":"src/devops_cli/commands/ci.py","start_line":198})
    15. read_file({"end_line":150,"path":"src/devops_cli/commands/ci.py","start_line":130})
    16. search_code({"path":"src/devops_cli/commands/ci.py","text":"_python_check_cmd("})
    17. search_code({"path":"src/devops_cli/commands/ci.py","text":"host_refusal="})
    18. list_files({"directory":"tests/ci"})
    19. search_code({"text":"row_gate_module_absent"})
    20. search_code({"text":"stage_row_not_in_repository"})
    21. search_code({"path":"src/devops_cli/lang/en/messages.py","text":"stage_problem_missing_module_test"})
    22. read_spec({"capability":"ci-gate-rows","requirement":"The domain row is skipped where no domain is configured"})
    23. read_file({"end_line":20,"path":"tests/gate/k8s.py","start_line":10})
    24. read_file({"end_line":2470,"path":"src/devops_cli/lang/en/messages.py","start_line":2455})
    25. search_code({"text":"WHOLE_ROW_GATE_MODULES"})
    26. list_files({"directory":"src/devops_cli/ci"})
    27. list_files({"directory":"tests/gate"})

    Run 12 (stage_verify):

    1. read_file({"path":"src/devops_cli/config/constants.py","start_line":2755,"end_line":2800})
    2. read_spec({"capability":"ci-gate-rows"})
    3. read_spec({"capability":"ci-gate-rows","requirement":"The domain row is skipped where no domain is configured"})
    4. read_spec({"capability":"roadmap-stage/paths-gate"})
    5. read_file({"path":"src/devops_cli/commands/ci.py","start_line":590,"end_line":660})
    6. read_file({"path":"src/devops_cli/commands/ci.py","start_line":870,"end_line":900})
    7. read_file({"end_line":1140,"path":"src/devops_cli/commands/ci.py","start_line":1060})
    8. read_file({"end_line":270,"path":"src/devops_cli/roadmap/verification_command.py","start_line":195})
    9. read_file({"end_line":200,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":130})
    10. read_file({"end_line":720,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":655})
    11. read_file({"end_line":220,"path":"src/devops_cli/commands/ci.py","start_line":190})
    12. read_file({"end_line":1790,"path":"src/devops_cli/commands/ci.py","start_line":1750})
    13. search_code({"text":"--only\", \"test-tree","path":"tests"})
    14. search_code({"text":"get_check_spec(\"k8s\").cmd","path":"tests"})
    15. search_code({"path":"tests","text":"devops ci --check --only"})
    16. list_files({"directory":"src/devops_cli/ci"})
    17. read_file({"end_line":320,"path":"tests/roadmap/stage/test_roadmap_stage_scenario_evidence.py","start_line":235})
    18. search_code({"path":"tests/support","text":"verify"})
    19. search_code({"path":"tests","text":"only k8s"})
    20. search_code({"path":"tests/fixtures/roadmap_eval/stage/good-2950-the-alert-case-is-a-manifest-group","text":"verify"})
    21. search_code({"path":"tests/fixtures/roadmap_eval/stage","text":"--check --only k8s"})
    22. callers({"symbol":"path_problems"})
    23. search_code({"path":"tests","text":"stage_row_not_in_repository"})
    24. search_code({"text":"path_problems(","path":"src"})
    25. read_issue({"number":7929})
    26. read_issue({"number":8015})
    27. read_file({"end_line":2470,"path":"src/devops_cli/lang/en/messages.py","start_line":2450})
    28. read_file({"end_line":3030,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":3005})
    29. list_files({"directory":"tests/gate"})
    30. list_files({"directory":"tests/ci"})
    31. search_code({"path":"src/devops_cli/roadmap/stage/stage_paths.py","text":"verify"})
    32. search_code({"path":"src/devops_cli/roadmap","text":"ci_check_rows"})
    33. read_file({"end_line":150,"path":"src/devops_cli/commands/ci.py","start_line":125})
    34. read_file({"end_line":25,"path":"tests/gate/k8s.py","start_line":1})
    35. search_code({"path":"src","text":"verify_reason_"})
    36. search_code({"path":"src","text":"stage_row_not_in_repository"})
    37. read_file({"end_line":1000,"path":"src/devops_cli/commands/ci.py","start_line":899})
    38. read_file({"end_line":1060,"path":"src/devops_cli/commands/ci.py","start_line":1000})
    39. search_code({"path":"src","text":"read_verification("})
    40. read_file({"end_line":1100,"path":"src/devops_cli/roadmap/implement/implement_run.py","start_line":1040})
    41. read_spec({})
    42. read_file({"end_line":85,"path":"src/devops_cli/ci/fail_to_pass.py","start_line":60})
    43. search_code({"path":"docs/TESTING.md","text":"mirror"})
    44. read_file({"end_line":60,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":1})
    45. read_file({"end_line":90,"path":"src/devops_cli/roadmap/stage/stage_paths.py","start_line":60})
    46. list_files({"directory":"openspec/changes"})
    47. list_files({"directory":"openspec/changes/3427-refuse-a-group-verify-that-runs"})
    48. read_file({"path":"openspec/changes/3427-refuse-a-group-verify-that-runs/proposal.md"})
    49. list_files({"directory":"openspec/changes/3427-refuse-a-group-verify-that-runs/specs"})
    50. list_files({"directory":"openspec/changes/archive"})
    51. search_code({"path":"openspec/changes/archive","text":"stage-preset-documents-check"})
    52. search_code({"path":"src/devops_cli/roadmap/stage","text":"documents"})
    53. search_code({"path":"tests/fixtures/roadmap_eval","text":"\"verify\": \"uv run devops ci --check"})
    54. search_code({"path":"tests/fixtures/roadmap_eval","text":"--only test-tree"})
    55. search_code({"text":"row_refusal"})
    56. search_code({"text":"ci_check_rows"})
    57. search_code({"path":"tests","text":"row_skipped"})
    58. search_code({"path":"tests/lang","text":"dataclasses.fields"})
    59. list_files({"directory":"tests/lang"})
    60. search_code({"path":"docs/TESTING.md","text":"tests/gate"})
    61. search_code({"path":"docs/TESTING.md","text":"row of 'devops ci'"})
    62. read_issue({"number":7525})

    Tool calls: callers=3 (empty=0), file_symbols=9 (empty=0), find_issues=3 (empty=0), list_files=38 (empty=0), read_file=152 (empty=0), read_issue=7 (empty=0), read_spec=17 (empty=0), references=14 (empty=9), search_code=121 (empty=28)

    The stage job read the open pull requests and their files in 1 GraphQL request(s).

    The plan request held these comments of the item whole: #8021 (comment), #8021 (comment), #8021 (comment), #8021 (comment).

    Warnings:

    • Scoped test tests/ci/test_row_availability.py does not exist.
  11. added
    owner/service
    and removed
    owner/service
    on Dec 1, 2026
  12. dan-petty commented on Dec 1, 2026

    @dan-petty
    OwnerAuthor

    Superseded by the owner decisions of 2026-12-01: the Service jobs give the agent a project-neutral prompt, and the pre-commit hooks of the repository and its pull request CI are the only checks. The toolchain presets and the devops ci command are deleted. See #8040 (implement and fix jobs) and #8039 (stage job). The stop that this item reports ends with #8040, which runs no verification command of a plan.

  13. removed
    status/ready
    owner/service
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p1-highscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions