← ClaudeAtlas

ke-recalllisted

FTS5 search over ~/vault/ke/ knowledge entries. Returns top-N markdown excerpts ranked by BM25, with file paths and headings.
a-canary/arc-agents · ★ 0 · AI & Automation · score 64
Install: claude install-skill a-canary/arc-agents
# ke-recall — Knowledge Entry Recall Read-only search over the KE vault (`~/vault/ke/`). FTS5-indexed at `~/vault/ke.fts.db`. ## When to use - Boot of every developer/director session (auto-run by role profile `boot` hook). - Whenever a slice body or chat mentions "we did X before", "prior decision", "past failure". - Before opening any Encounter — surface relevant precedent first. ## How 1. `bun ~/repos/arc-agents/bin/ke.ts recall "<query>" [--limit 5] [--scope decisions|failures|fixes|facts|concepts|*]`. 2. CLI runs `SELECT path, snippet(ke, …), bm25(ke) FROM ke WHERE ke MATCH ? ORDER BY bm25(ke) LIMIT ?`. 3. Output is JSON lines: `{path, score, excerpt, headings}`. ## Index refresh If a recall returns stale paths, run `bun ~/repos/arc-agents/bin/ke.ts reindex`. Cheap (<5s for typical vault). ## Scopes `~/vault/ke/` subdirs: agents, benchmark, comparisons, concepts, decisions, dev, distilled, facts, failures, fixes. Pass `--scope <name>` to restrict. ## Output handling - Top result usually answers the question. If top 3 scores tie within ~10%, surface all three. - If best score < threshold (BM25 > -2), report "no precedent" — don't fabricate one.