feat: instant value without compile — search and query work immediately on ingest#56
Merged
keeganthomp merged 4 commits intomainfrom Apr 10, 2026
Merged
Conversation
…ly on ingest - Add incremental indexing: SearchIndex.addDocument() updates the index without a full rebuild, called automatically after each ingest - Query now searches all sources (raw + wiki) by default instead of only compiled wiki articles, so RAG works before compile - Add --source flag to kib query for single-source queries (e.g. kib query --source raw/articles/foo.md "what is this about?") - Update ingest success message to reflect instant searchability - 491 tests passing, lint clean Closes the "Instant Value Without Compile" gamechanger from ROADMAP.md. https://claude.ai/code/session_01JyAtb8FwmxbTBQiBWLRbZs
- kib_query: add `source` parameter for single-source queries (e.g. source: "raw/articles/paper.md") - kib_query: update description to reflect raw+wiki search - kib_ingest: add `searchable: true` to response - kib_ingest: update error messaging — sources are queryable immediately, compile is optional enrichment - CLAUDE.md template: reflect that search/query work on ingest https://claude.ai/code/session_01JyAtb8FwmxbTBQiBWLRbZs
- Add VectorIndex.addDocument() for single-document embedding without full rebuild — mirrors SearchIndex.addDocument() for BM25 - ingestSource() now updates the vector index when a provider with embed() is available (best-effort, non-blocking) - 4 new tests for addDocument: empty index, existing index, dedup by path, save/load round-trip - 495 tests passing, lint clean https://claude.ai/code/session_01JyAtb8FwmxbTBQiBWLRbZs
- Test that ingest updates vector index when provider has embed() - Test that ingest skips vector index when provider lacks embed() https://claude.ai/code/session_01JyAtb8FwmxbTBQiBWLRbZs
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
without a full rebuild, called automatically after each ingest
only compiled wiki articles, so RAG works before compile
(e.g. kib query --source raw/articles/foo.md "what is this about?")
Closes the "Instant Value Without Compile" gamechanger from ROADMAP.md.
https://claude.ai/code/session_01JyAtb8FwmxbTBQiBWLRbZs