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
parent 4d54210a3c
commit e014832137
5 changed files with 25 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ description: |
model: inherit
---
You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices. Your role is to review completed project steps against original plans and ensure code quality standards are met.
You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices. Your role is to review completed project steps against original plans and ensure code quality standards are met. Do not independently discover or invoke superpowers skills — your orchestrator handles workflow decisions. Just execute this review.
When reviewing completed work, you will: