modelcontextprotocol / modelcontextprotocol/php-sdk

[Conformance] SEP-2484: Wire SEP traceability files into conformance test runner; surface per-SEP pass rates

未关闭
#367 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

2026-07-28 conformance-weekly enhancement improves spec compliance
主要语言
PHP
星标
1.6k
派生
173
平均合并
2 天 49 分钟
30 天内合并 PR
23

描述

Implements SEP-2484 for the MCP Spec 2026-07-28 release.

Tracked by umbrella #339.

Spec summary

Before any Standards Track SEP touching observable protocol behavior moves Accepted → Final, a tagged conformance scenario must be merged in the modelcontextprotocol/conformance repo with a sep-NNNN.yaml traceability file mapping each MUST/MUST NOT requirement.

PHP SDK changes

  • No direct code change, but materially affects how the SDK tracks SEP adoption. The conformance suite at tests/Conformance/ (Docker-based) becomes the ground truth for "feature implemented."
  • Use SEP traceability YAMLs to drive PHP coverage: each newly-Final SEP maps to a set of conformance scenarios that should pass against the PHP SDK before claiming support.
  • Build on commits f12ea0a (conformance score calculation) and 3e45b1f (README badges): surface per-SEP pass rates next to the overall score.
  • CI gate: when conformance suite adds a sep-NNNN.yaml, surface failures distinctly so adoption can be tracked SEP-by-SEP.

Related

  • Umbrella #339
  • Supports SDK Tier classification (SEP-1730)

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 tests/Conformance/ 和基于 Docker 的 conformance runner 开始,然后查看提交 f12ea0a 和 3e45b1f,了解现有的分数计算和 README 徽章。追踪 conformance repository 中的 sep-NNNN.yaml 文件如何提供每个 SEP 的结果。完成的标准是显示每个 SEP 的通过率,并且在添加新的 traceability 文件时 CI 能区分失败类型。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, php, yaml
领域
ci-cd, testing
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。