docs(rfc): explainable PreparedContext receipts - #1435
Open
Tsukikage7 wants to merge 2 commits into
Open
Conversation
Add bilingual RFCs for an opt-in, ephemeral PreparedContext Receipt on prepare, without changing default injection or host recall.
Match the RFC filename and navigation entry to the pull request number.
1 task
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?
Closes #1356.
Rationale for this change
POST /v1/context/preparealready selects, cites, and renders bounded context, but the public response is onlystatus,content, andcontent_bytes. Exact origins stay inside the Runtime and are discarded at the HTTP boundary. Operators, hosts, and evaluation therefore cannot tell what was selected, why items were omitted, or which retrieval path produced the injected bytes.What changes are included in this PR?
include_receiptfield on the existing prepare operation.powercontext.prepared-context-receipt.v1schema, closed omission reasons, privacy bounds, and fail-open assembly.Are there any user-facing changes?
No released behavior changes. This PR adds an RFC design only. A later implementation PR would add the optional prepare field and Receipt payload after separate review.
How was this change tested?
uv run zensical build --clean -suv run prek run --files docs/en/rfcs/1435_explainable_prepared_context_receipts.md docs/zh/rfcs/1435_explainable_prepared_context_receipts.md zensical.tomlgit diff --checkAI usage statement
Not used.