Reads the turns a session has had since it last ran, searches the memai store, and reports only the memories that bear on what is actually happening -- a pitfall the work is walking into, a decision it is about to contradict, a fact it is about to rediscover. Launched by the session itself when the Stop hook says the…
The lifecycle of MemAI CHECKPOINTS: deciding which bearing is still current and which one is superseded, archiving the checkpoint of work that is closed or an intra-session trail that a newer one already covers, keeping the single bearing a live effort still needs, correcting a fact in a kept checkpoint that has gone…
Verify a MemAI memory's claims against live facts and set its confidence (unverified | confirmed | contradicted). Checks the anchors a scan already extracted — file:line, symbol, table/column, domain, URL — against today's source, promotes or demotes each memory, stages a reword for a detail that drifted, and pushes…
Distill and MOVE knowledge between MemAI types: pull what is durable out of one checkpoint (or several) into a note/reasoning/antipattern, change a memory's type (checkpoint→note when the content is timeless), and merge near-duplicates. Use when the user asks to "distill memory", "turn a checkpoint into a note", "move…
Stitch the MemAI relations GRAPH: typed edges between memories (supersedes / relatesto / contradicts / linksto), turning [[wikilinks]] written in a body into real edges, connecting complementary memories that share a domain, and preserving lineage (checkpoint to note, archived to successor). Uses dedupscan to find…
Orchestrator of the MemAI MAINTENANCE pass (long-term agent memory). Runs [[memai-checkpoints]], [[memai-distill]], [[memai-confidence]] and [[memai-link]] as one curation pass, owns what none of them covers — the DOMAIN TREE (nested paths, cross-listing, casing), the DIAGRAMS and the store's DECAY (reviewafter) — and…
How to use the MemAI MCP server (long-term agent memory: one ACID SQLite store, BM25 keyword search) — which tool family to call when: pulse/search/recall/listbydomain/listrecent/ listdomains/getmemory/help to read; note, reasoning, antipattern, checkpoint, handoff, diagram to write; diagram/getdiagram for flows…