Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

Prompt hook blocking-error truncates overly long prompt commands

Prompt hook error messages now truncate overly long prompt text instead of embedding it in full

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.274,
Under the hood

Prompt hook error messages now truncate overly long prompt text instead of embedding it in full

What

When a prompt hook's condition isn't met, the resulting blocking-error message now truncates the prompt command or label if it's too long, instead of always embedding the full raw prompt text.

Why

This keeps error messages from a prompt hook readable and prevents very long prompt text from bloating the error output.

See this entry in the whole of v2.1.274 →