Skip to content

fix(roadmap): a new runner image clears only a stop that it can fix - #3527

Merged
dan-petty merged 6 commits into
mainfrom
fix/3481-digest-clear-retry-class
Nov 4, 2026
Merged

dan-petty merged 6 commits into
mainfrom
fix/3481-digest-clear-retry-class

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A new runner image cleared every stop once, whatever its cause. A plan defect, a refused tool or a failed test stays the same on a new image, so the Service started a Job that was sure to fail again.

Now the Service clears a stop by digest only when the class of the stop has the action retry in ACTION_BY_CLASS. A stop with no class waits for implement: retry. That comment still clears any class.

Each clear is recorded in implement.digest_clears. The settings roadmap.implement.digest_clears_per_class (default 1) and roadmap.implement.digest_clears_per_item (default 3) bound the clears. The clear comment shows at most once in 24 hours for an item. In each priority, an item with no digest clear goes first.

The stop comments and the documents state the new rule. Depends on #3476, which adds the failure classes.

Closes #3481
Change: openspec/changes/archive/2026-11-04-3481-a-new-runner-image-clears-only/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 4, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results

  • Fail-to-pass: uv run devops ci fail-to-pass --base origin/main before the rebase: 3 failed and 2 errored on base (no digest_clears module, no DigestLimits, no ImplementRecordKey.DIGEST_CLEARS). They pass on the branch.
  • Scoped tests after the rebase onto origin/main (with fix(roadmap): a stop carries a typed class and the failed check #3513): 285 passed (stop clear, digest clears, stage selection, implement submit, failure).
  • Full uv run devops ci locally: all rows pass except 2 tests that also fail on main on this host: tests/ai/test_tool_executor_contract.py::test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct] (a locally installed popeye reaches a host path) and tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_run. The coverage row did not run because the test row failed.

Review round

  • The two stop comments now state the class rule and the limits. A test pins the wording.
  • The diagram, CONTEXT.md and the heading of the spec requirement now state the class rule.
  • The documents name ACTION_BY_CLASS and no longer list the retry classes, so a class that a later issue adds cannot make them wrong. fix(roadmap): a stop carries a typed class and the failed check #3476 added tests_lost and head_moved with the action retry; both now clear by digest.
  • The archived proposal and tasks no longer name implement_submit.py, which this change does not edit.
  • A clear also removes implement.check and implement.check_log since fix(roadmap): a stop carries a typed class and the failed check #3513.

@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 22:02
@dan-petty
dan-petty merged commit 48f94d7 into main Nov 4, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3481-digest-clear-retry-class branch November 4, 2026 22:07
dan-petty pushed a commit that referenced this pull request Nov 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.56.3](v0.56.2...v0.56.3)
(2026-11-04)


### Bug Fixes

* **roadmap:** a new runner image clears only a stop that it can fix
([#3527](#3527))
([48f94d7](48f94d7))
* **roadmap:** a shell refusal of the implement step counts no tool
retry ([#3526](#3526))
([1905269](1905269))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): a new runner image clears only a stop that it can fix

1 participant