Checkpoint ZipMem progress
zipmem_checkpointPeriodically stage progress to prevent data loss from abrupt exits. Buffers and restores work if session ends without clean compaction.
Instructions
Stage incremental progress for crash-safety. Call this PERIODICALLY during a session — after each meaningful unit of work (a feature wired up, a bug fixed, a decision made) — so that an abrupt exit (Ctrl+C, a closed terminal, a crash) never loses more than the last few steps. It is cheap and does NOT finalize the session: pass the same structured fields as save_and_compact (blueprints/anchors/lessons + a running summary). The data is buffered durably and folded into memory automatically on the next session if the current one ends without a clean compaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchors | No | ||
| lessons | No | ||
| summary | No | A running one-line summary of progress so far (optional). | |
| blueprints | No | ||
| project_dir | No | Defaults to the server's project root. |