Phase 1 — Surface existing bus events
Currently only permission_rejected is surfaced to NDJSON (headless auto-deny). The permission.asked and permission.replied bus events exist but are not wired to the NDJSON output.
Enterprise consumers need visibility into:
- What permissions were requested
- Whether they were auto-approved, user-approved, or denied
- The patterns and tool context of each decision
Low effort — the data is already on the bus in run.ts, same pattern as the tool_use subagent fix in #24.
Phase 1 — Surface existing bus events
Currently only
permission_rejectedis surfaced to NDJSON (headless auto-deny). Thepermission.askedandpermission.repliedbus events exist but are not wired to the NDJSON output.Enterprise consumers need visibility into:
Low effort — the data is already on the bus in
run.ts, same pattern as thetool_usesubagent fix in #24.