Commit 9632604
fix(metadata-protocol): apply the allowOrgOverride read gate inside getMetaItems, so multi-type sweeps are scoped per type (#14767)
* wip: apply the registry read gate inside getMetaItems (#14683)
Snapshot before verification. `organizationIdForMetaRead(request.type,
request.organizationId)` is resolved once, after the canonical fold, and
spent by both the active-overlay arm and the previewDrafts arm.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* test(metadata-protocol): pin the getMetaItems org read gate (#14683)
Includes the idempotence proof the direction-A ruling was conditional on,
mechanised over the complete accepted-spelling population.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* test(metadata-protocol): re-spell the org-scope cache-key case onto an overridable type (#14683)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* test(objectql): re-spell the getMetaItems org-union case onto an overridable type (#14683)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* chore: changeset for the getMetaItems org read gate (#14683)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* chore: keep the changeset's semver reasoning clear of breaking-change signal tokens (#14683)
The body cites #13925's major-plus-marker precedent to REFUSE it. Spelled with
the literal markers, check-adr-0087-registration reads the citation as this
changeset's own declaration and demands an ADR-0087 disposition for a change
that retires nothing.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* test(metadata-protocol): widen the derived overridable set to string[] for the probe sites (#14683)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* chore: level this change patch, on its own lineage (#14683)
Contract review returned FAIL on the semver level alone. `minor` was
derived from #13973, which is open, `pm:blocked`, never landed, and is
about date-materialising drivers — it says nothing about read doors.
The real precedents are this predicate's own lineage, and all three
shipped `patch`: b6c7690 (#9454/#9727) added the org partition to every
`/meta` read door; 26f3588 (#10340/#10519) moved which partition two
spellings read; 67ceb9a (#11553) repaired the same on the dispatcher.
Withholding a partition from types that never had a read channel is the
same class.
Also corrects the #13925 claim this file's previous wording-repair commit
introduced: #13925 shipped `"@objectstack/core": minor` with a bolded
banner and an `adr-0087:` marker, not a major bump —
`check-changeset-no-major.mjs` refuses `major` outright, so `minor` in
this repo MEANS breaking, which is why claiming it here would be wrong.
⛔ No code, test or pin changes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* chore: correct the affirmed consequent in this changeset's semver note (#14683)
I wrote that `minor` "means breaking" here, and that claiming it would
signal an incompatibility. That affirms the consequent: breaking => minor
holds, minor => breaking does not. check-changeset-no-major.mjs says so in
the header I cited — during the window the bump level "tells a consumer
nothing about whether the release breaks them", and the carriers are the
banner and the ADR-0087 disposition, "the only signal there is".
The landed record carries the other half: 87ad30c ('@objectstack/types':
minor) and 3c1bbd2 ("@objectstack/metadata": minor) are new-export bumps
with zero banner tokens. So `minor` is the union, not a breaking marker.
Corrected to what the gate actually says: the level carries nothing either
way, this change owes neither carrier, and `patch` follows from the lineage
and from no export being added. Lines 54-58 unchanged.
⛔ No code, test or pin changes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent db07f69 commit 9632604
5 files changed
Lines changed: 652 additions & 11 deletions
File tree
- .changeset
- packages
- metadata-protocol/src
- objectql/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 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
0 commit comments