Skip to content

feat(roadmap): a stopped step keeps its work and a new Job resumes - #3560

Merged
dan-petty merged 3 commits into
mainfrom
feat/3054-step-keeps-work-and-resumes
Nov 5, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/3054-step-keeps-work-and-resumes

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A step of the implement job that stops resets the checkout, so the work of the group is lost and the next Job does it again. Now a step keeps each task that the agent ticked and whose verification passes. It commits the checkout as a wip: commit before the next model request. The job pushes the commit while a task is left, and records implement.wip. A stop resets to the last wip: commit. The next Job takes the branch from origin, and its step runs only the tasks that are not ticked. A step that ends done folds the wip: commits into its own commit. The stop comment names the branch, the count of kept commits and the last one.

Closes #3054

Change: openspec/changes/archive/2026-11-05-3054-a-stopped-step-keeps-its-work/

…work in progress

A step commits each ticked task whose verification passes as a wip: commit.
The job pushes it and records implement.wip. A stop resets to the last wip:
commit, and the next attempt starts from the kept tasks.
@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 5, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results on this branch:

  • uv run pytest tests/roadmap -k implement: 1232 passed (after the rebase on main).
  • A local uv run devops ci run before the last fixes showed failures in 15 implement tests that count verification runs or expect a clean reset. I changed those tests and they pass. Four other failures also fail on a plain checkout of main in this devcontainer (tests/crypto/test_ssh.py, tests/telemetry/test_config_env_overrides.py, tests/ai/test_tool_executor_contract.py, tests/commands/test_devcontainer_install_tools_dry_run.py).
  • New tests: tests/roadmap/test_roadmap_implement_wip.py (step) and tests/roadmap/test_roadmap_implement_wip_job.py (replay: killed after 3 of 5 tasks, origin holds the wip: commits before the step ends, a second Job after implement: retry does only tasks 4 and 5).

Not in this pull request, on purpose: bounded repair rounds (#3053) and the classes of partial state (#3098).

@dan-petty
dan-petty marked this pull request as ready for review November 5, 2026 00:58
@dan-petty
dan-petty merged commit b82fe60 into main Nov 5, 2026
23 checks passed
@dan-petty
dan-petty deleted the feat/3054-step-keeps-work-and-resumes branch November 5, 2026 01:01
dan-petty pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.58.0](v0.57.2...v0.58.0)
(2026-11-05)


### Features

* **roadmap:** a stopped step keeps its work and a new Job resumes
([#3560](#3560))
([b82fe60](b82fe60))
* **roadmap:** the stage job keeps a limit on Planned items
([#3547](#3547))
([83f8b3d](83f8b3d)),
closes [#3487](#3487)

---
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): a stopped step keeps its work and the next attempt resumes from it

1 participant