Parent Epic
#138 — Sub-Agent Question Propagation Fix
Phase 2 — Option C: Permission Tightening
Task
Update opencode.json to set question: "deny" for agents with mode: "subagent".
Design (from §6 Option C)
- Set
question: "deny" for agents with mode: "subagent" after Phase 0 is in place.
- Keep
question: "allow" for Orchestrator.
- Keep
Super-Admin as allow (Phase 0 instruction update + Phase 1 runtime guard handle the dispatched-super-admin case).
Rationale
- Official permissions support
question as allow/ask/deny only.
- Because
question is non-granular, permission-only control is too blunt for Super-Admin mode all.
- Permission tightening should not be the only mitigation — combines with Phase 0 + Phase 1.
Affected Agents (mode: subagent)
- Meta-Planner
- Architect
- Coder-BE
- Coder-FE
- Guardian
- Arbiter
- CI-CD-Agent
- Knowledge-Curator
Not Affected
- Orchestrator (primary) — stays allow
- Super-Admin (mode: all) — stays allow (guarded by Phase 1 plugin)
Reference
docs/review/framework-refactor/sub-agent-question-propagation-issue.md §6 Option C
Parent Epic
#138 — Sub-Agent Question Propagation Fix
Phase 2 — Option C: Permission Tightening
Task
Update
opencode.jsonto setquestion: "deny"for agents withmode: "subagent".Design (from §6 Option C)
question: "deny"for agents withmode: "subagent"after Phase 0 is in place.question: "allow"forOrchestrator.Super-Adminas allow (Phase 0 instruction update + Phase 1 runtime guard handle the dispatched-super-admin case).Rationale
questionas allow/ask/deny only.questionis non-granular, permission-only control is too blunt forSuper-Adminmodeall.Affected Agents (mode: subagent)
Not Affected
Reference
docs/review/framework-refactor/sub-agent-question-propagation-issue.md§6 Option C