Repository navigation
feat(#406): document engine — documents + document_chunks tables (schema v11) - #426
Merged
Merged
Conversation
…ema v11) Core wiki/knowledge base engine for uteke. Schema v11: documents + document_chunks tables. Store layer: upsert, get, list, delete, chunk insertion. Uteke API: doc_upsert (auto-chunk + embed), doc_get, doc_list, doc_delete. 3 unit tests: CRUD, version increment, namespace isolation. Foundation for #411 (doc CLI commands).
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-cli · BYOK · MIT |
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
…ema v11) (#426) Core wiki/knowledge base engine for uteke. Schema v11: documents + document_chunks tables. Store layer: upsert, get, list, delete, chunk insertion. Uteke API: doc_upsert (auto-chunk + embed), doc_get, doc_list, doc_delete. 3 unit tests: CRUD, version increment, namespace isolation. Foundation for #411 (doc CLI commands).
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.
Implements #406 — the core wiki/knowledge base engine.
Summary
Transforms uteke from a memory store into a wiki/knowledge base engine (Outline/Obsidian style).
Schema v11 migration
API
Chunking pipeline
chunk_markdown()(feat: markdown/prose chunker — split by heading, respect token window #405) splits by headingsembedder.embed()creates section-level embeddingFoundation for
uteke doc create/edit/list/export/getCLI commandsTests
3 unit tests: CRUD lifecycle, version increment on upsert, namespace isolation.
Milestone: v0.3.0 — Graph RAG