[BUG] Hooks related info disappeared from transcript

Resolved 💬 6 comments Opened Feb 6, 2026 by liukatkat Closed May 6, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Since v2.1.27, a lot of the hooks-related logs are gone from the transcript (Ctrl + O toggled). Some of the info that disappeared include:

  1. Hook success message
⎿  PostToolUse:Callback hook succeeded: Success
  1. The reason when a hook returns a blocking error
  ⎿ PostToolUse:Edit hook returned blocking error: <the reason was inserted here prior to v2.1.27>

What Should Happen?

The success message and the reason should be included in the transcript.

The success message is very helpful in confirming whether hooks are working, and I have noticed that the agent is doing worse in responding to a blocking error without the reason in the transcript (vs when the reason is outputted in the transcript).

Error Messages/Logs

Steps to Reproduce

  1. Run a hook. Observe that there is no success message even if you can see that it ran in the logs if you pass in --debug.
  2. Run a hook that returns a blocking decision with a reason, observe that the reason is not included in the transcript.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.25

Claude Code Version

2.1.27, 2.1.32

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗