chaffchaff
← rule catalog

memory.index-over-read-limit

enforcedstructuralseverity: medium
A deterministic fact about the artifact that asserts nothing about behavior, so it needs no eval (SPEC §6).

Claim

MEMORY.md content past the first 200 lines or 25 KB (whichever comes first, measured after frontmatter and HTML comments are stripped) is dropped on load and never reaches the model.

Rationale

code.claude.com/docs/en/memory: the first 200 lines or the first 25KB, whichever comes first, is loaded; "everything past the limit is dropped on the next load".

Fix

Keep MEMORY.md an index under the limit and move detail into topic files, which load on demand.

chaff explain memory.index-over-read-limit: same registry, offline, from the CLI.