Skip to content

feat(roadmap): audit command lists and checks test registry declarations #3332

Description

@dan-petty

Problem

#3254 introduces REGISTRY_COUNTS declarations in test modules to inform the stage planner of required registry and ratchet entries.

Currently, developers and agents have no command to audit test modules for missing declarations or to list all active registries and what they count.

Without an audit tool, new ratchet tests added in other areas of the test suite (such as CLI startup import budgets in tests/commands/test_cli_startup_imports.py or invariant checks in tests/invariants/) will not declare their counts, causing plans to miss required entries.

Proposed change

  1. Add a command devops roadmap registries (or devops roadmap audit registries) that inspects the repository test modules using src/devops_cli/roadmap/stage_registry.py.
  2. List each declared registry entry with its token, kind, target path, and source file line.
  3. Check for common ratchet patterns (such as tests asserting len(...) == ... on constants or tables) that lack REGISTRY_COUNTS declarations and warn the author.
  4. Add unit tests for the audit command in tests/commands/test_roadmap_registries.py.

Acceptance criteria

  1. devops roadmap registries prints the active test registry declarations in tabular format.
  2. A test asserts that the command discovers all module-level REGISTRY_COUNTS declarations across tests/.
  3. The command exits 0 and reports when all ratchet declarations are valid.

Source: #3303

Alternatives check of 2026-11-06: none.
Tool: none found.

Proposed design

Problem statement

The stage planner reads REGISTRY_COUNTS declarations from the test modules, but no command lists those declarations and no command reports a ratchet test that lacks one. A new ratchet test in tests/invariants/ or a budget test such as tests/commands/test_cli_startup_imports.py can therefore miss its declaration, and a plan can miss a required registry or ratchet entry. This item adds devops roadmap registries to list the declarations and audit them.

Acceptance criteria

Requirement: Registry listing

The devops roadmap registries command SHALL print each declared registry entry with its token, its kind, its target path and its source path:line.

Scenario: One declared entry

  • WHEN A test module under tests/ holds one REGISTRY_COUNTS entry.
  • THEN The command prints one row that holds the token, the kind, the target path and the source path:line of that entry.

Requirement: Discovery without import

The command SHALL read each module-level REGISTRY_COUNTS declaration with ast and MUST NOT import a test module.

Scenario: A test module that fails on import

  • WHEN A test module under tests/ holds a REGISTRY_COUNTS declaration and raises an error at import time.
  • THEN The command lists the declaration of that module and exits 0.

Requirement: The repository declarations

The command SHALL list the declarations of the four test modules that #3254 added.

Scenario: The four declaring modules

  • WHEN The command runs on the repository.
  • THEN The output names tests/roadmap/test_roadmap_dry_runs.py, tests/roadmap/test_roadmap_limit_classes.py, tests/support/fakes/roadmap_store.py and tests/telemetry/test_telemetry_instruments.py, each with a path:line.

Requirement: A valid audit

The command SHALL exit 0 and print the count of valid declarations when no declaration is invalid and no ratchet assertion lacks a declaration.

Scenario: All declarations valid

  • WHEN Every REGISTRY_COUNTS declaration holds plain literals and every ratchet assertion names a declared entry.
  • THEN The command prints the count of valid declarations and exits 0.

Requirement: A length ratchet without a declaration

The command SHALL warn when a test module asserts len(<name>) == <int> on an upper-case constant name or a module-level table of that module and declares no REGISTRY_COUNTS entry for <name>.

Scenario: A length assertion on a module table with no declaration

  • WHEN A test module defines TABLE = ("a", "b", "c") at module level, asserts len(TABLE) == 3 and holds no REGISTRY_COUNTS entry for TABLE.
  • THEN The command prints a warning with the path:line of the assertion and exits 1.

Requirement: A local length assertion

The command MUST NOT warn on len(<name>) == <int> when <name> is a local variable of a test function.

Scenario: A local list

  • WHEN A test function assigns rows = [1, 2, 3] and asserts len(rows) == 3, and the module declares no REGISTRY_COUNTS entry for rows.
  • THEN The command prints no warning for the assertion and exits 0.

Requirement: A limit tuple without a declaration

The command SHALL warn when a test module compares a tuple of upper-case constant names with a tuple of plain integers and declares no REGISTRY_COUNTS entry for those names.

Scenario: A limit tuple with no declaration

  • WHEN A test module asserts (A, B, C, D) == (550, 75, 1100, 250) and holds no REGISTRY_COUNTS entry for A.
  • THEN The command prints a warning with the path:line of the assertion and exits 1.

Requirement: An invalid declaration

The command SHALL report a REGISTRY_COUNTS declaration that is not a plain literal with its path:line, and exit 1.

Scenario: A computed declaration

  • WHEN A test module sets REGISTRY_COUNTS to a value that calls a function.
  • THEN The command prints an error with the path:line of the declaration and exits 1.

Requirement: Machine-readable output

The command SHALL emit the same registry rows as JSON when it is given --json.

Scenario: The JSON format

  • WHEN The command runs with --json.
  • THEN The output parses as JSON and holds one object for each entry with the token, the kind, the target path and the source path:line.

Requirement: The dry-run class

The command SHALL declare the no-external-request dry-run class.

Scenario: The dry-run ratchet

  • WHEN The devops roadmap registries command is registered in the roadmap group.
  • THEN get_dry_run_class returns no-external-request and the dry-run class ratchet reports no unclassified command.

Requirement: Generated documents

The change SHALL regenerate the generated command documents and devops docs check MUST pass.

Scenario: The docs row

  • WHEN The command is added and uv run devops docs generate --sync-readme runs.
  • THEN docs/CLI_REFERENCE.md and docs/commands/roadmap.md name the command and uv run devops docs check exits 0.

Existing Tool Considered

ast-grep is the open, maintained structural search tool that the project already pins (ast-grep-cli==0.51.0 in CHANGELOG.md:3086) and runs over tests/ (.pre-commit-config.yaml:69). A YAML rule such as .ast-grep/rules/test-elapsed-upper-bound.yml finds a Python pattern inside an assert and reports its path:line, so it can find a module-level REGISTRY_COUNTS assignment or a len(...) == <int> assertion. It lacks this repository's semantics: it cannot split each tuple entry into kind, token and target path, compare an assertion with the declarations of its own module, count the valid entries, or turn a missing declaration into the audit's exit code. The command therefore builds that semantic layer on the Python standard library ast module, reusing counts_in and registry_table of src/devops_cli/roadmap/stage/stage_registry.py and adding no second parser. Written cost: about 40,000 tokens to build, 6,000 tokens a month to keep, 15,000 tokens to fix the first defects, and about 3 hours of elapsed time.

Key questions

  • Which module holds the REGISTRY_COUNTS reader that the audit uses?: src/devops_cli/roadmap/stage/stage_registry.py: counts_in at line 72 reads one module and registry_table at line 98 walks the test tree. The path in the issue body, src/devops_cli/roadmap/stage_registry.py, is wrong. The audit reuses this reader and adds no second parser. [sources: src/devops_cli/roadmap/stage/stage_registry.py:72, src/devops_cli/roadmap/stage/stage_registry.py:98, openspec/changes/archive/2026-11-07-3254-list-the-registry-and-ratchet-entries/proposal.md:9]
  • Does the audit import the test modules or read them with ast?: It reads them with ast. The reader's docstring states that it never imports a test module, and the feat(roadmap): list registry and ratchet entries a plan needs #3254 design states that an ast reader reads a declaration without importing the module. [sources: src/devops_cli/roadmap/stage/stage_registry.py:1, openspec/changes/archive/2026-11-07-3254-list-the-registry-and-ratchet-entries/design.md:5]
  • Which four test modules declare REGISTRY_COUNTS today?: tests/roadmap/test_roadmap_dry_runs.py at line 38, tests/roadmap/test_roadmap_limit_classes.py at line 41, tests/support/fakes/roadmap_store.py at line 105 and tests/telemetry/test_telemetry_instruments.py at line 75. [sources: tests/roadmap/test_roadmap_dry_runs.py:38, tests/roadmap/test_roadmap_limit_classes.py:41, tests/support/fakes/roadmap_store.py:105, tests/telemetry/test_telemetry_instruments.py:75, openspec/changes/archive/2026-11-07-3254-list-the-registry-and-ratchet-entries/proposal.md:10]
  • Is feat(roadmap): list registry and ratchet entries a plan needs #3254 delivered, so this item needs no dependency?: Yes. The feat(roadmap): list registry and ratchet entries a plan needs #3254 change is archived, and its REGISTRY_COUNTS reader is on the default branch. [sources: openspec/changes/archive/2026-11-07-3254-list-the-registry-and-ratchet-entries/specs/roadmap-stage/spec.md:4, src/devops_cli/roadmap/stage/stage_registry.py:98]
  • Which command name does the audit use?: devops roadmap registries, a flat subcommand of the existing roadmap group. (best practice) [sources: src/devops_cli/commands/roadmap.py:76, src/devops_cli/commands/roadmap.py:1008, src/devops_cli/commands/roadmap.py:1223]
    • Chosen: devops roadmap registries. The roadmap group adds a subgroup only for eval, review and step; its listing commands, such as inbox and claim, are flat @app.command entries.
    • Rejected: devops roadmap audit registries. It adds a nested group for one command, and the group has no other audit command.
  • Which output format does the command use?: A Rich table by default, built with render_table, plus --format/-f and --json/-j resolved by resolve_format; a non-table format is emitted by emit_serialized. (best practice) [sources: src/devops_cli/commands/roadmap_eval_grades.py:49, src/devops_cli/commands/roadmap_eval_grades.py:52, src/devops_cli/commands/roadmap_eval_grades.py:64, src/devops_cli/output/formatters/tables.py:55]
    • Chosen: A Rich table by default with --format/-f and --json/-j. The report commands of the roadmap group, such as devops roadmap eval grades, already resolve a format and print a table; a script consumer gets JSON without parsing the table.
    • Rejected: A text table only, with no --json. The body asks for a table, but the project's report commands already offer the machine-readable form, and adding it later changes the command's interface.
    • Rejected: JSON only. A person reads the audit in a terminal, and the body asks for a tabular format.
  • Which exit codes does the command use?: It exits 0 when every declaration is valid and no ratchet assertion lacks a declaration. It exits 1 when it reports a missing or an invalid declaration. (best practice) [sources: docs/ERRORS.md:10, docs/ERRORS.md:11, src/devops_cli/commands/roadmap.py:92]
    • Chosen: 0 for a valid audit, 1 for a report. docs/ERRORS.md gives 0 to success and 1 to a failure, and the roadmap command group already exits 1 through _exit_on_failure; a check can gate on it.
    • Rejected: Always 0, with warnings only. A check cannot then refuse a missing declaration.
    • Rejected: 0, 1 and 2, with 2 for an invalid declaration. docs/ERRORS.md gives 2 to a usage error, not to an audit result.
  • Which ratchet patterns does the audit check for a missing declaration?: Two patterns: len(<name>) == <int> where <name> is an upper-case constant name or a module-level table of the module, and an assertion that compares a tuple of upper-case constant names with a tuple of plain integers. A local name is not a ratchet. (best practice) [sources: tests/commands/test_cli_startup_imports.py:97, tests/roadmap/test_roadmap_limit_classes.py:39, tests/support/fakes/roadmap_store.py:105]
    • Chosen: Both patterns, with a constant or module-level name for len(). tests/commands/test_cli_startup_imports.py:99 asserts a tuple of four constants against (550, 75, 1100, 250), so a len() rule alone misses it, and a len() rule that accepts any name would warn on the local lists of most test modules.
    • Rejected: Both patterns without a name restriction. len() of a local list is common and is not a ratchet, so the audit would warn on most test modules and its exit 1 would mean nothing.
    • Rejected: The len() pattern only. It misses the startup-import budget test that the body names.
  • Which companion registrations does a new command need?: The command declares @dry_run_class("no-external-request") because it reads local files and sends no request; the dry-run ratchet refuses an unclassified command, and a no-external-request command needs no --dry-run option. The change also regenerates the generated documents with uv run devops docs generate --sync-readme and passes devops docs check. [sources: tests/invariants/test_dry_run_class_ratchet.py:104, src/devops_cli/dry_run/decorator.py:19, docs/adr/0025-generated-documents-stay-in-git-and-the-project-brain-cites-them.md:21]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 3, 2026
  2. dan-petty commented on Nov 3, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. A developer convenience command that catches missing declarations but does not block a release.
    • Value: Medium. Reduces missed ratchet entries in plans, but the planner can still run without it.
    • Effort: Medium. Requires a new sub-command, pattern scanning of test modules, a tabular output, and unit tests.
    • Related: feat(roadmap): list registry and ratchet entries a plan needs #3254, which asks for a different change. Both work on REGISTRY_COUNTS declarations; #3254 feeds the stage planner, the candidate adds a CLI audit and listing command for developers.
  3. added
    priority/p2-medium
    on Nov 3, 2026
  4. devops-cli-service commented on Nov 3, 2026

    @devops-cli-service
    Contributor

    Refine cannot set this item to Ready at 7df9244 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • The proposal has no problem statement, no acceptance criterion with its requirement, scenario, WHEN and THEN, or no answer to the existing-tool question. State the problem, the requirements with their scenarios, and the open tool that covers the need or the cost of building it.
  5. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor

    Alternatives check: none

    Tool: none found

    Lacks:

    • No general tool was found that lists a repository's module-level REGISTRY_COUNTS declarations with token, kind, target path and source line: that listing is defined by this project's own src/devops_cli/roadmap/stage_registry.py.
    • No general tool was found that knows this project's ratchet conventions (tests asserting len(...) == ... on constants or tables) and warns when a matching test module lacks a REGISTRY_COUNTS declaration.
    • No general tool was found that would ship the requested devops roadmap registries sub-command, its tabular output and its exit-code behaviour for valid declarations.
    • No general tool was found that would provide the unit tests requested in tests/commands/test_roadmap_registries.py for this repository-specific command.

    Searches run:

    • python tool scan test files module-level constants declarations AST audit
    • pytest plugin detect tests asserting len(...) == constant ratchet registry counts
    • python ast library list module level constant declarations across files
    • semgrep python custom rule find missing declaration
    • ast-grep structural search python
    • python audit tool
    • ruff custom rule module level constant
    • open source tool inventory test assertions constants across test suite

    Checked on 2026-11-06. A person decides what this means for the item. The check changes no label and closes no issue.

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

    @devops-cli-service
    Contributor

    Status set to Ready at 8fdeea0 (see proposed design in issue body).

  8. added
    owner/service
    on Nov 13, 2026
  9. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Staged: branch feat/3332-audit-command-lists-and-checks-test, draft pull request #5580. 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:

    1. Read the declarations and the ratchet assertions of a test tree: 40239 tokens
    2. Add the help texts of the roadmap registries subcommand: 26906 tokens
    3. Add the roadmap registries subcommand with its table, JSON output and exit codes: 54179 tokens
    4. Regenerate the command documents: 28136 tokens

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

    • major spec_delta_wrong at spec roadmap-registries-audit (The audit warns on an assertion of a module that declares nothing): The refined issue design requires a warning and exit 1 for a len(TABLE) == 3 assertion when the module holds no entry for TABLE. The plan restricts the refusal to modules that already declare REGISTRY_COUNTS and gives a module with no declaration exit 0. That is the case of tests/commands/test_cli_startup_imports.py, which the issue names. The audit therefore cannot catch a new ratchet test that declares nothing. The plan also drops the separate 'limit tuple without a declaration' requirement and its scenario. Evidence: "The command prints a warning with the path:line of the assertion and exits 1."
    • major criterion_dropped at issue (The command exits 0 and reports when all ratchet declarations are valid.): The plan maps this criterion to group 3, but no test of group 3 checks the exit code, the printed count of valid declarations or the exit 1 on a finding. Group 3's three tests check the table rows, the four declaring modules and the dry-run class. Group 1 tests audit_registries only, not the command's exit code. The --json output has no test either. Evidence: "The command exits 0 and reports when all ratchet declarations are valid."

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

    1. read_file({"path":"src/devops_cli/roadmap/stage/stage_registry.py"})
    2. read_spec({"capability":"roadmap-command-help"})
    3. file_symbols({"path":"src/devops_cli/commands/roadmap.py"})
    4. list_files({"directory":"src/devops_cli/roadmap/stage"})
    5. read_file({"path":"src/devops_cli/commands/roadmap.py","start_line":1040,"end_line":1100})
    6. read_file({"path":"src/devops_cli/commands/roadmap_eval_grades.py","start_line":1,"end_line":90})
    7. read_file({"end_line":100,"path":"src/devops_cli/commands/roadmap.py","start_line":1})
    8. read_file({"end_line":60,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":30})
    9. read_file({"path":"openspec/changes/archive/2026-11-07-3254-list-the-registry-and-ratchet-entries/specs/roadmap-stage/spec.md"})
    10. references({"name":"REGISTRY_COUNTS"})
    11. read_spec({"capability":"roadmap-stage/claims"})
    12. read_spec({"capability":"new-command-scaffold"})
    13. read_spec({"capability":"command-dry-run-class"})
    14. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_registry.py"})
    15. search_code({"text":"eval_grades_repo"})
    16. list_files({"directory":"tests/commands"})
    17. read_file({"path":"tests/commands/test_roadmap_eval_grades.py"})
    18. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":1580,"end_line":1700})
    19. search_code({"text":"len(CLASSES)"})
    20. read_file({"path":"tests/commands/test_cli_startup_imports.py","start_line":88,"end_line":105})
    21. search_code({"text":"assert len("})
    22. read_file({"end_line":90,"path":"src/devops_cli/output/formatters/tables.py","start_line":1})
    23. read_file({"end_line":70,"path":"tests/commands/test_all_commands_help_dryrun.py","start_line":1})
    24. list_files({"directory":"docs/commands"})
    25. read_file({"end_line":130,"path":"tests/invariants/test_dry_run_class_ratchet.py","start_line":60})
    26. read_file({"end_line":112,"path":"tests/support/fakes/roadmap_store.py","start_line":98})
    27. read_file({"end_line":112,"path":"tests/telemetry/test_telemetry_instruments.py","start_line":70})
    28. search_code({"text":"len(INSTRUMENTS)"})
    29. search_code({"text":"len(SERVICE_SERIES)"})
    30. read_file({"end_line":552,"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":540})
    31. read_file({"end_line":60,"path":"tests/roadmap/stage/test_roadmap_stage_split_gates.py","start_line":48})
    32. search_code({"text":"len(REMOVED)"})
    33. search_code({"text":"len(DEFAULTS)"})
    34. read_file({"end_line":200,"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":60})
    35. read_file({"path":"src/devops_cli/dry_run/decorator.py"})
    36. search_code({"text":"is_dry_run()"})
    37. search_code({"text":"sync-readme"})
    38. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    39. read_file({"end_line":130,"path":"src/devops_cli/commands/docs.py","start_line":55})
    40. search_code({"text":"len(LIMITS)"})
    41. file_symbols({"path":"tests/roadmap/test_roadmap_limit_classes.py"})
    42. read_file({"path":"docs/CLI_REFERENCE.md","start_line":1,"end_line":12})
    43. list_files({"directory":"tests/roadmap"})
    44. list_files({"directory":"tests/commands"})
    45. read_file({"path":"src/devops_cli/roadmap/stage/stage_registry.py"})
    46. read_file({"path":"tests/commands/test_all_commands_help_dryrun.py"})
    47. list_files({"directory":"docs/commands"})
    48. list_files({"directory":"tests/roadmap"})
    49. list_files({"directory":"src/devops_cli/output"})
    50. search_code({"text":"REGISTRY_COUNTS: Final"})
    51. file_symbols({"path":"src/devops_cli/output/serialization.py"})
    52. file_symbols({"path":"src/devops_cli/output/formatters/tables.py"})
    53. read_file({"path":"src/devops_cli/commands/roadmap_eval_grades.py","start_line":30,"end_line":80})
    54. list_files({"directory":"tests/roadmap/stage"})
    55. list_files({"directory":"docs"})
    56. read_file({"path":"tests/roadmap/test_roadmap_command_help.py","end_line":80})
    57. search_code({"text":"no-external-request"})
    58. references({"name":"REGISTRY_COUNTS"})
    59. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":44,"end_line":52})
    60. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":103,"end_line":110})
    61. read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":77,"end_line":85})
    62. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    63. file_symbols({"path":"src/devops_cli/dry_run/decorator.py"})
    64. file_symbols({"path":"tests/invariants/test_dry_run_class_ratchet.py"})
    65. list_files({"directory":"src/devops_cli/lang/en"})
    66. file_symbols({"path":"src/devops_cli/commands/roadmap.py"})
    67. read_file({"path":"src/devops_cli/commands/docs.py","start_line":60,"end_line":80})
    68. list_files({"directory":"tests/ai/mcp"})
    69. list_files({"directory":"tests/commands"})
    70. search_code({"text":"HELP.benchmark"})
    71. search_code({"text":"roadmap_app"})
    72. read_file({"path":"tests/lang/test_language_catalogs.py","start_line":60,"end_line":130})
    73. search_code({"text":"class RoadmapHelp"})
    74. search_code({"text":" inbox: str"})
    75. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":1955,"end_line":2000})
    76. search_code({"text":"class Roadmap"})
    77. search_code({"text":"sync-readme"})
    78. search_code({"text":"no-external-request"})
    79. read_file({"path":"src/devops_cli/roadmap/stage/stage_registry.py"})
    80. search_code({"text":"declarations_in"})
    81. list_files({"directory":"src/devops_cli/roadmap"})
    82. list_files({"directory":"tests/roadmap"})
    83. read_file({"path":"tests/roadmap/test_roadmap_limit_classes.py","start_line":36,"end_line":70})
    84. read_file({"path":"tests/telemetry/test_telemetry_instruments.py","start_line":70,"end_line":100})
    85. read_file({"path":"tests/support/fakes/roadmap_store.py","start_line":98,"end_line":125})
    86. read_file({"path":"tests/commands/test_cli_startup_imports.py","start_line":88,"end_line":110})
    87. file_symbols({"path":"tests/roadmap/stage/test_roadmap_stage_registry.py"})
    88. read_file({"path":"src/devops_cli/commands/roadmap_eval_grades.py","start_line":30,"end_line":90})
    89. read_file({"path":"src/devops_cli/output/serialization.py","start_line":1,"end_line":40})
    90. search_code({"text":"class RoadmapCommandHelp"})
    91. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_registry.py","start_line":53,"end_line":80})
    92. read_file({"path":"src/devops_cli/output/serialization.py","start_line":40,"end_line":120})
    93. read_file({"path":"src/devops_cli/lang/en/help.py","start_line":1404,"end_line":1440})
    94. read_file({"path":"src/devops_cli/dry_run/decorator.py","start_line":1,"end_line":60})
    95. read_file({"end_line":130,"path":"src/devops_cli/commands/roadmap.py","start_line":60})
    96. list_files({"directory":"docs/commands"})
    97. search_code({"text":"test_all_commands_help_dryrun"})
    98. search_code({"text":"def inbox_cmd"})
    99. list_files({"directory":"tests/commands"})
    100. read_file({"end_line":1075,"path":"src/devops_cli/commands/roadmap.py","start_line":1040})
    101. file_symbols({"path":"src/devops_cli/output/formatters/tables.py"})
    102. search_code({"text":"def audit_dry_run_ratchet"})
    103. file_symbols({"path":"src/devops_cli/commands/docs.py"})
    104. search_code({"text":"sync-readme"})
    105. read_file({"path":"src/devops_cli/commands/docs.py","start_line":60,"end_line":100})
    106. read_file({"path":"tests/invariants/test_dry_run_class_ratchet.py","start_line":85,"end_line":125})
    107. search_code({"text":"HELP.roadmap"})
    108. list_files({"directory":"tests/ai/mcp"})
    109. read_file({"path":"tests/ai/mcp/test_ai_benchmark_mcp_tool.py","start_line":1,"end_line":60})
    110. search_code({"text":"RoadmapCommandHelp"})
    111. list_files({"directory":"tests/commands"})
    112. search_code({"text":"def resolve_format"})

    Tool calls: file_symbols=12 (empty=0), list_files=19 (empty=0), read_file=47 (empty=0), read_spec=4 (empty=0), references=2 (empty=0), search_code=28 (empty=7)

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

  10. 19 remaining items

  11. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Stopped at ready.

    Failure class: ci_infra.
    Action taken: none.
    Action left: retry: run the item again.

    Step Status Attempts Tokens in/out Last failing command
    group 1 done 2 7760304/48662 pytest on base: tests/roadmap/test_registry_audit.py
    group 2 done 1 1209507/5893 pytest on base: tests/commands/test_roadmap_registries.py
    group 3 done 1 18361498/47727 pytest on base: tests/commands/test_roadmap_registries.py
    group 4 done 1 548426/1763 -
    ready stopped 1 0/0 -

    Reason:

    RoadmapItemChangedError: #3332's Status is In Review on GitHub but was In Progress when this run read it, so someone changed it since and the run stopped before writing it. Nothing was written; the next run reads the issue again and plans with that change.
    

    Last message of the agent (a claim that no check verified): none.

    The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

  12. removed
    status/in-review
    on Nov 14, 2026
  13. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-14 04:48 UTC

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/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions