docs: clarify SEP-2243 HeaderMismatch error code#2992
Conversation
c709ed8 to
8330e83
Compare
8330e83 to
0eb48f4
Compare
dsp-ant
left a comment
There was a problem hiding this comment.
Thank you. I appreciate this. I do think however that we should keep the SEP as is, as a document. We might want to add at the bottom a "Changed Since": or something like that, but not change the original documented that core maintainers voted on. Thoughts @localden ?
|
@dsp-ant I understand the value in preserving SEPs as documents but one thing to consider is that outdated information on SEP pages can mislead coding agents. For example, I discovered this discrepancy while implementing the SEP in modelcontextprotocol/rust-sdk#907 (comment). So, I think it would be helpful to mention this somewhere on the SEP page. |
I think I am okay if we add a section at the bottom saying: or something along those lines. |
0eb48f4 to
2cb1cc0
Compare
Preserve SEP-2243 as a historical record instead of editing its body, and document the HeaderMismatch error code reassignment from -32001 to -32020 (modelcontextprotocol#2907) in a dedicated section per maintainer feedback. Also regenerate SEP-2549 docs, whose rendered mdx had drifted from its source on main, so 'npm run check:seps' passes on PR CI.
28a285e to
8767681
Compare
|
Thanks for the guidance, @dsp-ant. I undid the inline edits and added the section. |
Fixes #2991
Motivation and Context
SEP-2243 still documented
HeaderMismatchas-32001, but the current draft specification and schema use-32020after the error-code renumbering in #2907.This updates the SEP text, examples, and conformance tables to use
-32020, and adds a note explaining that SEP-2243 originally assignedHeaderMismatchto-32001before the draft spec renumbered it.How Has This Been Tested?
Documentation-only change.
Breaking Changes
None.
Types of changes
Checklist
Additional context
This came up during modelcontextprotocol/rust-sdk#907.