Repository navigation
Conversation
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: PromptGuide
Batch: 1
Scan issue: #2026
Old PR: #2103
Contract:
docs/design/plugins/PromptGuide.mdBase:
origin/main82a91e66aHead:
da04853cfWhat
Adds the PromptGuide owner contract: the entries table, the order and scopes, the composition frame,
register/compose/observe, the delivery revision and the entry lifetime. The contract replaces Prompt'scompose/compose_system/changesreaders and the Session-scoped side of Prompt.Shared rows:
docs/design/plugins/README.md/ zh: owner index row and By scope Session parts.docs/architecture/rust-agent/plugins/Prompt.md: the design link.docs/design/plugins/Prompt.mdhandoff via PromptAdoption (所有者扫描:分支轮次链路 #2027).Dependencies
None in batch 1. PromptAdoption, PromptSources, Collaboration, EventHub and SummaryStrategy receive the named clauses;
dim-goal's test helper readscomposeand is named in the one-change row.Supersedes
docs/design/plugins/Prompt.md§1–§8 guide rows and §3's lead (adoption rows remain PromptAdoption's).docs/design/model-prompts.md§1/§3/§5/§6/§6.2/§9.1/§10 (en+zh) to PromptSources/PromptAdoption.docs/design/plugins/Collaboration.md,EventHub.md,ContextCompaction.md,PromptSources.mdand the README rows named in the table.Design decisions
registeris one atomic step under the table's lock;composeis synchronous and is on the public data face;observestarts one coalescing table-owned delivery task per subscription, aborted at shutdown.closedis the framework's effect refusal at the calling row's subtree or root; a Dim Session close with an open row still takes effect and ends with that row.composereturns the frame and the entries still registered; after unload it is terminal and must not be adopted.Review record
无 P1/P2.无 P1/P2.Ready check
无 P1/P2.node scripts/adr-check.mjs --base origin/main,cargo run --locked -p xtask-check,git diff --checkpass.Refs #2026