01
Access入口层
CLI (amm), HTTP API bound to 127.0.0.1, MCP over stdio, and an Electron desktop window. One core, four doors.
Four tables, one vector store, three entry points. Shape rules are enforced in code, writes are dry-run by default.
CLI (amm), HTTP API bound to 127.0.0.1, MCP over stdio, and an Electron desktop window. One core, four doors.
22 modules: capture, grouping, retrieval, digging, withering, handoff packing. Shape rules and safety constraints live here.
Four SQLite tables (memory_tree / hollow / truffle / earth) plus a local Chroma index. Single machine, backup-friendly.
21 MCP tools and 4 resources that hand the forest to any MCP host: Claude Desktop, DSH, or your own client.
| memory_tree | tree / trunk / branch / leaf, self-referencing parent_id, ON DELETE CASCADE |
| hollow | hollows, attached to trunk only, encrypted, dies with the tree |
| truffle | secret vault, encrypted with salt padding |
| earth | key-value settings: lifetimes, model, file fingerprints |
DDL lives in amm_core/schema.sql; the full API is at /docs.