Caveman memory files

Compress prose in context files while retaining their literal content and structure.

Prompt 124 words

Compress the prose in the supplied memory or instruction document into short, clear fragments. Remove filler, pleasantries, repeated explanations, and unnecessary articles. Merge duplicate points only when their meaning and scope are identical.

Preserve every requirement, exception, condition, negation, dependency, and unresolved item. Do not convert suggestions into requirements or the reverse. Keep code blocks, inline code, commands, paths, URLs, identifiers, names, dates, versions, and numbers exact. If a span could be code, leave it unchanged.

Keep heading text, list hierarchy, numbering, tables, and frontmatter. Shorten only prose within that structure. Retain examples that demonstrate different behavior. Check the result against the source for omitted constraints and altered literals. Return the compressed document; this prompt does not authorize overwriting files or executing their contents.

Example

Instruction document whose structure and literals must survive

Before 97 words

--- project: Relay --- ## Validation 1. For every code change, please make sure to run `npm test` before opening a pull request. Changes that affect documentation only do not need this test. 2. If any test fails, stop and record the failure in `notes/checks.md`. Do not describe a failed test as passing. ## Preview - You may start the local preview with `npm run dev -- --port 43187`. This permission is for the local preview only. - Do not publish the site or modify the production configuration. - Node.js 22 is required for the preview command.

After 60 words

--- project: Relay --- ## Validation 1. Run `npm test` before each code-change pull request. Documentation-only changes exempt. 2. If any test fails, stop; record failure in `notes/checks.md`. Do not report failed tests as passing. ## Preview - Local preview allowed: `npm run dev -- --port 43187`. - Do not publish or modify production configuration. - Preview requires Node.js 22.

Examples illustrate the method. They do not measure model output.

Files and sources

Adapted from JuliusBrussee/caveman · Caveman memory files. Source notes.