feat(search): facet-diverse swarm + verify lenses + eval harness + install greeting

2A perspective-diversity for ~free: the planner call now returns 2-4 query
facets (real axes of the question) alongside terms. Facets steer 0-token recon
routing, give each shard a focus axis in its prompt, and seed synthesis themes
— diversity without extra agents.

2B opt-in verify (MNEMAZINE_SEARCH_VERIFY=1): one agent per top-K finding judges
3 lenses at once (grounded/relevant/actionable) against the note's own text and
drops ungrounded findings. Bounded (K calls), default off to keep tokens tight.

Eval harness (tests/search-eval.mjs, §5): Tier A deterministic recall/anti-noise
over an inline synthetic vault (0 tokens, wired into release-check); Tier B
opt-in LLM judge scoring the deep report for groundedness/relevance/coverage
(generator != evaluator). New `npm run search:eval`.

install.sh: bilingual (RU/EN) greeting from the author on first install —
thanks, GitHub star ask, invite to suggest improvements.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Зарубин Филипп
2026-06-19 18:52:30 +03:00
co-authored by Claude Opus 4.8
parent 48af0c5b4c
commit 103efd029a
5 changed files with 269 additions and 20 deletions
+1
View File
@@ -17,6 +17,7 @@
"ingest:site": "node scripts/mnemazine-ingest-site.mjs",
"synthesize": "node scripts/mnemazine-synthesize.mjs",
"search": "node scripts/mnemazine-kb-search.mjs",
"search:eval": "node tests/search-eval.mjs",
"weekly": "node scripts/mnemazine-weekly-brief-html.mjs",
"weekly:state": "node scripts/mnemazine-weekly-state.mjs",
"digest": "node scripts/mnemazine-digest.mjs",