{"version":"2.1.311","anchor":"at-mentioned-files-can-be-read-as-first-lines-only-under-a-to","canonical_anchor":"at-mentioned-files-can-be-read-as-first-lines-only-under-a-to","heading":"Large @-mentioned files can be trimmed or sent as references under a token budget","tier":"notice","area":"File Mentions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/at-mentioned-files-can-be-read-as-first-lines-only-under-a-to","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Large @-mentioned files can be trimmed or sent as references under a token budget\n\nBehind a flag, @-mentioned files share a size budget: files that do not fit are cut to their first lines, and over-limit files can become references\n\n**What**\n\nWhen you @-mention a file, Claude Code attaches its contents to your message. Behind the `tengu_snuggly_goblet` flag, large files may now be handled differently. The flag server returned this flag off for this site's account and for the anonymous baseline; no reading has been taken under this release.\n\n- Shared budget: when the flag is on and the model's context limit is above a base value, @-mentioned files are read against a shared size budget, measured in tokens (the units the model counts text in). Each file claims part of the budget.\n\n- First lines only: a file that does not fit is cut to its first lines.\n\n- Over the limit: a file that is still too big is marked `overTokenLimit`.\n\n- References: when a feature check passes, a file marked `overTokenLimit` is sent as an `at_mention_reference` instead of its contents.\n\n**Why**\n\nIn sessions with large context limits, the model may see only the start of a big @-mentioned file, or just a reference to it, instead of the whole file. This keeps large files from filling the conversation.\n\n- Flag `tengu_snuggly_goblet`: Off in both readings (read for one account on one subscription tier against v2.1.311; this account: off, anonymous baseline: off, 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: File Mentions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}