Skip to content

fix(roadmap): Name the test case that a change invalidates #3443

Not planned

Description

@dan-petty

Problem

A stage plan can name the test module that a change updates and still omit the existing test case whose assertion the change breaks. The stage path check only confirms that a named path exists, and #3414 requires a named test file, so the plan passes both while its task list leaves out the failing case. The implementer finds the case only when the group's verification command runs the module.

Evidence

The plan of #3415 (PR #3437) names tests/roadmap/test_roadmap_stage_probe.py. It adds git ls-tree to the probe, and test_every_command_reads_and_the_checkout_does_not_change asserts the exact set of command names {"cat-file", "grep", "log"}, so the change fails that case. The plan as staged did not name the case. A reviewer had to prototype the change and run the module to find it. The plan names the case only after review.

The same plan first read the staged tree at the start of every run. That choice also changes two tests that pin the probe command count. The plan avoided the change only when the review chose a lazy tree read, and it did not state that constraint.

Suggestion

A behavior group that changes a source file and names an existing test module SHALL name each test case in that module whose assertion the change invalidates, or state that it updates no existing case. The stage context SHALL list the test cases of a named test module that reference a symbol, message or constant of the changed source file, so the planner reads them before it writes the group.

Related: #3414 requires the existing test file; this item requires the existing test case inside that file. #3389 names the test module for a changed function.

Source: #3437

Source: #3437

Dependencies

Proposed design

Problem statement

A stage plan names the test module that a change updates. It can still omit the test case whose assertion the change breaks. The path check passes because the path exists. The implementer finds the failing case only when the module runs. The stage context must list the test cases that reference the changed source. The plan must name each invalidated case.

Acceptance criteria

Requirement: Group names the invalidated test case

A behavior group that changes a source file and names an existing test module SHALL name each test case whose assertion the change invalidates.

Scenario: The probe change breaks a pinned command set

  • WHEN A group adds git ls-tree to the stage probe and names tests/roadmap/test_roadmap_stage_probe.py.
  • THEN The task list of the group names test_every_command_reads_and_the_checkout_does_not_change and the command-name set that this case asserts.

Requirement: Group states that it invalidates no case

A group that names an existing test module and invalidates no assertion in it SHALL state that it updates no existing test case.

Scenario: A group only adds a test case

  • WHEN A group adds a case to tests/roadmap/test_roadmap_stage_probe.py and changes no existing assertion.
  • THEN The task list of the group states that it updates no existing test case.

Requirement: Context lists the referencing test cases

The stage context SHALL list each test case of a named test module that references a symbol, message or constant of the changed source file.

Scenario: A constant of the changed source file

  • WHEN The plan cites tests/roadmap/test_roadmap_stage_probe.py and the changed file defines CONST_ROADMAP_STAGE_PROBE_MAX_COMMANDS.
  • THEN The context lists test_the_probe_stops_at_the_bound_and_lists_the_items_it_skipped as a case that references the constant.

Requirement: Context reports the cases that the bound cuts off

The stage context SHALL name each referencing test case that the probe command bound leaves unlisted.

Scenario: The command bound is reached

  • WHEN The listing of referencing test cases reaches the bound of CONST_ROADMAP_STAGE_PROBE_MAX_COMMANDS.
  • THEN The context names the unlisted cases in the line that reports the reached bound.

Requirement: The plan snapshot holds the rule

The rendered stage plan instructions SHALL contain the rule that a group names the invalidated test case.

Scenario: The rendered instructions of a group

  • WHEN The stage plan renders the instructions for a behavior group.
  • THEN The rendered text contains the rule, and tests/roadmap/__snapshots__/test_roadmap_stage_plan.ambr records it.

Existing Tool Considered

No check has run. git grep, which the stage probe already runs, finds a symbol in a test module. The dynamic contexts of coverage.py (--context) map each test case to the lines that it runs. Neither states which assertion a change invalidates, so the plan instructions must require that statement. A custom detector would cost about 80k tokens to build, 20k tokens each month to keep and fix, and 5 days of elapsed time.

Key questions

  • Which existing test case does a change to the stage probe invalidate?: test_every_command_reads_and_the_checkout_does_not_change in tests/roadmap/test_roadmap_stage_probe.py asserts the exact command-name set {"cat-file", "grep", "log"}, so a new command breaks it. The plan of fix(roadmap): the stage probe names the files of a cited bare name #3415 named this case only after review. [sources: tests/roadmap/test_roadmap_stage_probe.py:117, openspec/changes/3415-the-stage-probe-names-the-files/tasks.md]
  • What does the stage context pack for a step?: The instructions of the group, the AGENTS.md of the repository, the routed sections of its documents, the item, the change folder and the packed files of the group. The context has no test-case listing now. [sources: CONTEXT.md]
  • How does the stage context find the test cases that reference a symbol, message or constant of the changed source file?: Reuse the git grep of the stage probe on the named test module, and list the matching cases in the context. (best practice) [sources: CONTEXT.md, tests/roadmap/test_roadmap_stage_probe.py]
    • Chosen: Reuse the probe's git grep on the named test module. The probe already runs bounded read-only grep, so the listing adds no tool and stays inside the bound.
    • Rejected: Add a planner tool that lists test cases. CONTEXT.md fixes the planner toolset, and a new tool spends the token budget of the step.
    • Rejected: Ask the model to recall the test module. The plan of fix(roadmap): the stage probe names the files of a cited bare name #3415 missed the case until review, so recall is no evidence.
  • Where does the rule that a group names the invalidated test case live?: In the stage plan instructions, checked by the stage plan snapshot test. (best practice) [sources: tests/roadmap/snapshots/test_roadmap_stage_plan.ambr, openspec/changes/3415-the-stage-probe-names-the-files/design.md]
    • Chosen: The stage plan instructions, checked by the plan snapshot. The plan renders from instructions, and the snapshot test already pins the rendered text.
    • Rejected: A validator over the prose of tasks.md. The plan is free text, so a validator over its prose is brittle.
  • How does the context report a referencing test case that the command bound cuts off?: Name the case in the line that reports the reached bound. (best practice) [sources: tests/roadmap/test_roadmap_stage_probe.py, CONTEXT.md]
    • Chosen: Name the case in the line that reports the reached bound. The probe already lists skipped items when it reaches the bound, so the planner sees the omission.
    • Rejected: Raise the bound. The bound keeps the inputs of a step inside its token budget.
    • Rejected: Leave the case out silently. A silent omission repeats the failure of fix(roadmap): the stage probe names the files of a cited bare name #3415.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Alternatives check of 2026-11-07: partly.
Tool: tarpas/pytest-testmon (https://github.com/tarpas/pytest-testmon), MIT, last activity 2026-11-02, maintained.

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 4, 2026
  2. dan-petty commented on Nov 4, 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/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. A real gap in stage plan validation that delayed a review, but it affects planning tooling, not user-facing output.
    • Value: Medium. Prevents implementers from discovering failing test cases only at run time and removes a class of review rework.
    • Effort: Medium. Requires a new validation rule for test-case naming plus a stage-context change that lists cases referencing changed symbols.
    • Related: fix(roadmap): refuse a behavior group that omits a test it changes #3414, which asks for a different change. Both require a stage plan to name an existing test its change breaks, but #3414 stops at the file level while the candidate goes to the individual test case level.
  3. added
    priority/p2-medium
    on Nov 4, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 4, 2026
  5. devops-cli-service commented on Nov 4, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 53cffca (see proposed design in issue body).

  6. changed the title [-]fix(roadmap): the stage plan names the existing test case that pins a changed output[/-] [+]fix(roadmap): Name the test case that a change invalidates[/+] on Nov 6, 2026
  7. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

    The job shortened the title of this item. The summary had 70 characters, and the limit is 60. The type and the scope stay.

    • Before: fix(roadmap): the stage plan names the existing test case that pins a changed output
    • After: fix(roadmap): Name the test case that a change invalidates
    • Source of the summary: the background model
  8. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    Contributor

    Alternatives check: partly

    Reason: The web searches errored out, so the check rests on the package and repository facts: pytest-testmon records which test cases exercise which lines and, after a change, names the cases a source change affects, which is the "list the referencing test cases" half of the need. It does not say which assertion a change invalidates, does not list cases by symbol, message or constant reference in a named module, and does not feed the stage plan's task list, so the plan-instruction rule the issue asks for stays needed.

    Tool: tarpas/pytest-testmon (https://github.com/tarpas/pytest-testmon)

    • License: MIT
    • Last activity: 2026-11-02
    • Maintained: yes

    Covers:

    • Records per-test coverage and, after a source change, names the test cases that the change affects
    • Works with the repository's pytest suite and runs only the affected cases, so it can be run over the named test module

    Lacks:

    • Does not state which assertion of a test case the change invalidates
    • Does not list the test cases of a named module that reference a symbol, message or constant of the changed source file
    • Does not report the referencing cases that the stage probe's command bound cuts off
    • Does not put the invalidated case into the stage plan's task list or render the rule in the plan instructions

    Tools considered:

    Searches run:

    • tool that finds which test cases a source code change affects test impact analysis Python, results: 0
    • pytest-testmon select tests affected by code changes, results: 0
    • pytest-testmon, results: 0
    • test impact analysis python tool, results: 0
    • pytest testmon, results: 0
    • coverage.py dynamic contexts map tests to lines, results: 0
    • testmon, results: 0
    • python test selection tool changed code, results: 0
    • pytest-testmon github repository, results: 0
    • test impact analysis, results: 0

    Sources:

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

  9. devops-cli-service commented on Nov 10, 2026

    @devops-cli-service
    Contributor

    Staged: branch fix/3443-name-the-test-case-that-a, draft pull request #4352. 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. List the referencing test cases in the probe: 33056 tokens
    2. State the invalidated test case in the planner prompt: 32824 tokens

    A model review of the plan found these open findings. The stage keeps this pull request a draft with the label plan/needs-fix until a later round clears them:

    • criterion_dropped at group 1: Group 1 lists the cases only of test modules that the issue cites. The plan of fix(roadmap): the stage probe names the files of a cited bare name #3415 named tests/roadmap/test_roadmap_stage_probe.py, and issue fix(roadmap): the stage probe names the files of a cited bare name #3415 cites no test module, so the probe still omits the case that the change breaks, and no task delivers the criterion for a test module that a group names. Evidence: "The stage context SHALL list each test case of a named test module that references a symbol, message or constant of the changed source file."
    • criterion_dropped at group 1 and specs: The group's second case and the added requirement name only the test module and the source file in the bound line, not each referencing test case that the bound leaves unlisted, so the issue's criterion has no task and the spec delta narrows it. Evidence: "The stage context SHALL name each referencing test case that the probe command bound leaves unlisted."

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

    1. list_files({"directory":"src/devops_cli/roadmap/stage"})
    2. list_files({"directory":"tests/roadmap/stage"})
    3. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_probe.py"})
    4. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_context_facts.py"})
    5. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":1,"end_line":130})
    6. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":230,"end_line":400})
    7. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_request.py"})
    8. search_code({"text":"probe_premise("})
    9. read_file({"path":"src/devops_cli/roadmap/stage/stage.py","start_line":1290,"end_line":1420})
    10. search_code({"text":"roadmap_stage_plan"})
    11. search_code({"text":"roadmap_stage_"})
    12. list_files({"directory":"src/devops_cli/ai/tasks"})
    13. read_file({"path":"docs/roadmap/stage.md","start_line":1,"end_line":45})
    14. search_code({"text":"test module"})
    15. search_code({"text":"existing test"})
    16. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":1,"end_line":90})
    17. search_code({"text":"behavior group"})
    18. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":24,"end_line":120})
    19. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":37,"end_line":80})
    20. search_code({"text":"def collect_context"})
    21. search_code({"text":"CONST_ROADMAP_STAGE_PROBE_MAX_COMMANDS"})
    22. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_probe.py","start_line":1,"end_line":200})
    23. search_code({"text":"roadmap_stage_change"})
    24. list_files({"directory":"tests/roadmap/stage/__snapshots__"})
    25. read_file({"path":"tests/roadmap/stage/__snapshots__/test_roadmap_stage_plan.ambr","start_line":1,"end_line":80})
    26. file_symbols({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py"})
    27. search_code({"text":"The stage counts 32 tokens"})
    28. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":1,"end_line":70})
    29. search_code({"text":"load_task_prompt"})
    30. read_file({"path":"openspec/changes/3428-the-stage-context-names-the-plan/proposal.md","start_line":1,"end_line":40})
    31. search_code({"text":"test module"})
    32. search_code({"text":"STAGE_EVAL_TRIGGER_PATHS"})
    33. search_code({"text":"roadmap eval stage --replay"})
    34. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_form.py"})
    35. read_file({"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":240,"end_line":300})
    36. read_file({"path":"src/devops_cli/roadmap/stage/stage_form.py","start_line":40,"end_line":160})
    37. read_file({"path":"src/devops_cli/roadmap/stage/stage_form.py","start_line":240,"end_line":300})
    38. list_files({"directory":"tests/fixtures/roadmap_eval/stage"})
    39. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":75,"end_line":215})
    40. read_file({"path":"openspec/changes/3428-the-stage-context-names-the-plan/tasks.md"})
    41. file_symbols({"path":"src/devops_cli/roadmap/stage/stage_probe.py"})
    42. search_code({"text":"_Run"})
    43. callers({"symbol":"_Run"})
    44. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":90,"end_line":200})
    45. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_probe.py","start_line":100,"end_line":180})
    46. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":280,"end_line":380})
    47. search_code({"text":"stage_probe_skipped"})
    48. list_files({"directory":"src/devops_cli/ai/tasks"})
    49. search_code({"text":"behavior"})
    50. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":1,"end_line":80})
    51. search_code({"text":"behavior group"})
    52. read_spec({"capability":"roadmap-stage","requirement":"A task group names its files"})
    53. read_spec({"capability":"roadmap-stage"})
    54. search_code({"text":"test case"})
    55. search_code({"text":"invalidat"})
    56. search_code({"text":"pair that"})
    57. read_file({"path":"docs/roadmap/stage.md","start_line":1,"end_line":60})
    58. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":1,"end_line":70})
    59. read_file({"end_line":120,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":24})
    60. search_code({"text":"tests/"})
    61. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_probe.py","start_line":1,"end_line":60})
    62. search_code({"text":"tests/roadmap"})
    63. search_code({"text":"probe.commands"})
    64. read_file({"path":"src/devops_cli/config/constants.py","start_line":3270,"end_line":3280})
    65. list_files({"directory":"tests/support"})
    66. search_code({"text":"MESSAGES_FILE"})
    67. file_symbols({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py"})
    68. file_symbols({"path":"src/devops_cli/ai/task_loader.py"})
    69. search_code({"text":"def git_result"})
    70. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":182,"end_line":212})
    71. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":180,"end_line":460})
    72. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_probe.py","start_line":120,"end_line":300})
    73. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":342,"end_line":430})
    74. read_file({"path":"docs/roadmap/stage.md","start_line":1,"end_line":50})
    75. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":180,"end_line":225})
    76. search_code({"text":"docs/roadmap/stage.md"})
    77. search_code({"text":"A 'behavior' group"})
    78. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":30,"end_line":110})
    79. search_code({"text":"'kind'"})
    80. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":1,"end_line":30})
    81. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":58,"end_line":140})
    82. read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":23,"end_line":32})
    83. search_code({"text":"kind of a group"})
    84. read_file({"path":"tests/support/roadmap_stage.py","start_line":190,"end_line":300})
    85. read_file({"path":"tests/support/roadmap_stage.py","start_line":100,"end_line":190})
    86. read_spec({"capability":"roadmap-stage"})
    87. read_spec({"capability":"roadmap-stage","requirement":"The probes are bounded and read-only"})
    88. read_spec({"capability":"roadmap-stage","requirement":"The job probes the premise at the staging commit"})
    89. read_file({"path":"src/devops_cli/config/constants.py","start_line":3272,"end_line":3280})
    90. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":3590,"end_line":3600})
    91. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_plan.py","start_line":90,"end_line":105})
    92. file_symbols({"path":"src/devops_cli/roadmap/refine/refine.py"})
    93. file_symbols({"path":"src/devops_cli/ai/task_loader.py"})
    94. list_files({"directory":"tests/roadmap/stage/__snapshots__"})
    95. list_files({"directory":"openspec/changes/archive/2026-11-04-3415-the-stage-probe-names-the-files"})
    96. search_code({"text":"class _Run"})
    97. read_file({"path":"src/devops_cli/roadmap/stage/stage_probe.py","start_line":100,"end_line":180})
    98. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":685,"end_line":740})
    99. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":770,"end_line":800})
    100. search_code({"text":"ast.parse"})
    101. read_file({"path":"src/devops_cli/roadmap/stage/stage_context_facts.py","start_line":1,"end_line":170})
    102. read_file({"path":"src/devops_cli/roadmap/implement/implement_test_names.py","start_line":1,"end_line":80})
    103. search_code({"text":"defined_tests"})
    104. search_code({"text":"test cases"})
    105. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":200,"end_line":400})
    106. search_code({"text":"_DOCUMENTS"})
    107. search_code({"text":"test_the_prompt_names_the_test_case_that_a_change_invalidates"})
    108. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":400,"end_line":560})
    109. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_prompt_rules.py","start_line":560,"end_line":660})
    110. git_log({"path":"tests/roadmap/stage/test_roadmap_stage_probe.py"})
    111. git_log({"path":"src/devops_cli/roadmap/stage/stage_probe.py"})
    112. git_log({"path":"openspec/changes/archive/2026-11-04-3415-the-stage-probe-names-the-files/tasks.md"})
    113. read_file({"path":"src/devops_cli/lang/en/messages.py","start_line":3576,"end_line":3592})
    114. callers({"symbol":"probe_premise"})
    115. search_code({"text":"stage_probe_skipped"})
    116. list_files({"directory":"tests/roadmap/stage"})
    117. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_probe.py","start_line":239,"end_line":400})
    118. search_code({"text":"stage-eval"})
    119. search_code({"text":"probes"})
    120. read_file({"path":"tests/roadmap/stage/test_roadmap_stage_eval_cases.py","start_line":1,"end_line":80})
    121. search_code({"text":"roadmap/stage/eval"})
    122. search_code({"text":"CASES_DIRECTORY"})
    123. read_file({"path":"src/devops_cli/roadmap/stage/stage_eval_cases.py","start_line":60,"end_line":200})
    124. search_code({"text":"files: Mapping[str, str]"})
    125. search_code({"text":"class StagedChange"})
    126. read_issue({"number":3415})
    127. read_file({"path":"openspec/changes/archive/2026-11-04-3415-the-stage-probe-names-the-files/proposal.md","start_line":1,"end_line":80})
    128. read_file({"path":"openspec/changes/archive/2026-11-04-3415-the-stage-probe-names-the-files/tasks.md","start_line":1,"end_line":40})
    129. read_file({"path":"src/devops_cli/roadmap/refine/refine.py","start_line":660,"end_line":690})
    130. search_code({"text":"scenario names"})
    131. search_code({"text":"has no behavior test"})

    Tool calls: callers=2 (empty=0), file_symbols=10 (empty=0), git_log=3 (empty=0), list_files=10 (empty=0), read_file=55 (empty=0), read_issue=1 (empty=0), read_spec=5 (empty=0), search_code=45 (empty=3)

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

  10. 4 remaining items

  11. added
    status/blocked
    and removed
    status/in-progress
    on Nov 10, 2026
  12. devops-cli-service commented on Nov 10, 2026

    @devops-cli-service
    Contributor

    The runner Job devops-cli-runner-20261110-105724-b626 ended: succeeded.
    Image digest: sha256:4e4c13460c63a1974b17116e0ca085e2079ee8a31822b89c86b41990fa1659cc

    The last lines of its log:

    Tool call: shell, started: uv run devops ci test tests/roadmap/stage
    Tool call: shell, program uv, ok.
    Tool call: shell, started: git diff
    Tool call: shell, program git, ok.
    Tool call: read_file, ok.
    Tool call: grep, ok.
    Tool call: read_file, ok.
    Tool call: grep, ok.
    Tool call: grep, ok.
    Tool call: shell, started: tail -20 /home/devops/.data/agent/worktrees/w-3443/.pydantic-ai-harness/shell/e3c2adec05e447df9c5a2281aad5be4a/output.log
    Tool call: shell, program tail, ok.
    Tool call: edit_file, ok.
    Tool call: edit_file, ok.
    Tool call: read_file, ok.
    Tool call: read_file, ok.
    Tool call: read_file, ok.
    Tool call: shell, started: uv run devops openspec check
    Tool call: shell, program uv, ok.
    Tool call: read_file, ok.
    Tool call: shell, started: tail -5 /home/devops/.data/agent/worktrees/w-3443/.pydantic-ai-harness/shell/e3c2adec05e447df9c5a2281aad5be4a/output.log
    Tool call: shell, program tail, ok.
    Tool call: shell, started: uv run ruff check tests/roadmap/stage/test_roadmap_stage_probe.py src/devops_cli/roadmap/stage/stage_probe.py ...
    Tool call: shell, program uv, ok.
    Tool call: shell, started: uv run devops ci --help
    Tool call: shell, program uv, ok.
    Tool call: read_file, ok.
    Tool call: read_file, ok.
    Tool call: shell, started: tail -3 /home/devops/.data/agent/worktrees/w-3443/.pydantic-ai-harness/shell/e3c2adec05e447df9c5a2281aad5be4a/output.log
    Tool call: shell, program tail, ok.
    Tool call: read_file, ok.
    Tool call: read_file, ok.
    Tool call: grep, ok.
    Tool call: read_file, ok.
    Tool call: grep, ok.
    Tool call: read_file, ok.
    Tool call: shell, started: tail -3 /home/devops/.data/agent/worktrees/w-3443/.pydantic-ai-harness/shell/e3c2adec05e447df9c5a2281aad5be4a/output.log
    Tool call: shell, program tail, ok.
    Failure class limit_reached. Action left: raise_limit.
    ✓ Took 0 item(s) to a ready pull request, stopped 1.
    Elapsed: 18m 20s
    
  13. removed
    owner/service
    on Nov 10, 2026
  14. dan-petty commented on Nov 20, 2026

    @dan-petty
    OwnerAuthor

    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.

  15. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor

    Triage under #6519 (owner instruction of 2026-11-30). This item adds or extends a hand-written gate, refusal, context block or plan-shape rule of the stage or implement job. #6519 found that 263 of about 900 issues in four weeks added gates and none replaced the engine; stage now runs on stock Coder, where the agent reads the repository itself and runs the OpenSpec checks in its loop. The code paths that this item names have also moved (for example src/devops_cli/roadmap/stage/stage_change.py). If the failure class still shows in graded attempts (plan_defect), file a new item from that evidence. Closed as not planned.

  16. removed
    status/blocked
    on Nov 30, 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/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions