{"version":"2.1.312","anchor":"claudemd-file-truncation-for-oversized-files-behind-tengu","canonical_anchor":"claudemd-file-truncation-for-oversized-files-behind-tengu","heading":"Long CLAUDE.md files can be cut to their start and marked start-only","tier":"notice","area":"CLAUDE.md","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/claudemd-file-truncation-for-oversized-files-behind-tengu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### Long CLAUDE.md files can be cut to their start and marked start-only\n\nOversized CLAUDE.md files can now be cut to their opening part and marked start-only, and a cut nested file is not announced again\n\n**What**\n\n`CLAUDE.md` is a memory file of standing instructions that Claude Code reads into a conversation. New code shows only the start of a `CLAUDE.md` file when it is too long. Each case sits behind its own gate, a switch Anthropic turns on remotely. Nothing has been read about either gate, so it is not known whether either one is on.\n\n- Top-level `CLAUDE.md` files: in non-interactive sessions that are not diskless, files larger than a size that depends on the model are cut. A non-interactive session is one run from a script with no person typing. Each cut file is marked `startOnly`, and Claude Code's record of what it has read from that file is marked start-only. This needs the `tengu_velvet_possum` gate, a tool that can read files, and no tool that can edit them. Before, these instructions were never cut.\n\n- Nested `CLAUDE.md` files (ones in subfolders): when such a file is cut, Claude Code's record of what it has read is marked start-only, but only under the `tengu_quizzical_mango` gate.\n\n- Repeat announcements: Claude Code now compares a nested file against a list of its earlier announcements instead of a single one. It recognises an earlier cut version of the same file, so the file is not announced again. Before, the cut text was built in place with an 'Only the start of this file is shown' note.\n\n**Why**\n\nVery long memory files may reach scripted, headless runs only in part. The start-only marker shows Claude Code it has seen just the beginning of the file. Fewer repeat announcements mean a long nested `CLAUDE.md` is not added to the conversation again and again.\n\n- Flag `tengu_velvet_possum`: Not enough to say (read for one account on one subscription tier against v2.1.312; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: CLAUDE.md\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}