{"version":"2.1.328","anchor":"prompt-as-file-now-runs-before-compaction-and-filters-candid","canonical_anchor":"prompt-as-file-now-runs-before-compaction-and-filters-candid","heading":"Long prompts can be moved into a file before the conversation is compacted","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/prompt-as-file-now-runs-before-compaction-and-filters-candid","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Long prompts can be moved into a file before the conversation is compacted\n\nClaude Code can now move a long prompt into a file before compacting the conversation, and only considers prompts since the last change of model\n\n**Unclear.** It is not clear whether this is switched on for every user or only under a setting decided elsewhere.\n\n**What**\n\nClaude Code can move a long prompt out of the conversation and into a file. Compaction is when an overlong conversation is summarized to free up space. This move can now happen before compaction, and that case is measured separately under `prompt_as_file_before_compaction`.\n\nThe prompts Claude Code considers moving are now limited to those after the last reply from a model other than the default one. Before, the search started over whenever the model changed.\n\n**Why**\n\nLarge pasted prompts can be moved into a file before the conversation is compacted.\n\n- Area: Compaction\n- Names: `prompt_as_file_before_compaction`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}