Commit e1d4f9e
fix(metadata-protocol):
* fix(metadata-protocol): getMetaItemLayered gates the org read after the canonical fold
`getMetaItemLayered` — the third `/meta` read verb — applied no registry read
gate of its own, so a caller could spend a raw active organization on a type
with no per-org read channel and a pre-#6190 phantom org-scoped row became the
`overlay` layer of the three-layer diagnostic.
The binding moved BELOW `canonicalizeMetaRequestType` rather than being
replaced in place: it sat above the fold, so the sibling verbs' one-liner would
have gated on the RAW type, which #10340 measured splits one item across two
partitions for the URL-only spellings (`translations` / `email_templates`).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
* test(metadata-protocol): pin the layered read gate, incl. the after-fold ordering
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
* test(metadata-protocol): the outage pin org arm moves to a tier-A type
The layered read now gates its organization, so an allowOrgOverride:false
type issues no org-scope read at all and the case would pass vacuously.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
---------
Co-authored-by: Claude <noreply@anthropic.com>getMetaItemLayered gates the org read, bound after the canonical fold (#16034)1 parent 51d59e4 commit e1d4f9e
4 files changed
Lines changed: 617 additions & 4 deletions
File tree
- .changeset
- packages/metadata-protocol/src
| 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 | + | |
0 commit comments