Local-first memory system: raw material in, finished notes out. Synthesis on write.
This release brings a guided install that explains itself and ends with a live demo
pass, eleven fixes to the knowledge pipeline found by running it against a real
archive of 216 sources, and a documentation pass in the project's own voice.
- sync.sh: LOCAL_INBOX/STAGING from MNEMAZINE_INBOX (default repo/inbox),
exported so `npm run run` reads the same dir; handles paths with spaces.
- sync.sh + poll.sh: source .mnemazine/config.local.sh for non-secret
personal path overrides (keeps secrets out of tracked files and .env guard).
- .gitignore: config.local.sh + runtime .last-daily marker.
Add `npm run search` (mnemazine-kb-search.mjs): a recon → fan-out → fan-in
swarm over the live vault that writes a Russian "Справка" Markdown report.
Recon keyword-scores notes (0 tokens); --deep/MNEMAZINE_DEEP engages a
bounded-pool LLM swarm (one agent per shard, untrusted notes fenced), then
the orchestrator dedups + synthesizes. Local fallback keeps it 0-token by
default, mirroring the rest of the deep pipeline. Self-test included.
Wire it into the Telegram Mini App: the vault is Mac-only and the server is
on the VPS, so the button only enqueues. Server gains POST /api/search
(queue), GET /api/searches (list reports), GET /api/search?name= (read, with
path-escape guard). Mini App gets a search card + report list + text viewer
(rendered as text — no markdown XSS sink). The Mac poller drains the queue,
runs the swarm locally, and rsyncs reports back to the VPS.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>