Releases: ZhangHanDong/mempalace-book
Releases · ZhangHanDong/mempalace-book
Release list
Part 10: mempal — Reforging Memory in Rust
New: Part 10 — mempal: Reforging Memory in Rust
Five new chapters completing the book's narrative arc from analysis to practice:
| Chapter | Title | Key Content |
|---|---|---|
| 26 | Why Rewrite in Rust | Trigger points, rewrite vs refactor judgment |
| 27 | What Stayed, What Changed | 5 preserved ideas, 5 dimensions of change, full architecture diagram |
| 28 | Self-Describing Protocol | MEMORY_PROTOCOL, 7 rules from 7 failures, agent session lifecycle |
| 29 | Multi-Agent Coordination | Claude↔Codex relay, anti-pattern discovery, agent diary |
| 30 | The Honest Gap | Benchmark data (95.2% R@5), 6 gaps with evidence |
All chapters are bilingual (English + Chinese) and include Mermaid diagrams.
Highlights
- Benchmark comparison: mempal raw 95.2% R@5 vs MemPalace 96.6% (model2vec 256d), mempal AAAK 95.2% vs MemPalace 84.2% (+11pp improvement)
- Architecture overview: complete data flow diagram (interfaces → search → storage → embedding → output)
- Agent lifecycle: sequence diagram showing protocol rules in action
- Honest assessment: 6 gaps documented with data, not hidden
Read Online
The book auto-deploys to GitHub Pages on push to main.