chore(brain): backfill pgvector from current wiki/ #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Hybrid retrieval (hyperguild#8) shipped and is active in the live pod (image
4af10364). The brain DB is bootstrapped, the embedder is wired, the sync loop runs every 300s — but the existing wiki/ corpus has never been embedded. Until backfill runs,brain_querycosine results stay empty and Reciprocal Rank Fusion silently reduces to BM25-only.Action
Expected response:
Run from anywhere reachable — endpoint sits behind the static Bearer.
Verification
Acceptance criteria
/backfill-embeddingsreturns{added>0, errors:[]}(or non-empty errors documented)brain_embeddingsrow count matches the wiki/ markdown file count (minus_index.md)Out of scope
Re-embedding on file edit — tracked separately.
Superseded. Backfill is no longer needed:
brain_embeddings.078ec02, hyperguild v0.7.0): sync walkswiki/+knowledge/→ 141 rows embedded.37fdd33, hyperguild v0.8.0): chunk-before-embed covers the remaining 3 oversized files → 173 rows total, errors=0.The
/backfill-embeddingsendpoint still exists for emergencies; not currently needed.Closes.