Harden graph refresh defaults and smoke tests

This commit is contained in:
tv5171621-source
2026-06-15 14:30:49 +03:00
parent 65b36a93d0
commit 79cd8c4944
8 changed files with 194 additions and 20 deletions
+4 -1
View File
@@ -183,13 +183,16 @@ Graphify turns the vault into a navigable relationship graph. Mnemazine uses it
For guarded local refreshes, use:
```bash
npm run graph:refresh -- --vault "$HOME/Полезные знания" --mode auto
export MNEMAZINE_VAULT="/path/to/your/vault"
npm run graph:refresh -- --vault "$MNEMAZINE_VAULT" --mode auto
```
This wrapper keeps `graph.json`, `GRAPH_REPORT.md`, backup/restore, and `needs_update` in sync instead of blindly trusting one heavy semantic run.
For local Ollama semantic refreshes it also uses a guarded model ladder, rejecting models that fail a mini `graphify extract` smoke before they touch the real vault graph.
Repo defaults live in `config/graphify-refresh.json`. Override them with CLI flags or `MNEMAZINE_GRAPHIFY_*` env vars when needed.
![Graphify map](docs/assets/hero/mnemazine-graphify.png)
## Weekly HTML Brief