Commit 29d055b
fix(metadata-protocol): assert the canonical type at the SchemaRegistry overlay mint door (#9173)
* fix(metadata-protocol): assert the canonical type at the registry mint door (#9111)
`hydrateOverlayIntoRegistry` minted registry entries under the raw `type`
with no fold and no assertion — the last unfolded seam of the `objects`
tolerance family. The "callers must fold" contract lived in no type, no
signature and no check.
Measured across all six producer routes first: four fold completely, and two
(boot `loadMetaFromDb`, `revertCommit`) fold through the MANIFEST-collection
map, which is tolerant AND incomplete — it passes through the six spellings
whose types are not stack collections. Dormant for live traffic; reachable
only from pre-#7894 at-rest residue.
Closed as an ASSERT rather than a fold: folding would launder a row past the
NOT_OVERRIDABLE lock that #7894 closed the door on.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
* docs(spec): regenerate references for the new error code; record observed ablation directions (#9111)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
* test(metadata-protocol): drop unexercised write verbs from the #9111 engine double
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
* chore(spec): regenerate references from the merged tree (#9111)
Discharges the os-regen deferral recorded against the merge commit. Wholesale
gen:schema + gen:docs on the committed merge, never hand-resolved: both
roll-ups moved by exactly +1 (1x +272->+273, 66x +276->+277) and the neighbour
control confirms #8846's QUERY_OBJECT_MISMATCH survived alongside
REGISTRY_TYPE_NOT_CANONICAL on both enumerating pages.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
* chore(spec): regenerate references from the merged tree (#9111)
Discharges the os-regen deferral recorded against merge commit b4c842c.
Wholesale gen:schema + gen:docs on the committed merge, plus gen:openapi to
restore what gen:schema's cleanup wipes. No generated file hand-resolved.
Neighbour control re-run ledger-wide rather than on a handful: all 241
ERROR_CODE_LEDGER codes scanned across 213 reference pages, zero in an empty
page-set. 225 share the contract.mdx + error-code-ledger.mdx baseline
(REGISTRY_TYPE_NOT_CANONICAL among them); every outlier is a superset that also
names the code in domain prose, never a page short. Roll-ups moved by exactly
one (1x +281->+282, 66x +285->+286).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
* chore(docs): regenerate the API reference after the round-3 merge with main
Discharges the os-regen deferral recorded by the merge commit. Wholesale
`gen:schema && gen:docs && gen:openapi` from the merged tree, per
scripts/pm/os-regen-merge.sh step 4.
The regenerated diff against main is now 2 pages, not 11: #9239 landed on
main since round 2 and stopped the in-shape enum marker from restating
vocabulary cardinality, so a single new error code no longer bumps a
roll-up count on nine unrelated pages.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
* chore(docs): regenerate the API reference after the round-4 merge with main
Discharges the os-regen deferral recorded by merge 0da2465. Wholesale
`gen:schema && gen:docs && gen:openapi` from the merged tree.
Round 4 reconciles against #9269, which registered
UNIQUE_SCOPE_CONFIRMATION_REQUIRED (#9246) after the round-3 regen — the
staleness that dequeued this PR from the merge queue with CI_FAILURE on
`check:docs` (contract.mdx out of date). Both codes are present; the
generated footprint is the two-page floor: contract.mdx + error-code-ledger.mdx.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTKPDRoynY8i3HmdSFUxFj
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 6a1b45e commit 29d055b
7 files changed
Lines changed: 505 additions & 9 deletions
File tree
- .changeset
- content/docs/references/api
- packages
- metadata-protocol/src
- spec/src/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| |||
Lines changed: 358 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
94 | 104 | | |
95 | 105 | | |
96 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11439 | 11439 | | |
11440 | 11440 | | |
11441 | 11441 | | |
| 11442 | + | |
| 11443 | + | |
| 11444 | + | |
| 11445 | + | |
| 11446 | + | |
| 11447 | + | |
| 11448 | + | |
| 11449 | + | |
| 11450 | + | |
| 11451 | + | |
| 11452 | + | |
| 11453 | + | |
| 11454 | + | |
| 11455 | + | |
| 11456 | + | |
| 11457 | + | |
| 11458 | + | |
| 11459 | + | |
| 11460 | + | |
| 11461 | + | |
| 11462 | + | |
| 11463 | + | |
| 11464 | + | |
| 11465 | + | |
| 11466 | + | |
| 11467 | + | |
| 11468 | + | |
| 11469 | + | |
| 11470 | + | |
| 11471 | + | |
| 11472 | + | |
| 11473 | + | |
| 11474 | + | |
| 11475 | + | |
| 11476 | + | |
| 11477 | + | |
| 11478 | + | |
| 11479 | + | |
| 11480 | + | |
| 11481 | + | |
| 11482 | + | |
| 11483 | + | |
| 11484 | + | |
| 11485 | + | |
| 11486 | + | |
| 11487 | + | |
| 11488 | + | |
| 11489 | + | |
| 11490 | + | |
| 11491 | + | |
| 11492 | + | |
| 11493 | + | |
| 11494 | + | |
| 11495 | + | |
| 11496 | + | |
| 11497 | + | |
| 11498 | + | |
| 11499 | + | |
| 11500 | + | |
| 11501 | + | |
| 11502 | + | |
| 11503 | + | |
| 11504 | + | |
| 11505 | + | |
| 11506 | + | |
| 11507 | + | |
| 11508 | + | |
| 11509 | + | |
| 11510 | + | |
| 11511 | + | |
| 11512 | + | |
| 11513 | + | |
| 11514 | + | |
11442 | 11515 | | |
11443 | 11516 | | |
11444 | 11517 | | |
11445 | 11518 | | |
11446 | 11519 | | |
11447 | 11520 | | |
| 11521 | + | |
| 11522 | + | |
| 11523 | + | |
| 11524 | + | |
| 11525 | + | |
| 11526 | + | |
| 11527 | + | |
| 11528 | + | |
| 11529 | + | |
| 11530 | + | |
| 11531 | + | |
| 11532 | + | |
| 11533 | + | |
| 11534 | + | |
| 11535 | + | |
| 11536 | + | |
| 11537 | + | |
| 11538 | + | |
| 11539 | + | |
| 11540 | + | |
11448 | 11541 | | |
11449 | 11542 | | |
11450 | 11543 | | |
| |||
11598 | 11691 | | |
11599 | 11692 | | |
11600 | 11693 | | |
11601 | | - | |
11602 | | - | |
| 11694 | + | |
| 11695 | + | |
| 11696 | + | |
| 11697 | + | |
| 11698 | + | |
| 11699 | + | |
11603 | 11700 | | |
11604 | | - | |
11605 | | - | |
11606 | | - | |
11607 | | - | |
11608 | | - | |
11609 | | - | |
| 11701 | + | |
| 11702 | + | |
| 11703 | + | |
| 11704 | + | |
| 11705 | + | |
| 11706 | + | |
| 11707 | + | |
| 11708 | + | |
| 11709 | + | |
| 11710 | + | |
11610 | 11711 | | |
11611 | 11712 | | |
11612 | 11713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
| |||
0 commit comments