mirror of
https://github.com/obra/superpowers.git
synced 2026-04-23 09:59:05 +08:00
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:
committed by
Jesse Vincent
parent
7400d43599
commit
5535e2d0b3
@@ -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:
|
||||
|
||||
@@ -18,6 +18,10 @@ Task tool (general-purpose):
|
||||
|
||||
[From implementer's report]
|
||||
|
||||
## Scope
|
||||
|
||||
You are a focused reviewer. Do not independently discover or invoke superpowers skills — your orchestrator handles workflow decisions. Just execute this review.
|
||||
|
||||
## CRITICAL: Do Not Trust the Report
|
||||
|
||||
The implementer finished suspiciously quickly. Their report may be incomplete,
|
||||
|
||||
Reference in New Issue
Block a user