What's New
Subagent Output Budget — Task/subagent prompts now get a 500-word output limit injected via PreToolUse hook.
How it works
- Hook injects
OUTPUT FORMATblock into every Task tool call - Subagents are instructed to: write artifacts to files, index findings into shared KB, return only a concise summary
- Parent agent can
search()the shared knowledge base for details - Bash subagents auto-upgrade to
general-purposefor MCP tool access
Test coverage
- 11 tests covering hook injection, shared KB pipeline, and budget measurement
tests/subagent-budget.test.ts
Full Changelog: v0.7.2...v0.7.3