Commit 08e9b33
committed
Add multi-version protocol types: two wire-surface fact blocks
One superset type set in mcp.types plus two declarative wire-fact
blocks interpreted by a single engine at the wire boundary: an empty
block serving every protocol version up to and including 2025-11-25,
and a strict block for 2026-07-28 carrying the required-field
injections (resultType, the ttlMs/cacheScope don't-cache defaults, the
reserved protocolVersion _meta entry) and the refusals for constructs
that revision removed.
Serialization is additive-only: nothing is ever removed from a model's
dump at any version. The empty block makes emission for 2025-11-25 and
earlier the plain dump by construction; the schemas through 2025-11-25
evolve strictly additively, and a structural coverage test proves the
newest one covers them all.1 parent 7267818 commit 08e9b33
34 files changed
Lines changed: 22516 additions & 171 deletions
File tree
- docs
- scripts
- src/mcp
- types
- tests
- spec_oracles
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1168 | 1168 | | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | | - | |
| 1171 | + | |
1172 | 1172 | | |
1173 | | - | |
| 1173 | + | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | 1176 | | |
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1241 | 1247 | | |
1242 | 1248 | | |
1243 | 1249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
| |||
234 | 244 | | |
235 | 245 | | |
236 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
237 | 252 | | |
238 | 253 | | |
239 | 254 | | |
| |||
0 commit comments