Repository navigation
feat(roadmap): run implement as prepare, agent and publish phases - #6670
Merged
Merged
Conversation
dan-petty
force-pushed
the
feat/3702-implement-phases
branch
from
November 21, 2026 19:07
b647f02 to
2dc0200
Compare
Contributor
|
Pull request #6670 has merge conflicts with |
The implement Job runs each item on the phases of ADR 0030, on a plain issue-branch flow (#3702): prepare clones the issue branch into the run folder, the agent rebases and does the work with no GitHub credential, and publish pushes the work and the archive as two commits of the bot with a lease.
… reads git with a home of the run
…commit apart - The settle of the rebase takes the side of the default branch by the stage of the index: `git rm` for a file that the default branch deleted. A git error of the settle aborts the rebase and stops the item as `conflict`, with nothing to push and the action `wait`. - The agent writes three patches: the work, the archive commit alone and the work after it. `publish` commits each as the bot, so a later rebase can skip the archive commit. - A second `publish` of a run with a result writes nothing, takes the draft from `implement.pr`, and deletes a branch only when `prepare` found none. A stop push records `implement.published_sha`. - `prepare` records `implement.base` and `implement.plan_summary` once and clears `implement.repair_rounds`. A return to New moves the branch back to the base, or deletes a new branch and closes its draft, with a lease on the tip that `prepare` found. - The agent takes the rebase choice of `prepare`. The step, the tool names and the return evidence go into code spans or a fence. A plan title with a closing keyword gives way to the title of the issue. - The dry-run plan lists the calls of the three phases. The specs, the ADR addendum and the documents state what the phases do now.
dan-petty
force-pushed
the
feat/3702-implement-phases
branch
from
November 21, 2026 20:22
2dc0200 to
adacda9
Compare
dan-petty
marked this pull request as ready for review
November 21, 2026 20:47
dan-petty
pushed a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.189.0](v0.188.4...v0.189.0) (2026-11-21) ### Features * **roadmap:** run implement as prepare, agent and publish phases ([#6670](#6670)) ([54de847](54de847)), closes [#3702](#3702) ### Bug Fixes * **git:** a failed token mint fails clearly in App mode ([#6673](#6673)) ([fd1b859](fd1b859)) * **roadmap:** fix-conflict settles the version lines of uv.lock ([#6682](#6682)) ([82ba605](82ba605)), closes [#6623](#6623) --- 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>
This was referenced Nov 21, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 21, 2026
A `publish` of the implement phases that runs again now writes to the right draft and the right record (review of #6670). - `prepare` always writes `implement.pr`, so a new branch takes no closed draft of an earlier Job. - `_open_draft` updates an open draft of the App on the branch, so a `publish` that died before the mark opens no second draft; a pull request of another account stops the item. - A withdraw that pushed clears `implement.base` at once, so a `publish` that runs again returns the item to New. - An issue title with a closing keyword stops the item before the push; `closing_keyword_in` counts only an issue reference. - The dry-run plan lists the delete of a refused draft, the calls of each withdraw and the fetch of the lease. - SECURITY.md, three docstrings, a setting and two spec texts describe the phases. Closes #6687 Change: `openspec/changes/archive/2026-11-21-6687-new-branch-run-reuses-closed-draft/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The implement Job now runs on the phases of ADR 0030, with the publish of #6655.
devops roadmap implement --confirmtakes--phaseand--work;allruns the three in one process.implement.base.uv.lockagain; another conflict waits (refactor(roadmap): run fix-conflict on the phases with a model fix #6640; fix-checks rebase: refactor(roadmap): fix-checks rebases onto main in its agent phase #6639).No run pushes before publish, so the checkpoints go; a return to New takes back what earlier Jobs pushed. The symlink stop, the narrow token and the count line wait for #3700. About 1,000 lines move to
implement_report.py: review with--color-moved.Closes #3702
Change:
openspec/changes/archive/2026-11-21-3702-implement-phases/