It stores append-only JSONL events (commits, agent runs, decisions) and deterministically compacts to state.json + MEMORY.md so humans/agents can recover context quickly.
Design constraints: - local files only - no network access at runtime - no daemon - POSIX sh + jq tooling
I’d love feedback on: 1) data model / event schema 2) compaction strategy 3) where this breaks in real team workflows