Skip to content

Commit c1fdb57

Browse files
committed
chore(spec): regenerate api-surface and export-origins for the owner-stamp judge
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ihL2fi9zfJhUTubyJYb6V
1 parent daa777f commit c1fdb57

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎packages/spec/api-surface/kernel.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"ClusterDriverSchema (const)",
3535
"ClusterTenantIsolation (type)",
3636
"ClusterTenantIsolationSchema (const)",
37+
"CollectionItemOwnerStampDoor (type)",
38+
"CollectionItemOwnerStampRefusal (interface)",
3739
"CompatibilityLevel (type)",
3840
"CompatibilityLevelSchema (const)",
3941
"CompatibilityMatrixEntry (type)",
@@ -222,6 +224,7 @@
222224
"NamespaceRegistryEntrySchema (const)",
223225
"OVERRIDABLE_METADATA_TYPES (const)",
224226
"OVERRIDE_TYPE_CLASSIFICATION (const)",
227+
"OWNER_STAMP_JUDGED_COLLECTIONS (const)",
225228
"ObjectStackManifest (type)",
226229
"ObjectStackManifestParsed (type)",
227230
"OclifPluginConfig (type)",
@@ -240,6 +243,7 @@
240243
"OverrideDeclarationSchema (const)",
241244
"OverrideDisposition (type)",
242245
"OverrideTypeClassification (interface)",
246+
"OwnerStampJudgedCollection (type)",
243247
"PLATFORM_ALWAYS_ON_CAPABILITIES (const)",
244248
"PLATFORM_CAPABILITY_PROVIDERS (const)",
245249
"PLATFORM_CAPABILITY_TOKENS (const)",
@@ -483,6 +487,7 @@
483487
"isKnownPlatformCapability (function)",
484488
"isOverridableMetadataType (function)",
485489
"isStoredMetadataBodyObject (function)",
490+
"judgeCollectionItemOwnerStamp (function)",
486491
"lintUnknownAuthoringKeys (function)",
487492
"lintUnknownKeysAgainstSchema (function)",
488493
"lintUnknownStackKeys (function)",

‎packages/spec/export-origins/kernel.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"ClusterDriverSchema": "src/kernel/cluster.zod.ts#ClusterDriverSchema (const)",
3535
"ClusterTenantIsolation": "src/kernel/cluster.zod.ts#ClusterTenantIsolation (type)",
3636
"ClusterTenantIsolationSchema": "src/kernel/cluster.zod.ts#ClusterTenantIsolationSchema (const)",
37+
"CollectionItemOwnerStampDoor": "src/kernel/collection-item-owner-stamp.ts#CollectionItemOwnerStampDoor (type)",
38+
"CollectionItemOwnerStampRefusal": "src/kernel/collection-item-owner-stamp.ts#CollectionItemOwnerStampRefusal (interface)",
3739
"CompatibilityLevel": "src/kernel/plugin-versioning.zod.ts#CompatibilityLevel (type)",
3840
"CompatibilityLevelSchema": "src/kernel/plugin-versioning.zod.ts#CompatibilityLevelSchema (const)",
3941
"CompatibilityMatrixEntry": "src/kernel/plugin-versioning.zod.ts#CompatibilityMatrixEntry (type)",
@@ -221,6 +223,7 @@
221223
"NamespaceRegistryEntrySchema": "src/kernel/package-registry.zod.ts#NamespaceRegistryEntrySchema (const)",
222224
"OVERRIDABLE_METADATA_TYPES": "src/kernel/customization-package.ts#OVERRIDABLE_METADATA_TYPES (const)",
223225
"OVERRIDE_TYPE_CLASSIFICATION": "src/kernel/customization-package.ts#OVERRIDE_TYPE_CLASSIFICATION (const)",
226+
"OWNER_STAMP_JUDGED_COLLECTIONS": "src/kernel/collection-item-owner-stamp.ts#OWNER_STAMP_JUDGED_COLLECTIONS (const)",
224227
"ObjectStackManifest": "src/kernel/manifest.zod.ts#ObjectStackManifest (type)",
225228
"ObjectStackManifestParsed": "src/kernel/manifest.zod.ts#ObjectStackManifestParsed (type)",
226229
"OclifPluginConfig": "src/kernel/cli-extension.zod.ts#OclifPluginConfig (type)",
@@ -239,6 +242,7 @@
239242
"OverrideDeclarationSchema": "src/kernel/override-declaration.zod.ts#OverrideDeclarationSchema (const)",
240243
"OverrideDisposition": "src/kernel/customization-package.ts#OverrideDisposition (type)",
241244
"OverrideTypeClassification": "src/kernel/customization-package.ts#OverrideTypeClassification (interface)",
245+
"OwnerStampJudgedCollection": "src/kernel/collection-item-owner-stamp.ts#OwnerStampJudgedCollection (type)",
242246
"PLATFORM_ALWAYS_ON_CAPABILITIES": "src/kernel/platform-capabilities.ts#PLATFORM_ALWAYS_ON_CAPABILITIES (const)",
243247
"PLATFORM_CAPABILITY_PROVIDERS": "src/kernel/platform-capabilities.ts#PLATFORM_CAPABILITY_PROVIDERS (const)",
244248
"PLATFORM_CAPABILITY_TOKENS": "src/kernel/platform-capabilities.ts#PLATFORM_CAPABILITY_TOKENS (const)",
@@ -479,6 +483,7 @@
479483
"isKnownPlatformCapability": "src/kernel/platform-capabilities.ts#isKnownPlatformCapability (function)",
480484
"isOverridableMetadataType": "src/kernel/customization-package.ts#isOverridableMetadataType (function)",
481485
"isStoredMetadataBodyObject": "src/kernel/stored-metadata-body-objects.ts#isStoredMetadataBodyObject (function)",
486+
"judgeCollectionItemOwnerStamp": "src/kernel/collection-item-owner-stamp.ts#judgeCollectionItemOwnerStamp (function)",
482487
"lintUnknownAuthoringKeys": "src/kernel/metadata-authoring-lint.ts#lintUnknownAuthoringKeys (function)",
483488
"lintUnknownKeysAgainstSchema": "src/kernel/metadata-authoring-lint.ts#lintUnknownKeysAgainstSchema (function)",
484489
"lintUnknownStackKeys": "src/kernel/metadata-authoring-lint.ts#lintUnknownStackKeys (function)",

‎packages/spec/src/stack-collection-item-owner-stamp.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('[ADR-0010] defineStack refuses a collection item whose body `_packageI
7373
expect(issue!.message).toBe(
7474
judgeCollectionItemOwnerStamp({ _packageId: OTHER }, 'connector', 'probe_conn', CRM, 'build')!.message,
7575
);
76-
expect(issue!.message.indexOf("Drop `_packageId` from connector 'probe_conn'")).toBe(0);
76+
expect(issue!.message!.indexOf("Drop `_packageId` from connector 'probe_conn'")).toBe(0);
7777
});
7878

7979
it('CONTROL: the same stack without the stamp, and with a stamp equal to `manifest.id`, is accepted', () => {

0 commit comments

Comments
 (0)