{"version":"2.1.275","anchor":"large-hook-additionalcontext-entries-can-now-be-persisted-to","canonical_anchor":"large-hook-additionalcontext-entries-can-now-be-persisted-to","heading":"Large hook additionalContext entries can now be persisted to disk instead of truncated inline","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/large-hook-additionalcontext-entries-can-now-be-persisted-to","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### Large hook additionalContext entries can now be persisted to disk instead of truncated inline\n\nOversized hook context is now saved to a file instead of being cut off\n\n**What**\n\nHooks can return extra context text (`additionalContext`) that gets added to what the model sees. When a single hook's context text is too large for its allotted space, Claude Code now writes the full text to disk and passes along a reference to that file plus a truncated preview, instead of simply cutting the text short and discarding the rest.\n\n**Why**\n\nPreviously oversized context was hard-truncated and the rest lost. Saving it to disk means the full content isn't discarded, even though only a preview is shown inline.\n\n- Area: Hooks\n- Names: `additionalContext`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}