Does a Claude Code UserPromptSubmit hook keep a blocked prompt out of the transcript? 6 of 6 never reached the model, all 6 were still written to it
This story is from 2026-10-06. It is preserved in the archive; the latest stories are on the live feed.
6 of 6 prompts that a UserPromptSubmit hook blocked never reached the model, yet all 6 were still written to the session transcript (4 of them twice), and claude -p exited 0 with "subtype": "success" every time. Context injection matched the hooks page: plain stdout and additionalContext arrived in…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-06 02:17 · DEV Community — AI
Does a Claude Code UserPromptSubmit hook keep a blocked prompt out of the transcript? 6 of 6 never reached the model, all 6 were still written to it