Skip to content

Commit 088afc6

Browse files
committed
spec: the rename prescription names the published npm major (check:future-spec-major)
Claude-Session: https://claude.ai/code/session_01KNKBCRDJCu5tGy3TEbvtrF Co-authored-by: Claude <noreply@anthropic.com>
1 parent e684a2e commit 088afc6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎content/docs/references/kernel/metadata-plugin.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const result = MetadataBulkResultSchema.parse(data);
269269
| **filePatterns** | `string[]` | ✅ | Glob patterns to discover files of this type |
270270
| **supportsOverlay** | `boolean` | optional (default: `true`) | Whether a stored overlay row of an item a managed package ships may be removed through the ordinary delete door without the type's environment-overlay permission: the removal removes no managed definition, and changes what is served for permission alone; it opens no save and it decides no read |
271271
| **allowEnvironmentOverlay** | `boolean` | optional (default: `false`) | Whether an environment may overlay an item of this type that a managed package ships (ADR-0131 D6 regime O). Decides the save door, the managed-content seal on write and on read, and Studio's write gate; the OS_METADATA_WRITABLE hatch does not reach a managed item. Default false. |
272-
| **allowOrgOverride** | `never` | optional | [REMOVED] `MetadataTypeRegistryEntry.allowOrgOverride` was renamed to `allowEnvironmentOverlay` in @objectstack/spec 18 (ADR-0131 D6) — the per-organization overlay axis was retired, and the key now names the one scope it governs: whether an environment may overlay an item of this type that a managed package ships. Rename the key to `allowEnvironmentOverlay`; the value is unchanged. |
272+
| **allowOrgOverride** | `never` | optional | [REMOVED] `MetadataTypeRegistryEntry.allowOrgOverride` was renamed to `allowEnvironmentOverlay` in @objectstack/spec 17 (ADR-0131 D6) — the per-organization overlay axis was retired, and the key now names the one scope it governs: whether an environment may overlay an item of this type that a managed package ships. Rename the key to `allowEnvironmentOverlay`; the value is unchanged. |
273273
| **allowRuntimeCreate** | `boolean` | optional (default: `true`) | Allow runtime creation via API |
274274
| **supportsVersioning** | `boolean` | optional (default: `false`) | Whether version history is tracked |
275275
| **executionPinned** | `boolean` | optional (default: `false`) | Transaction rows reference a specific version_hash; history GC is disabled and getByHash() MUST resolve old hashes (ADR-0009) |

‎packages/spec/src/kernel/metadata-plugin.zod.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ const MetadataTypeRegistryEntryBaseSchema = z.object({
315315
*/
316316
allowOrgOverride: retiredKey(
317317
'`MetadataTypeRegistryEntry.allowOrgOverride` was renamed to `allowEnvironmentOverlay` in '
318-
+ '@objectstack/spec 18 (ADR-0131 D6) — the per-organization overlay axis was retired, and '
318+
+ '@objectstack/spec 17 (ADR-0131 D6) — the per-organization overlay axis was retired, and '
319319
+ 'the key now names the one scope it governs: whether an environment may overlay an item '
320320
+ 'of this type that a managed package ships. Rename the key to `allowEnvironmentOverlay`; '
321321
+ 'the value is unchanged.',

‎packages/spec/src/kernel/metadata-type-registry-allow-org-override-retirement.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('MetadataTypeRegistryEntry.allowOrgOverride is renamed to allowEnvironm
5656
expect(issue!.path).toEqual(['allowOrgOverride']);
5757
// The prescription IS the migration doc for whoever hits it.
5858
expect(issue!.message).toMatch(
59-
/`MetadataTypeRegistryEntry\.allowOrgOverride` was renamed to `allowEnvironmentOverlay` in @objectstack\/spec 18/s,
59+
/`MetadataTypeRegistryEntry\.allowOrgOverride` was renamed to `allowEnvironmentOverlay` in @objectstack\/spec 17/s,
6060
);
6161
expect(issue!.message).toMatch(/Rename the key to `allowEnvironmentOverlay`; the value is unchanged/s);
6262
// `false` is refused exactly like `true`: the key is gone, not one value of it.

0 commit comments

Comments
 (0)