mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
6930cf92e8
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.