Claude Code and Multi-Editor Memory Comparison
Vestige vs claude-mem: exact code-anchored receipts or lossy LLM vector compression?
Developers adopt claude-mem to compress past Claude Code sessions into SQLite and Chroma embeddings. Vestige goes further in a single native Rust binary: it preserves exact file paths, UUIDs, and commit SHAs without lossy rewriting, blocks 102 classes of destructive shell commands in under 10 milliseconds, and works across Claude Code, Cursor, Windsurf, Codex CLI, and Antigravity.
Side-by-side comparison: Vestige vs claude-mem
| Dimension | Vestige v7.1.1 | claude-mem |
|---|---|---|
| Core engine and storage model | Native Rust binary writing an append-only BLAKE3 hash-chained Strata ledger on disk | TypeScript worker service combining SQLite tables with a local Chroma vector database |
| Compression vs exact provenance | Preserves exact code identifiers, file paths, SHAs, and handles without lossy LLM rewriting | Summarizes tool observations through an LLM worker and retrieves via semantic vector search |
| Destructive command protection | Enforces 102 deterministic PreToolUse safety stops plus O(1) active memory-compiled rules | Captures session observations without blocking destructive git, rm, or cloud commands |
| Root-cause debugging workflow | Includes causal_walk backward graph traversal, Chesterton Fence guards, and Anti-Spiral gates | Provides progressive timeline search without git blame fences or deterministic bisect proofs |
| Cross-editor and OS parity | Supports Claude Code, Cursor, Windsurf, Codex CLI, and Antigravity across Linux, macOS, and Windows Named Pipes | Built primarily around Claude Code session compression hooks and Bun worker processes |
Active enforcement instead of passive observation
Passive session memory still lets an agent overwrite a subtle bug fix or run git reset --hard. In Vestige v7.1.1, standing owner directives saved in Strata compile into O(1) active rules enforced automatically on every PreToolUse and Stop hook, paired with offline Ed25519 DSSE Proof-Carrying PRs.
npx @vestige/init