conformance/src/scenarios/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Carleton 70f7ba0004
fix(sep-2243): collapse check IDs to one-per-requirement (#287)
The sep-2243 scenario check IDs drifted from the requirement-traceability
yaml in #259 — the code emitted one ID per test case while the yaml
declares one per normative requirement, so the IDs no longer matched.

Rename the emitted IDs so a check ID maps to a single MUST/SHOULD and is
emitted once per case (the per-case detail moves to name/description),
matching the repo's existing 'same id, vary status/message' convention:

- mcp-method-header-* / mcp-name-header-*  -> client-includes-standard-headers
- reject-invalid-tool-* / keep-valid-tool  -> client-reject-invalid-tool
- server-accepts-{lower,upper}case-name    -> header-name-case-insensitive
- server reject status checks (mismatch/missing/case x method/name)
                                            -> server-reject-invalid-headers
- their error-code variants                 -> server-reject-error-code

Merge the yaml's server-reject-mismatch + server-reject-status into one
server-reject-invalid-headers MUST (HTTP 400 on a header-validation
failure); keep server-reject-error-code as the SHOULD. Base64/custom-header
rejection checks keep their own param-validation IDs (out of scope here).

Gates and the whitespace-acceptance check keep their scenario-matching
names. No behavior change — only check IDs, descriptions, and the yaml.
2026-05-19 21:48:31 +01:00
..
auth refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
elicitation-defaults.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
http-base.ts Add conformance tests for SEP-2243 HTTP Standardization (#259) 2026-05-15 13:20:43 +01:00
http-custom-headers.ts fix(sep-2243): collapse check IDs to one-per-requirement (#287) 2026-05-19 21:48:31 +01:00
http-standard-headers.test.ts fix(sep-2243): collapse check IDs to one-per-requirement (#287) 2026-05-19 21:48:31 +01:00
http-standard-headers.ts fix(sep-2243): collapse check IDs to one-per-requirement (#287) 2026-05-19 21:48:31 +01:00
initialize.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
request-metadata.test.ts feat: add client conformance tests for SEP-2575 (#270) 2026-05-19 21:10:52 +01:00
request-metadata.ts feat: add client conformance tests for SEP-2575 (#270) 2026-05-19 21:10:52 +01:00
sse-retry.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
tools_call.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00