release: Mnemazine

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.
This commit is contained in:
Зарубин Филипп
2026-08-25 00:38:03 +03:00
parent 17fd8fef5f
commit 4c8213eacd
203 changed files with 24055 additions and 960 deletions
+30
View File
@@ -21,10 +21,40 @@ export MNEMAZINE_VAULT="/path/to/your/vault"
node scripts/mnemazine-refresh-graphify.mjs --vault "$MNEMAZINE_VAULT" --mode auto --json
```
Live inbox runs use code mode and start semantic extraction as a detached task:
```bash
npm run graph:semantic:async
npm run graph:semantic:monitor
npm run graph:semantic:status
npm run graph:semantic:status:pretty
npm run doctor:watch
```
Status includes `progress`: completed jobs, active shard, failed logs, and ETA.
Use `status:pretty` for the short human-readable view with PID and elapsed time.
Use `doctor:watch` when you want to wait until the detached task stops.
Shard runs are resume-able by default: successful shard outputs get `.done.json`
markers, and per-file semantic cache lives in `.mnemazine/semantic-cache`.
`graph:semantic:monitor` resumes pending/failed/dead tasks or stale
`needs_update` markers after `--stale-hours` / `MNEMAZINE_SEMANTIC_MONITOR_STALE_HOURS`.
Use `npm run graph:semantic:async -- --fresh`, `--no-resume`, or `--no-cache`
only for a deliberately clean rerun.
By default, async semantic refresh uses the local shard/swarm path. That avoids
one huge 1160-note Ollama extraction timing out. Force the old single-run path
only when needed:
```bash
MNEMAZINE_SEMANTIC_TASK_STRATEGY=full npm run graph:semantic:async
```
What helper does:
- runs code-safe `graphify update`;
- detects if semantic freshness is still pending;
- runs local semantic shards by default, then merges and re-clusters them;
- resumes completed shards and reuses per-file semantic cache;
- for local Ollama, normalizes base URL to `/v1` before OpenAI-compatible calls;
- smoke-tests candidate models with both chat JSON and mini `graphify extract` before heavy semantic extraction;
- walks a model ladder from `--models` / `MNEMAZINE_GRAPHIFY_MODELS`;