docs(rfc): standardize source access for artifact generation - #1458
Draft
Zxf-xufeng wants to merge 2 commits into
Draft
docs(rfc): standardize source access for artifact generation#1458Zxf-xufeng wants to merge 2 commits into
Zxf-xufeng wants to merge 2 commits into
Conversation
Base automatically changed from
codex/source-artifact-rest-api-docs
to
master
September 4, 2026 17:11
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 close?
Follow-up design for #1437. The RFC defines the generation-side Source access rules required by the Source and Artifact REST API design.
Why is this change needed?
Artifact Create and Replace persist a system-owned
lineage_onlySource for provenance. That Source must remain readable through management paths, but it must never become evidence for Memory, Experience, Skill, Handoff, Candidate review, or a future Artifact generator. Today those consumers combine repository reads and eligibility checks independently, which allows behavior to drift.What changed?
User-facing or breaking changes
This PR changes documentation only. It adds no HTTP endpoint, public Source type, role, database column, table, or index. Existing public Source Get remains a read operation and does not enforce generation eligibility.
Validation
git diff --checkuv run zensical build --clean -sAI usage
AI was used to compare the design with the current repository, draft the bilingual RFC, and check terminology and navigation. The design decisions and final content were reviewed by the author.