{"version":"2.1.327","anchor":"hook-output-persistence-is-content-addressed-and-size-capped","canonical_anchor":"hook-output-persistence-is-content-addressed-and-size-capped","heading":"Large hook output is saved once per unique content and checked after writing","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/hook-output-persistence-is-content-addressed-and-size-capped","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Large hook output is saved once per unique content and checked after writing\n\nLarge hook output is now saved under a name based on its content, has a size cap, and is checked after it is written\n\n**What**\n\nA hook is a command you set up to run automatically at certain points in a session. When a hook produces a lot of output, Claude Code saves that output to a file.\n\n- The file is now named from a fingerprint of its content, so identical output always gets the same name.\n\n- A size cap now limits how much is saved.\n\n- After writing, Claude Code checks that the file has the expected size. If it does not, it saves again under a random name.\n\n**Why**\n\nWhen a hook produces the same output again, Claude Code reuses the same saved file instead of writing a new one.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}