Repository navigation
fix(docs-agent): scope runner briefs to the component and pin Docs Agent cbac654 - #1488
Merged
Merged
Conversation
…nt path Tell each runner to read only its own plugin directory and to write each article as soon as it is grounded; scope the events source_delta refs, which pointed at repository-root inc/templates/blocks; reject unscoped refs and bootstrap globs in the resolver.
Contributor
Homeboy Resultsextrachill-docs✅ review lint — no new findings ✅ review test — no new findings Artifacts and drill-down
|
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.
Why
Live Docs Agent runs read source until they hit the turn cap and never wrote anything:
Changes
Runner briefs (
platform-map.yml)plugins/<component>/(plus the named writing-rules file). The agent must never list or read the repository root, other plugins, or vendor/build/test directories.Scoping fix
source_deltarefs wereinc/**,templates/**andblocks/**, which point at the repository root, not the plugin. They are nowplugins/extrachill-events/....docs-agent-config.pynow rejectssource_deltarefs or bootstrap globs outside the component path.Pin bump
cbac654a6bc370c0e5d30dbb262f80c69812e17c. It includes:failure{stage:agent,code,message}for every failed runtime and uploads the transcript and tool observability on failure (fix(agent-task): always report why the agent runtime failed and keep its transcript Automattic/wp-codebox#2590).Tests
python3 -m unittest plugins/extrachill-docs/tests/test_docs_agent_config.pypasses, including a new test that rejects out-of-component refs.AI assistance: Extra Chill Bot (Claude), via a Roadie subagent.