Commit 0dec196
committed
Record two divergences as intentional, ecosystem-consistent choices
Two interaction-suite divergence notes described their gaps as
unenforced spec MUSTs without saying whether closing them was planned.
Both are deliberate, and the notes now say so.
transport:stdio:stream-purity -- stdio_server does not redirect
sys.stdout, so a handler print() corrupts the protocol stream. No MCP
SDK redirects stdout, and a redirect would only catch print(), not
os.write(1, ...) or C extensions writing to file descriptor 1, so it
would be a partial guard rather than a structural fix.
docs/tutorial/logging.md already tells server authors to log to stderr
and never print() in a stdio server, so no docs change was needed.
protocol:progress:monotonic -- no MCP SDK validates sender-side
progress monotonicity; the spec MUST is a contract on the handler
author, not on the transport, and the test pins the unvalidated
pass-through.
No code or test behaviour changes.1 parent d14f6d5 commit 0dec196
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
663 | 664 | | |
664 | 665 | | |
665 | 666 | | |
| |||
3651 | 3652 | | |
3652 | 3653 | | |
3653 | 3654 | | |
3654 | | - | |
3655 | | - | |
3656 | | - | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
3657 | 3662 | | |
3658 | 3663 | | |
3659 | 3664 | | |
| |||
0 commit comments