Repository navigation
feat(user-docs): bound discovery and write pages incrementally - #188
Merged
Merged
Conversation
The user bootstrap lane read source for its whole turn budget without a single write (run 43726382831: 32 reads over 12 turns, zero writes). - bootstrap: write as you go, one topic at a time, scoped to the component path the consumer names; runtime-enforced discovery budget of 24 calls before the first write and 16 between writes - maintenance: scope to the component path, check page by page and edit drift immediately; no_changes only after every page is checked
chubes4
added a commit
that referenced
this pull request
Nov 15, 2026
…e user packages (#189) - WP Codebox v0.33.6 (4875fb1) reports failure{stage:agent,code,message} for every failed agent runtime and uploads the transcript and tool observability on failure (Automattic/wp-codebox#2590) - advance DOCS_AGENT_PACKAGE_REVISION to 667a3d7 (#188) with the new user bootstrap and maintenance package digests
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.
Problem
The user bootstrap lane spent its whole turn budget reading source and never wrote. Extra-Chill/extrachill run 43726382831 made 32 tool calls over 12 turns, all of them reads/lists/greps, and zero writes. The instructions told the agent to build a full private inventory first, and the only gate was a completion gate, which fires only once the model tries to finish (by then it had hit the turn cap).
Change
User bootstrap package
tool_call_rules, enforced byWP_Agent_Tool_Call_Gate, not the prompt:bootstrap-first-write-budget: afterworkspace_show, at most 24 discovery calls (read/ls/grep/GitHub) before a documentation write. It also blocks completion.bootstrap-write-cadence-after-{write,edit,apply-patch}: at most 16 discovery calls after the latest write before the next write (it does not gate completion).require-bootstrap-workspace-writeis unchanged.User maintenance package
no_changesonly after every page has been checked. There is still no write gate, so honest no-change runs stay possible.Validation
validate-docs-agent-packages.phpchecks the newrequired_bounded_discovery_rulesspec entries. Every rule tool must be enabled, and no rule may limit its own commit tools.native-agent-import.phpexercises the real gate:The package revision pin and digests are unchanged here. A follow-up PR pins
DOCS_AGENT_PACKAGE_REVISIONto this merge commit, the same pattern as f3d9657/84bcf7a.Tests
php tests/validate-docs-agent-packages.phpphp tests/validate-external-native-package-sources.phpAGENTS_API_DIR=<agents-api@78e2dd4> php tests/native-agent-import.php(51 pass)AI assistance: Extra Chill Bot (Claude), via a Roadie subagent.