Skip to content

feat(roadmap): add the devops roadmap implement command - #2684

Merged
dan-petty merged 9 commits into
mainfrom
feat/2664-roadmap-implement-step
Oct 29, 2026
Merged

dan-petty merged 9 commits into
mainfrom
feat/2664-roadmap-implement-step

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add devops roadmap implement --item N --group n [--source <checkout>] [--dry-run]. It runs one task group of a staged OpenSpec change in one bounded context, and it writes nothing to GitHub.

The step builds the inputs of the model: the item, the documents of the change, the group and the files the group names. It refuses to start when they do not fit the window of the new task ai.tasks.implement. One pydantic-ai agent on the harness Coder runs under request and tool-call limits. The step judges the exit, not the model: the tasks of the group are ticked, the verification commands pass, the static checks pass, and the agent made no commit. Then it commits the group. Otherwise it resets the checkout to the commit where the step started and reports the step as stopped.

The shell of the agent runs only git, uv, ruff and mypy, with a scratch HOME. The shell is no security boundary. The runner of the next sub-issue is the boundary.

This is the first sub-issue of #2661.

Closes #2664

@dan-petty

Copy link
Copy Markdown
Owner Author

Test results and history.

  • Local uv run devops ci: every check passed (test, coverage, lint, format, typecheck, audit, security, docs, lockfile, build, openspec). The test check took 6m 24s because other agents ran at the same time on the host.
  • Review fixes in commit "fix(roadmap): reset to the start commit and narrow the step shell":
    • A test now covers the tool-call limit.
    • A step now reads HEAD before the run, resets to it, and stops when the agent moved HEAD.
    • A missing or non-text tasks.md now stops the step.
    • The shell list leaves out devops and openspec, and the shell runs with a scratch HOME.
  • Not done: the shell still runs code through uv run. The harness filters only the first word of a command. The runner of sub-issue 3 of feat(roadmap): an implement job delivers each staged low-effort P0 and P1 bug one task group at a time and marks its pull request ready when the checks pass #2661 is the boundary. The proposal records this limit.
  • Not done: denied_env_patterns. The shell env is built from fixed names, so a pattern filter has nothing to remove.

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 16:45
@dan-petty
dan-petty merged commit 11b7cb5 into main Oct 29, 2026
17 checks passed
@dan-petty
dan-petty deleted the feat/2664-roadmap-implement-step branch October 29, 2026 16:48
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.18.0](v0.17.0...v0.18.0)
(2026-10-29)


### Features

* **roadmap:** add devops roadmap stage for Ready items
([#2686](#2686))
([abd016d](abd016d)),
closes [#2654](#2654)
* **roadmap:** add the devops roadmap implement command
([#2684](#2684))
([11b7cb5](11b7cb5)),
closes [#2664](#2664)

---
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): devops roadmap implement runs one task group of a staged change in one 128k context with the pydantic-ai-harness Coder

1 participant