Repository navigation
feat(roadmap): give the step AGENTS.md and routed rules - #3107
Merged
Merged
Conversation
Owner
Author
|
Test results
Review findings fixed
Findings not fixed: none. |
dan-petty
marked this pull request as ready for review
November 1, 2026 21:26
dan-petty
added a commit
that referenced
this pull request
Nov 1, 2026
…3115) ## What changes The test `test_a_hostile_agents_md_is_data_and_never_changes_the_instructions` compares `inputs.instructions` with `fill_prompt(load_task_prompt("roadmap_implement_step.md"))`. It compared with the raw prompt, which #3111 stopped returning when it made `build_step_inputs` fill the two table placeholders. The merge of #3107 and #3111 left the required check Tests & Coverage red on `main`. ## Why A red `main` blocks every open pull request, such as #3112. The test still proves its rule: a hostile `AGENTS.md` leaves the instructions unchanged. ## Verification - Before: `uv run pytest tests/roadmap/test_roadmap_implement_step_rules.py -k hostile -n0` on `origin/main` fails with `(False, True, True)`. - After: the same file passes (11 tests). Closes #3114
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 1, 2026
🤖 I have created a release *beep* *boop* --- ## [0.38.0](v0.37.4...v0.38.0) (2026-11-01) ### Features * **review:** osv-scanner toolrun records its database digest ([#3120](#3120)) ([5731fac](5731fac)) * **roadmap:** add gate tools to the runner, one shell policy ([#3111](#3111)) ([7735d8b](7735d8b)), closes [#3072](#3072) * **roadmap:** give the step AGENTS.md and routed rules ([#3107](#3107)) ([80a22eb](80a22eb)), closes [#3097](#3097) * **roadmap:** run the project hooks and scoped CI in the Job ([#3112](#3112)) ([b7ab211](b7ab211)), closes [#3043](#3043) ### Bug Fixes * **ai:** send the per-call sampling of LLMClient.chat ([#3126](#3126)) ([8207bdc](8207bdc)) * **argo:** replace a token that Argo CD refuses ([#3121](#3121)) ([b4955b4](b4955b4)) * **devcontainer:** remove CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC ([#3125](#3125)) ([295c32c](295c32c)) * **k8s:** set q8_0 KV cache on every Ollama tier ([#3101](#3101)) ([aad0115](aad0115)) * **rag:** raise EmbeddingsError for an empty Ollama URL list ([#3118](#3118)) ([111a031](111a031)) * **security:** refuse PYTEST_ADDOPTS and npm_config_logs_dir overrides ([#3119](#3119)) ([9fe2af5](9fe2af5)) ### Code Refactoring * **security:** read legacy numeric hosts with getaddrinfo ([#3128](#3128)) ([41779f9](41779f9)) --- 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 2, 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 implement step now reads the same rules as a person in the devcontainer.
What changes:
AGENTS.mdunder the heading "Rules of the repository (AGENTS.md)". The text is cut to 3,000 tokens.AGENTS.mdroutes the group to. A path that the group names decides the routes: tests, source, security code, roadmap code, manifests, OpenTofu.AGENTS.md. It fails when a route names a row, a document or a section that does not exist.AGENTS.mdowns are gone from it, so the two texts cannot drift.devops roadmap return, the fulldevops ci), the instructions of the runner win.Cost (tokens added to one step, measured on real groups):
AGENTS.mdadds about 1,700. Each routed document adds 2,500 to 2,900. Over all 1,392 groups of the plans in the repository, the most that the rules add is 14,248. Two old groups pass the stage budget of 40,000 tokens after the change (43,816 and 43,349); the stage job splits such a group with one more request. No step passes the window.Eval of the implement prompt: one fixture ran on each side (
2531-cwd-guard-first-plan, modeldevops-coder). Both sides stopped, and both passed 2 of 4 decided properties. This shows no gain and no loss. The run of all 14 fixtures on the base and on the branch is open. A person must run it before the merge, asdocs/ROADMAP_WORKFLOW.mdasks.Closes #3097