mirror of https://github.com/garrytan/gstack.git
The Agent->host-tool rewrite only keyed on the exact literal 'use the Agent
tool', which never appears in generated content. Real phrasings ('using the
Agent tool', 'via the Agent tool', 'Use the Agent tool', and bare 'Agent tool')
slipped through, so the host's subagent tool never rendered and the Claude-ism
'Agent tool' leaked into generated docs (16x in hermes alone, delegate_task 0x).
Add article-first + bare-sweep rules to hermes (delegate_task), gbrain and
openclaw (sessions_spawn), and factory. Factory uses the plain noun 'delegation'
since its rewrites are prose, not tool names, which avoids echoing the
surrounding 'subagent' wording; a possessive-first rule handles "Claude Code's
Agent tool". Regenerated all four trees: 0 'Agent tool' leaks. Update the
factory ship golden baseline to match.
|
||
|---|---|---|
| .. | ||
| claude.ts | ||
| codex.ts | ||
| cursor.ts | ||
| factory.ts | ||
| gbrain.ts | ||
| hermes.ts | ||
| index.ts | ||
| kiro.ts | ||
| openclaw.ts | ||
| opencode.ts | ||
| slate.ts | ||