Repository navigation
Conversation
…ection Replace the historyRenderer value with branch-scoped contextProjection operations for folding a branch's facts into the context a request carries and for recovery snapshots. The design index, the runtime owner operations row and the service faces entry point at the contract.
This was referenced Nov 24, 2026
Collaborator
Author
|
Closing as part of abandoning the owner-split experiment. |
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.
Owner: ContextProjection
Batch: 1
Scan issue: #2025
Old PR: #2093
Contract:
docs/design/plugins/ContextProjection.mdBase:
origin/main82a91e66aHead:
de61bc31cWhat
Adds the ContextProjection owner contract: the branch-scoped fold, the request-local projection, the compaction in force and the recovery snapshot. The contract replaces the Session-scoped
historyRenderervalue andcontext_in.Shared rows:
docs/design/contracts/runtime-owner-operations.md:ContextPreparation → contextProjection;prepareno longer takesprojection?.docs/design/service-faces.md: thehistoryRendererrow is retired.docs/design/plugins/README.mdanddocs/zh/design/plugins/README.md: owner index row and By-scope branch part.Dependencies
None in batch 1. ContextPreparation is a downstream caller; the shared row is
ContextPreparation → contextProjection. The process-scope by-id reader depends on ADR 027's route (#2127); that requirement is recorded in the contract.Supersedes
docs/design/contracts/runtime-owner-operations.md:Loop and ContextPreparation → HistoryRenderer.docs/design/service-faces.md:historyRenderer.docs/design/plugins/README.md/ zh: owner index row.Design decisions
renderedStreaminprepare,renderedContextin the manual compaction pre-read,streamCheckpoint/snapshotFromCheckpointin threshold compaction,snapshotafter a completed compaction.throughis a published sequence; a cutoff above the published head isfuture_sequence.timeline.save_snapshot; a save failure skips the snapshot and leaves the committed fact standing.Review record
无 P1/P2.无 P1/P2.replay_context/contexttest-caller list and the Loop call sites) remain as delivery notes, not contract gaps.Ready check
无 P1/P2.node scripts/adr-check.mjs --base origin/main,cargo run --locked -p xtask-check,git diff --checkpass.Refs #2025