Rank, 14 days: 254 on the Codex sheet
3 people reported

All time, since Sep 30, including 1 thumbs-up on GitHub.

PreToolUse hook skips spawn_agent

“A hook meant to stop or check sub-agent launches is skipped silently.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/codex/issues/14667/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

PreToolUse hooks never run for spawn_agent sub-agent launches. A hook matching spawn_agent or the Agent alias is skipped silently, so a permissionDecision "deny" cannot block the spawn.

Is this your bug?

File my report
Where
PreToolUse hooks
Versions
0.159.2 to 0.164.0
Platforms
macOS, Windows
How bad
Security risk: something exposed, or done without permission.

Original reports2, newest first

  1. Hooks see a multi-agent v2 launch as collaborationspawn_agent, so spawn_agent and Agent matchers miss itOn GitHub#57539
  2. PreToolUse hooks are not invoked for spawn_agent, so a deny cannot block sub-agent spawnsOn GitHub#49736

Do you work on Codex?

Claim its RAP Sheet to see what your users report and answer them in one place.