Repository navigation
docs(rfc): design plugin-based text material import - #2073
Zxf-xufeng wants to merge 4 commits into
Conversation
knqiufan
left a comment
There was a problem hiding this comment.
Reviewed the English and Chinese RFCs, including the document identity, two-stage publication, authorization, recovery, and capability boundaries. I found no blocking design inconsistency. The proposed parser and backend capabilities still require the implementation and acceptance described in the RFC.
|
The affected modules are Knowledge base. @Zxf-xufeng, please coordinate follow-up. Knowledge base: @Zxf-xufeng @Alanxtl. Please coordinate the review of the affected changes. |
hidb4ai
left a comment
There was a problem hiding this comment.
Reviewed ed3886a. The explicit T1/T2 handoff, exact document input and separation of proposed versus available capabilities are reasonable. Two documentation issues below need correction. This PR implements neither the nine proposed persistence responsibilities nor the proposed APIs. Merge confidence: 45/100.
| | MinerU / DeepDoc / LlamaParse | Independently enabled C-level alternatives; LlamaParse is external or enterprise self-hosted | No implicit fallback from standard profiles | | ||
| | LlamaIndex | Optional future Reader/retrieval-transform reference and indexing use | Does not own transactions, versions, or Sources; no default silent Reader error skipping | | ||
|
|
||
| Selections draw on the [RAGFlow study](https://yuque.antfin.com/obopensrc/knowledge_sharing/lmziuic5tzhgny8c), |
There was a problem hiding this comment.
[P2] Replace private SSO references in public material
These research links require corporate SSO and violate the repository public-content rules. The same links recur in the Chinese RFC and both Prior art sections, and the PR description also cites a private research page. Replace them with public primary sources or neutral, self-contained rationale, consistently in both languages and the PR description, before this becomes a permanent public record.
|
|
||
| The proposal builds on verifiable repository designs and implementations: | ||
|
|
||
| - [RFC template](0000_example.md) and [process](README.md): structure and numbering. |
There was a problem hiding this comment.
[P2] Use an RFC-process link that survives site generation
The site generator renames the RFC README.md to index.md, but this relative link remains README.md. The current-head website CI fails on this exact line with README.md: not-found; a local next-validate-link reproduction with the generated layout fails likewise. Use a link valid in both the repository and generated site, such as the pinned public process URL already used by the Chinese counterpart.
Which issue or RFC does this PR close?
Design proposal based on the text material import research. No implementation issue is closed.
6ef5c494d701c355686806b6b1042d5729267690, Artifact plugins feat(artifact): add managed plugin framework and some example #2246 at9fe2e68220a6e0aa8ebe4b78900cd12421db5cc3.Rationale for this change
Importing documents needs parsing, private previews and explicit acceptance in an existing Scope. Reuse Source plugins for collection and Artifact plugins for ImportedContent generation, revisions and reads, while retaining the import-specific workflow and a durable complete-document handoff.
Confirmation atomically saves document Sources, a frozen commit manifest, publication intent and an acceptance receipt (T1). Artifact generation separately publishes the Revision, Head, lineage, declared indexes and completion record (T2). Evidence may therefore be visible before the Artifact exists;
202is acceptance, not completed import.What changes are included in this PR?
family=importedcontent,source_kind=content, mandatory existing Scope selection, 52 proposed parser profiles and four diagrams per locale.Are there any user-facing changes?
Documentation only. No parsers, runtime code, OpenAPI output or database migrations are implemented by this PR. The UI distinguishes private preview, evidence accepted, publication pending/failed and completed import. ImportedContent is assembled deterministically without an LLM. Source acceptance/publication does not imply Memory generation or full-text indexing.
The pinned plugin PRs are dependency baselines, not claims of merged availability. Publication readiness must remain unavailable until the specified document-input and transaction-completion extensions are implemented and validated.
How was this change tested?
git diff --check.SKIP=ty-check /Users/zhengxiaofeng/Desktop/code/powercontext/.venv/bin/prek run --files docs/zh/rfcs/2073-text-material-import.md docs/en/rfcs/2073-text-material-import.md: applicable document hooks passed; unrelated always-run type checking was skipped for this documentation-only change.AI usage statement
OpenAI Codex assisted with plugin-source inspection, architecture, bilingual documentation, API-contract consistency checks and the separate overview infographic. No implementation changes are included.