Memory design @ zerostack
tldr Plain Markdown on disk, auto-injected context, zero infrastructure
The problem Implementing a Memory system that was on par with Claude Code, while following the UNIX-like minimal philosphy of zerostack.
The design zerostack’s Memory system is a file-based store living under <config_dir>/agent/memory/.
<config_dir>/agent/memory/ ├── MEMORY.md # Global long-term memory (shared across projects) └── projects/ └── <slug>/ ├── SCRATCHPAD.md # Per-project checklist ├── daily/ # Daily running logs └── notes/ # Reference docs (never auto-injected) The project slug is <sanitized-basename>-<8-hex-of-path-hash>, so two repos with the same folder name get distinct storage. MEMORY.md is global and shared across all projects, allowing for cross-project instructions.
rocketup - blog on (almost) anything