Repository navigation
refactor(roadmap): the stage agent is stock Coder - #6883
Merged
Merged
Conversation
2 tasks
Add --base, --candidate and --issues to devops roadmap plan-recheck, and the builder of the plan texts from the body candidate (#6705).
prepare reads the round, decides the job-time premise, the false premise and the blocker of an open plan, and else commits the dated scaffold and writes the state, the issue listing and the inputs of the agent (#6705).
build_stage_agent gives LocalWorkspace a scratch home and the config of publish, Coder with no repository context and no delegate_task, and RequireVerification with the three checks and no exempt path (#6705).
run_stage_agent refuses the App key, a GitHub token and a gh login, runs the stage agent with no request limit, and writes the patch of the change folder, the body candidate and a StageOutcome (#6705).
publish reads the outputs of the agent as data, allows only the files of a plan, builds the texts with stage_candidate, cleans them and fits the plan-state comment, and runs the three checks in before_push of its one publish_patch. It trusts no end that the agent reports (#6705).
devops roadmap stage --job-item <n> --confirm takes --phase prepare|agent|publish|all and --work. A phase other than all hardens the process and runs its phase; all runs run_stage_job as before (#6705).
docs/roadmap/stage.md describes the three phases and the times of the three checks; plan-recheck.md the base, the candidate and the listing; ADR 0030 gets an addendum, and the knowledge base RequireVerification (#6705).
The body of ADR 0030 holds 998 of its 1000 words, so the addendum of the stage Job does not fit; task 10.2 stays open (#6705).
The stage agent runs stock Coder in an agent phase with no GitHub credential, and publish is the check. ADR 0036 amends ADR 0030, whose body has no room for an addendum (#6705).
Every task of the plan is ticked (#6705).
Catch specific agent runtime and CLI errors instead of blind Exception to satisfy the swallowed-failures check (#6705).
dan-petty
force-pushed
the
refactor/6705-stage-agent-on-stock-coder
branch
from
November 23, 2026 16:45
a2b74e8 to
0bbd0b6
Compare
dan-petty
marked this pull request as ready for review
November 23, 2026 16:53
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 23, 2026
🤖 I have created a release *beep* *boop* --- ## [0.201.6](v0.201.5...v0.201.6) (2026-11-23) ### Code Refactoring * **roadmap:** the stage agent is stock Coder ([#6883](#6883)) ([4431302](4431302)) --- 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 24, 2026
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 stage Job takes
--phase prepare|agent|publish|alland--work.allstays the default and runsrun_stage_jobin one process, so CronJobroadmap-stagedoes not change until #6814.preparedecides what needs no model, commits the dated scaffold and writes the state, an issue listing and the inputs.agentrefuses each GitHub credential and runs stockCoderwithRequireVerificationand the three checks. It writes the patch, the body candidate and aStageOutcome.publishtrusts no end of the agent, allows only plan files, builds the texts withstage_candidate.py, and pushes once with the checks inbefore_push.plan-rechecktakes--base,--candidateand--issues, and a run with a base exits 1 for a folder that is notok.main.A test with a fixed commit time shows the same push and writes as
--phase allfor one plan.Closes #6705
Change:
openspec/changes/archive/2026-11-23-6705-stage-agent-stock-coder/