Skip to content

fix(docs-agent): scope runner briefs to the component and pin Docs Agent cbac654 - #1488

Merged
chubes4 merged 2 commits into
mainfrom
fix/docs-agent-component-scope
Nov 15, 2026
Merged

chubes4 merged 2 commits into
mainfrom
fix/docs-agent-component-scope

Conversation

@chubes4

@chubes4 chubes4 commented Nov 15, 2026

Copy link
Copy Markdown
Member

Why

Live Docs Agent runs read source until they hit the turn cap and never wrote anything:

  • 43726382831: 32 reads and 0 writes in 12 turns.
  • On v0.33.5 the runs failed with no reason at all.

Changes

Runner briefs (platform-map.yml)

  • Each brief now says to read source only under 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.
  • It starts from the existing articles and writes each article as soon as it is grounded.

Scoping fix

  • The events source_delta refs were inc/**, templates/** and blocks/**, which point at the repository root, not the plugin. They are now plugins/extrachill-events/....
  • docs-agent-config.py now rejects source_delta refs or bootstrap globs outside the component path.

Pin bump

Tests

  • python3 -m unittest plugins/extrachill-docs/tests/test_docs_agent_config.py passes, including a new test that rejects out-of-component refs.

AI assistance: Extra Chill Bot (Claude), via a Roadie subagent.

…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.
@homeboy-ci

homeboy-ci Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results

extrachill-docs

✅ review lint — no new findings

✅ review test — no new findings

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-extrachill-docs-review-lint-review-test-component-ci-__self-Linux-php8.4-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-extrachill-docs-review-lint-review-test-component-ci-__self-Linux-php8.4-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/extrachill/actions/runs/43732497006

@chubes4
chubes4 merged commit 648738b into main Nov 15, 2026
15 checks passed
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.

1 participant