Repository navigation
docs(rfc): design plugin-based text material import - #2073
Draft
Zxf-xufeng wants to merge 4 commits into
Draft
Zxf-xufeng wants to merge 4 commits into
Zxf-xufeng wants to merge 4 commits into
Conversation
This branch has not been deployed
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.
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.