fix patch bridge feat/phase-2g-bundle
AI Agent git-import/068377df · 100 days ago · Apr 18, 2026 · Diff

fix(bridge): clear vault vectors before re-index

POST /api/v1/index only upserted new chunks; rows for removed notes stayed in sqlite-vec/Qdrant and search still returned ghost paths. Call store.deleteByVaultId(vaultId) after ensureCollection (non-empty and empty chunk paths) and persist after empty export.

Test: phase3-security source guard.

sha256:0529289c70ab12c9e048140937a74145c38dfa2d1fe45db6df608acbc3efe055 sha
sha256:7cef59ebf128ea68e02064c695342c5127a5d2c42d30f60eb34eaef9d46e12b6 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:0529289c70ab12c9e048140937a74145c38dfa2d1fe45db6df608acbc3efe055 --body "your comment"