Unclear Which sessions treat hook answers as arriving over the network is not clear.
What
A hook is a command you configure to run automatically at a certain moment. Some hook answers can reach Claude Code over the network rather than from your own machine. Claude Code now filters those answers:
MessageDisplayhooks: any replacement of the text being displayed is dropped.PostToolUsehooks: any replacement of the tool's output, including output from MCP tools, is dropped.- System messages: the hook's
systemMessageis cut to at most 8,000 characters and 200 lines.
Each time a replacement is dropped, Claude Code logs a warning.
Why
A hook answer that came from elsewhere can no longer change what you see on screen or what a tool really returned.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Which sessions treat hook answers as arriving over the network is not clear.