Repository navigation
docs(mcpx): decision 0007 — elicitation state binds no user identity (#7843) - #11199
Merged
Merged
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Closes the design step of #7843 (implementation follow-on filed as #11198; the issue itself stays open until that lands).
Decision 0007 — refuse-identity
pkgs/mcpx/docs/decisions/0007-elicitation-identity.md: mcpx establishes no user identity for elicitation/sampling. Elicitation state binds to the request (elicitation id, trace, parent task) and to the daemon principal — the OS owner of the daemon, its socket, and its owner-only store. Client-supplied identifiers (the session string, any user-id-shaped value) are correlation labels only: stored and searchable, never an authorization, visibility, or answer-acceptance input. Any future identity must arrive at the transport (socket peer credentials or the daemon HTTP surface's authenticated bearer), never from MCP message fields, and only under a superseding record.The record follows the decisions/ house format: verified context (the four gap rows, the caller-supplied
Sessionstring in internal/elicit, the shipped broker-only model), the authenticated-identity alternative and why it was rejected, the decision, and its consequences.Matrix re-dispositions (same PR)
In
pkgs/mcpx/docs/spec/conformance-matrix.md, the four rows gapped on this decision now readdecided: decision 0007 …:elicitation-server-state-bound-to-user(MUST, CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257)elicitation-state-not-session-id-alone(MUST NOT, CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257)elicitation-server-no-trust-client-user-id(MUST NOT, CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257; both spec sections)elicitation-server-follow-best-practices(SHOULD, fix(id): coalesce LogSync ingest batches (#241) #255; both spec sections)Also: decisions README row for 0007, and a compendium manifest chapter entry (
TestEveryDocumentHasAChapterpasses). No code changes — the decision describes what the code already does; pinning it in code/tests/docs is #11198.Queue: task 20040, lane any-y.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.