sep-2322 absent-resultType probe is an invalid stimulus on the 2026-07-28 wire it negotiates
メンテナーはふだん 7 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- api, testing-qa
調査の方向性
mrtr-client.ts の test_mrtr_no_result_type と、draft-result-fields.test.ts にあるその期待値から始め、次に server/discover と draft.schema.json を読んで、ネゴシエートされたリビジョンと必須フィールドを確認します。probe を sep-2322.yaml および issue にあるバージョン適用範囲の根拠と比較します。テスト刺激がネゴシエートされた wire 要件に一致し、関連する適合性チェックが適合するクライアントを拒否しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The test_mrtr_no_result_type probe in mrtr-client.ts deliberately omits resultType from its final result, and draft-result-fields.test.ts pins that omission as the check's stimulus. Problem is the referee only ever negotiates 2026-07-28 (server/discover returns supportedVersions: [DRAFT_PROTOCOL_VERSION]), and the released 2026-07-28 text scopes the absent-means-complete bridge to earlier revisions: "For backward compatibility with servers implementing earlier protocol versions, which do not include resultType, clients MUST treat an absent resultType as complete." The same spec says the result MUST include resultType, and the repo's own draft.schema.json has it in Result.required.
So the probe is an invalid stimulus on the very wire it negotiates, and a strict 2026-07-28 client fails sep-2322-default-result-type-complete for correctly rejecting a non-conformant reply. Downstream confirmation: cloudflare/agents baselines this scenario with the comment "Alpha.10 omits resultType after negotiating 2026-07-28. The final draft requires servers implementing that revision to include it; the absent-means-complete bridge applies only to earlier revisions."
Related: sep-2322.yaml still quotes the pre-final sentence without the version scoping ("If resultType is not specified, clients MUST assume a default value of complete for backwards compatibility"), which is probably where the check's shape came from. And the reason wire validation never flagged the probe is the inline-mock bypass from #418.
Following the #447 principle of running each revision's requirements at its own wire, I can see two fixes: gate the absent-resultType probe to runs where the referee negotiates a pre-2026-07-28 wire, or keep the 2026-07-28 wire and have the probe send resultType, retiring the default-check there. Since the omission is test-pinned as deliberate I did not want to just send a PR flipping it. Which way do you want this to go?
- 主要言語
- TypeScript
- スター
- 130
- フォーク
- 107
- 平均マージ
- 8日 19時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/conformance のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
modelcontextprotocol/conformance#531 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
-
server-stateless: 500 ms whole-request deadline in no-log-without-loglevel reports slow servers as failures対応中かも @birbprophet が 8 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
modelcontextprotocol/conformance#530 ·
メンテナーはふだん 7 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/conformance#519 ·
メンテナーはふだん 7 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
modelcontextprotocol/conformance#315 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
modelcontextprotocol/conformance#312 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
modelcontextprotocol/conformance の issue をすべて見る
似ている issue
-
fix(data-lake): wizard source step still previews the local slug, not the server-disambiguated oneオープンdata-lake
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue priority: low size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
bug ios mobile priority:P1
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
streamplace/streamplace#1351 ·
メンテナーはふだん 2 日以内に返信