Repository navigation
spec(mcp): define fresh server argument ownership - #98
Merged
Merged
Conversation
Generated-By: PostHog Desktop Task-Id: db1a8a08-fe03-43b6-9e49-705e8b1f375e
This was referenced Oct 5, 2026
gesh
marked this pull request as ready for review
October 7, 2026 11:59
dustinbyrne
approved these changes
Oct 7, 2026
dustinbyrne
left a comment
Contributor
There was a problem hiding this comment.
The fresh-instance ownership requirement and strict-schema scenario address the low-level gap while preserving tool-owned arguments and unknown-ownership fallback. The canonical specification and archived change are synchronized.
AI-assisted review.
lucasheriques
approved these changes
Oct 7, 2026
|
|
||
| @sdk:server @mcp_fresh_lowlevel_ownership_capable | ||
| Scenario: A fresh low-level server resolves injected argument ownership | ||
| Given automatic instrumentation creates a fresh low-level server for "tools/call" |
Contributor
There was a problem hiding this comment.
question: Should this scenario say a resolver is configured? Without one, both SDKs leave the arguments in place. In the spec text, "returns the schema ... the host advertises" could also say "before SDK injection".
Generated-By: PostHog Desktop Task-Id: db1a8a08-fe03-43b6-9e49-705e8b1f375e
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.
Summary
Why
A fresh server can receive
tools/callwithout servingtools/list. Strict tools still need the SDK to remove its injected arguments.Reference implementation: PostHog/posthog-js#5165
Tests
openspec validate --specs --strictgit diff --checkCreated with PostHog Desktop