{"version":"2.1.321","anchor":"frontmatter-keep-percent-must-be-an-integer-from-50-to-100","canonical_anchor":"frontmatter-keep-percent-must-be-an-integer-from-50-to-100","heading":"A keep-percent value in a file's frontmatter must be a whole number from 50 to 100","tier":"notice","area":"Memory Files","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/frontmatter-keep-percent-must-be-an-integer-from-50-to-100","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### A keep-percent value in a file's frontmatter must be a whole number from 50 to 100\n\nClaude Code only accepts a keep-percent value in frontmatter if it is a whole number between 50 and 100\n\n**Unclear.** Which file or feature reads this keep-percent frontmatter value is not stated.\n\n**What**\n\nClaude Code checks a keep-percent value written in a file's frontmatter (the block of settings at the very top of a file). The value is accepted only when it meets all of these:\n\n- It is a whole number, with no decimal part.\n\n- It is at least 50.\n\n- It is at most 100.\n\nThe keep-percent value is also no longer included in one of the usage records Claude Code collects.\n\n**Why**\n\nThe accepted range is now written out explicitly, so a value such as 30 or 75.5 is rejected. If you set a keep-percent value, keep it to a whole number from 50 to 100.\n\n- Area: Memory Files\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}