Capture the work around the code
Snapshots join source layout and Git diffs with pins, failure clues, goals, tasks, decisions, and open questions.
Published CLI · v0.3.1
Give interrupted development work a durable memory.
A local project-memory CLI that captures repository structure, Git state, runtime clues, and developer intent. It turns snapshots into searchable history, Markdown handoff files, compact restore prompts, and reports of file drift.
A diff shows what changed, but rarely preserves the goal, decisions, and failure state around that change. This project keeps those signals together so a developer or coding agent can resume with an inspectable account of the work.
Snapshots join source layout and Git diffs with pins, failure clues, goals, tasks, decisions, and open questions.
Agent-facing Markdown files separate overview, architecture, behavior, decisions, and recent changes. A mode-aware compiler also emits one restore prompt.
A deterministic distiller allocates an approximate character budget across six sections and truncates their text. It is predictable and inspectable without a remote summarization call.
Local full-text search finds saved context. Restore validation reports branch or file divergence, while snapshot comparison reveals changes in captured work state.
Four capture planes converge on a local snapshot, then branch into inspection and handoff artifacts.
Change a modeled repository size and the prompt budget to see how six sections share the available context space.
Illustrative input volume. The section allocation follows compile_packet: 24 / 18 / 18 / 18 / 10 / 12 percent of max(240, budget × 4) characters. No repository is scanned in your browser.
The full snapshot is saved before generating compressed prompts, so a small handoff can link back to richer captured context.
The distiller approximates tokens as four characters and divides sections by fixed weights. This is a practical length control, not an exact tokenizer guarantee.
Restore checks current state against fingerprints and reports divergence. It does not automatically replace the checkout with old file contents.
Implementation details, examples, and project documentation.
Inspected snapshot assembly, persistence, prompt generation, handoff files, and comparison.
Inspected section content, fixed proportions, truncation, and approximate character budget.
Inspected branch comparison, file existence, size checks, and SHA-1 comparisons.
Architecture and descriptions reflect the linked repository snapshot. The playground explains a mechanism; it does not execute the repository or report measured performance.