Skip to content

fix: self-heal stale search indexes - #13

Merged
aldegad merged 1 commit into
mainfrom
fix/search-index-self-heal
Aug 12, 2026
Merged

fix: self-heal stale search indexes#13
aldegad merged 1 commit into
mainfrom
fix/search-index-self-heal

Conversation

@aldegad

@aldegad aldegad commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Detect archive/index revision drift and reject stale or orphan semantic generations before search.
  • Rebuild semantic generations atomically from the canonical archive, preserve the last committed generation on failure, and return structured JSON errors with non-zero exits.
  • Treat BM25 input as literal user text and document cross-room top-k expansion with stable chat IDs.

Tests

  • cargo +1.91.0 fmt --all -- --check
  • cargo +1.91.0 clippy --all-targets -- -D warnings
  • KATOK_EMBEDDER=local-test cargo +1.91.0 test --all-targets
  • cargo +1.91.0 publish --dry-run
  • python3 scripts/verify_release_config.py

@vkehfdl1
vkehfdl1 force-pushed the fix/search-index-self-heal branch from b3dac66 to fb9a13e Compare August 12, 2026 05:57
@aldegad
aldegad merged commit 0801aa7 into main Aug 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant