Skip to content

Mount skill search and load tools on every worker - #982

Merged
TheGreatAxios merged 7 commits into
mainfrom
cl-7668-mount-skill_search-and-use_skill-on-every-worker-stop-baking
Sep 13, 2026
Merged

Mount skill search and load tools on every worker#982
TheGreatAxios merged 7 commits into
mainfrom
cl-7668-mount-skill_search-and-use_skill-on-every-worker-stop-baking

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

Workers mount skill_search and use_skill scoped to their optionalSkills and load skill bodies on demand instead of baked SKILL.md dumps. Grok and Kimi leaf workers deny skill_search through the family policy while use_skill stays available; brief-named skills load straight through use_skill.

Verification

bun run check passes (7132 tests, 0 fail). Prompt sizes fall 64-96 percent per worker. Live tier-med eval cells blocked on missing model credentials in this environment.

Fixes CL-7668

@linear-code

linear-code Bot commented Sep 13, 2026

Copy link
Copy Markdown

CL-7668

@TheGreatAxios

Copy link
Copy Markdown
Collaborator Author

Audit: Approve. Problem/solution fit: baked SKILL.md dumps per spawn removed in favor of scoped skill_search/use_skill mount with mount-time deny for grok/kimi. File-for-later (do not implement here): (1) optional-compliance drift, (2) unset-allowlist widening log.

@TheGreatAxios
TheGreatAxios force-pushed the cl-7668-mount-skill_search-and-use_skill-on-every-worker-stop-baking branch from 94cb600 to 55a893b Compare September 13, 2026 19:32
Warden's test pinned the pre-skill review surface; skill tools now ride REVIEW_TOOLS via READ_TOOLS, scoped at mount to optionalSkills. Update the expectation and the prompt line to match critic.
@TheGreatAxios
TheGreatAxios merged commit 3855ccc into main Sep 13, 2026
9 checks passed
TheGreatAxios added a commit that referenced this pull request Sep 13, 2026
…mounting (#1000)

Worker mounts from #982 made six prose sites stale: workers now mount skill_search + use_skill scoped to optionalSkills instead of baking bodies. Correct the count (20 packages), drop the bake parenthetical, and reattach the orphaned identity JSDoc. No behavior change.
TheGreatAxios added a commit that referenced this pull request Sep 14, 2026
* Mount skill_search and use_skill on every worker tool surface

* Mount scoped skill_search and use_skill on every worker

* Spread skill tools across build, docs, review, and orchestrator surfaces

* Load worker skills on demand instead of baking bodies

Baked skill bodies cost roughly 38KB per worker prompt; workers now search and load only the skills the brief names.

* Deny skill_search on grok and kimi leaf workers

Search is the noisy surface on small models; use_skill stays available so brief-named skills still load.

* Enforce the skill search deny at the worker mount

* fix: scope warden to the on-demand skill surface

Warden's test pinned the pre-skill review surface; skill tools now ride REVIEW_TOOLS via READ_TOOLS, scoped at mount to optionalSkills. Update the expectation and the prompt line to match critic.
TheGreatAxios added a commit that referenced this pull request Sep 14, 2026
…mounting (#1000)

Worker mounts from #982 made six prose sites stale: workers now mount skill_search + use_skill scoped to optionalSkills instead of baking bodies. Correct the count (20 packages), drop the bake parenthetical, and reattach the orphaned identity JSDoc. No behavior change.
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