Repository navigation
feat(roadmap): plan the stage job with a read-only toolbox - #3160
Merged
Merged
Conversation
Archive 3037-the-stage-job-plans-with-a and merge its spec delta into the base specs of roadmap-stage and roadmap-stage-eval. Two test assertions in test_roadmap_stage_plan.py now check values, not presence.
The stage planner now takes a ToolboxModel or a client, so no call gives both and no bare ValueError is left. A plan run keeps its messages inside the context window of the analysis task. The tools refuse a checkout that is not the staged commit with no change, and bound their work: a size check before a read, a slice before the numbering, and a match limit for git grep. repo_map gives one short line for each file. read_spec reads the specs as JSON from OpenSpec and no code parses their markdown.
Owner
Author
Test results
Review findingsFixed:
Not fixed:
Note for the reviewerWith a window of 28672 tokens, the body of the item and the repository context already take up to three quarters of the window. So the window rule allows few tool calls when the context is full. The plan is still given. A later change can lower the share of the preloaded context when the toolbox is on, if the eval shows that the tools need the room. |
dan-petty
marked this pull request as ready for review
November 2, 2026 05:38
dan-petty
pushed a commit
that referenced
this pull request
Nov 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.41.0](v0.40.0...v0.41.0) (2026-11-02) ### Features * **k8s:** fall back from Sonnet to DeepSeek ([#3154](#3154)) ([11dc347](11dc347)), closes [#3152](#3152) * **roadmap:** plan the stage job with a read-only toolbox ([#3160](#3160)) ([9179b22](9179b22)), closes [#3037](#3037) --- 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 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 asks the model for one plan on a fixed context. The model cannot read the repository, so many plans name files that do not exist.
This change gives the planner nine read-only tools: list files, read a file, search code, git log, git show, the symbols of a file, the callers of a symbol, a map of a directory, and a read of a base spec. The tools read the staged commit through git, or read a spec through OpenSpec. No tool writes a file, runs a shell command or opens a network connection.
devops roadmap eval stageplans with the toolbox. The option--no-toolboxplans with one call and no tool, so two runs of one model compare.Closes #3037