Files
Joel Hooks 6930cf92e8 feat(vault-reader): Typesense semantic fallback when filename matching fails
enrichPromptWithVaultContext() previously returned 'no match found' when
filename scoring found nothing. Now falls back to joelclaw knowledge search
(Typesense system_knowledge collection with embeddings) before giving up.

Semantic queries like 'decisions about compaction' now find ADR-0203 via
vector search instead of failing because no filename contains 'compaction'.

Filename matching remains the fast-path for explicit references (ADR-0203,
~/Vault/docs/...). Typesense activates only when fuzzy scoring returns 0
matches. Uses spawnSync with 5s timeout — same pattern as gateway recall.

ADR-0204 Change 3.
2026-03-04 09:53:27 -08:00
..