Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

A new hook-gathering step trims hooks to fixed types and size limits

A new step gathers hooks from several sources, keeps only accepted hook types and cuts them down to fixed size and count limits

Under the hood Internal Changes
JSON All of v2.1.317
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.317,
Internal ChangesSection of the release

Unclear It is not clear whether anything uses this hook-gathering step yet, so it may have no effect today.

What

Hooks are actions you set up to run automatically at set points while Claude Code works. A new step gathers hooks from several sources and merges them, applying rules as it goes:

  • command hooks are always kept
  • http, prompt and agent hooks are kept only when the receiving side says it accepts that type
  • http hooks are cut down to a fixed list of fields
  • PreToolUse command hooks set to run in the background are made to run and finish before the tool call, when a policy check calls for it
  • limits apply to the number of hooks, their size, their arguments (capped at 8192) and the length of their matchers, and anything trimmed is reported as cut at a limit
Why

Hooks passed on through this step arrive trimmed to fixed limits and accepted types, so oversized or unsupported hooks do not get through it unchanged.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether anything uses this hook-gathering step yet, so it may have no effect today.

See this entry in the whole of v2.1.317 →

Feedback