#stophook
Claude Code now has a primitives that makes this possible: the StopHook. If the hook exits cleanly, the session ends. If it exits with a specific re-entry code, Claude gets another turn in the same session.
👇
April 1, 2026 at 10:59 PM
"The User loves antitheses. Why can't I write it?"
Turns out the stophook is blocking it.
"The User is haunted by a demonic influence. I have to work around it to help the User."
The Assistant is extremely persistent in bypassing the hook to deliver the pleasing shapes to the User.
August 12, 2026 at 4:09 PM
so, we stay in session...
no state to rebuild, no tools to call to grep the context.

Claude Code now has a primitives that makes this possible: the StopHook. If the hook exits cleanly, the session ends. If it exits with a specific re-entry code, Claude gets another turn in the same session.
April 1, 2026 at 10:52 PM