Repository navigation
refactor(core): remove namespace isolation from documents (#614) - #615
Merged
Merged
Conversation
- Migration v12→v13: add author column, deprecate namespace on documents, migrate duplicate slugs across namespaces to slug-nsname format, create global unique slug index - Remove namespace params from all doc_* functions in lib.rs and store - Remove namespace fields from server request structs and MCP tools - Update CLI commands to not accept namespace args - Fix DocumentSummary initializer (add author field) - Fix recall_unified_* callers (remove stale Some(ns) from doc_search) - All consumers verified: CLI, server, MCP — zero namespace references remain
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-cli · BYOK · MIT |
- Update 4 migration tests that still asserted CURRENT_SCHEMA_VERSION=12 - Fix clippy warning: unused variable config in doc command
This was referenced Jul 8, 2026
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
refactor(core): remove namespace isolation from documents (#614)
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.
Summary
Remove namespace isolation from the documents system — documents are now global with unique slugs across all namespaces.
Changes
schema.rsauthorcolumn, deprecate namespace, migrate duplicate slugs (slug-nsname), global unique slug indexstore.rs,documents.rslib.rsdoc_*functions, fixDocumentSummaryinit, fixrecall_unified_*callerscommands/doc.rshandlers.rs,types.rslib.rsVerification
cargo check✅ 0 errorscargo clippy -- -D warnings✅ 0 errorscargo fmt --check✅ cleanCloses #614