Repository navigation
docs(rfc): propose scope-based knowledge bases - #2570
Conversation
hidb4ai
left a comment
There was a problem hiding this comment.
No blocking design issues found at 71e842c. This approval covers the bilingual RFC only; the three plugin domain tables and plugin APIs remain proposed implementation work. Current CI is incomplete because preflight was cancelled, so this approval does not clear the CI gate or establish runtime, OCR, or three-backend acceptance.
|
关于插件专属存储的范围 这份 RFC 把「三后端
建议本 RFC 和 #2658 去掉对框架存储的修改,知识库插件在以下两种方式中选择:
On the scope of plugin storage This RFC lists "three-backend
We suggest removing the framework storage changes from this RFC and from #2658. The knowledge-base plugin can choose either:
|
|
关于另外两项框架适配:编辑证据和 Dashboard 转发 接着上面关于存储的说明,这份 RFC 列出的另外两项框架适配,我们的看法相同:它们是框架的问题,由框架侧单独实现,不随插件 RFC 和 #2658 合入。
建议本 RFC 把这两项和存储一样改为「依赖框架提供的能力」,#2658 移除对 #2658 中其余的框架改动( On the other two framework adaptations: edit evidence and Dashboard forwarding Following the storage note above, we take the same view of the other two framework adaptations this RFC lists: they are framework concerns and will be implemented separately on the framework side, not merged through the plugin RFC and #2658.
We suggest this RFC treat these two items, like storage, as capabilities the framework provides, and that #2658 drop the corresponding changes to The remaining framework changes in #2658 ( |
|
Addressed the storage ownership and edit-evidence/Dashboard boundary comments in b9a688a. Both RFC locales now make #2659/#2660 explicit prerequisites and assign storage provisioning, original edit-payload evidence, transaction-bound authorization, governance checks and the generic Artifact bridge to the framework PRs. #2658 no longer changes those framework components. The RFCs specify |
Which issue or RFC does this PR close?
Refs #2440, #2441, #2442, #2443 and #2444. This design-only PR does not close implementation issues. Framework dependencies are #2659 and #2660, building on #2549/#2579; #2617 is a future collection integration.
Rationale for this change
One
knowledge-baseplugin owns whole-document Artifacts, ingestion, chunks and retrieval. Each knowledge base is a core Scope. Plugin-local space Scopes organize bases and user defaults without adding a core hierarchy or inherited permissions.What changes are included in this PR?
Only the English and Chinese RFCs at
docs/{en,zh}/rfcs/2570-knowledge-base.md:client.artifacts; the knowledge-base implementation does not modify those framework components.Are there any user-facing changes?
Documentation only. No runtime, core schema or generated API changes. The proposed first release supports SQLite, SeekDB and OceanBase, subject to framework integration and real-backend acceptance. Framework proposals are not treated as already available on master.
How was this change tested?
2ffa8a8fand the plugin implementation. The detailed design document was updated and read back for consistency.AI usage statement
OpenAI Codex assisted with bilingual drafting, contract comparison and documentation validation.