Repository navigation
docs(rfc): propose reviewed multi-artifact Dreaming - #1715
Open
Zxf-xufeng wants to merge 11 commits into
Open
Zxf-xufeng wants to merge 11 commits into
Zxf-xufeng wants to merge 11 commits into
Conversation
Zxf-xufeng
marked this pull request as ready for review
September 22, 2026 11:36
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?
Proposes a new RFC building on RFC 1510 (Artifact Dreaming). Companion implementation: #1716. Database migration follows #1771, with #1772 as its implementation foundation. No issue is closed by this proposal.
Rationale for this change
Later evidence can invalidate Memory, Profile, Topic Memory, Handoff, Skill, Prompt, and Tag state. Dream needs reviewed proposals that respect each resource's commit contract. Candidate represents a proposed change, including Tag changes that do not create an Artifact Revision. Schema changes must use the shared database migration framework rather than a separate Dream startup migration.
What changes are included in this PR?
/v1/candidates/*operations and typed Artifact/Tag proposals, results, history, and shared Inbox pagination, including Tag submission and revision examples.pc_candidate_headsandpc_candidate_versions. Tag approval validates ETag and content baseline without manufacturing a revision.pc_schema_revision(version_num).server_ready=falseand is not sufficient for a full Dream deployment.review_then_publishcapabilities and publication on approval with separate explicit Continue/receiver verification, and Prompt write authority. Trusted evaluation infrastructure remains outside this proposal.Are there any user-facing changes?
Documentation only; this PR does not enable operations or execute database changes. The design directly replaces
/v1/artifact-candidates/*with/v1/candidates/*without aliases or redirects, explicitly declaring an exception to the normal API deprecation period. Release metadata must identify replacement routes, the removal release, and matching minimum Client versions. Unpublished Catalog Change routes and storage require no production compatibility layer.Existing local and remote databases require explicit migration through the #1771 workflow with stopped writes and coordinated Server/Client upgrades, including A0/A1-only deployments with Tag disabled. Package installation does not migrate data; ordinary startup validates compatibility and performs no schema upgrade. Empty initialization, retained objects, and recovery follow #1771. Database migration does not provide old-API compatibility or make mixed old/new binaries safe.
How was this change tested?
cca48f15) and the actual acceptance scope of feat(db): align migration prototype with single-table RFC #1772 (dce0bb9c).git diff --checkand repository pre-commit checks; Python type checking is excluded for this documentation-only change.AI usage statement
OpenAI Codex was used to write and review the bilingual RFC and check documentation consistency.