Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.236 Home All releases olderv2.1.235 v2.1.237newer
Claude Code v2.1.236

PostToolUse hooks can pass context to the auto-mode permission classifier

Use it now
Useful4 Signal4
Hooks Notable not in their notes

Your PostToolUse hooks can send extra context to the classifier that decides permissions in auto mode.

classifierContext
What

PostToolUse hook responses accept a new optional classifierContext string, carried alongside the tool result to the classifier that decides permissions in auto mode. It is capped at 2000 UTF-16 code units shared across all hooks for a single tool call, honored only on synchronous hook responses, and dropped if the paired output rewrite is rejected or superseded. Anyone writing a hook on this build can use it.

Details
  • Added to both the SDK-facing hook schema and the internal one, so it is documented to hook authors as well as accepted at runtime.
  • The description states that relaying a genuine user statement may satisfy a consent bar, but never a hard boundary.
  • No feature flag on the schema itself.
Evidence

Host-asserted context shown to the auto-mode permission classifier alongside this tool call's result.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.236 →