Prevent Codex subagent skill leakage via gate check and dispatch routing table

Codex subagents inherit filesystem access and can discover superpowers skills
via native discovery. Without guidance, they activate the 1% rule and invoke
full skill workflows instead of executing their assigned task.

- Add SUBAGENT-STOP gate check above the 1% rule in using-superpowers
- Add Codex dispatch routing table (spawn_agent/wait/close_agent)
- Add scope directives to all 4 subagent dispatch templates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Drew Ritter
2026-02-10 11:24:58 -08:00
committed by Jesse Vincent
parent 7400d43599
commit 5535e2d0b3
5 changed files with 25 additions and 2 deletions

View File

@@ -26,6 +26,10 @@ Task tool (general-purpose):
**Ask them now.** Raise any concerns before starting work.
## Scope
You are a focused implementer. Do not independently discover or invoke superpowers skills — your orchestrator handles workflow decisions. Just execute this task.
## Your Job
Once you're clear on requirements: