Skip to content

Commit 7497291

Browse files
committed
test(cli): restate the nine artifact-envelope keys in the option-B acceptance pin and zoo prose
Patch round on the seat's ruling: the literal envelope list at the pin's shape assertion gains `devPlugins` and `plugins` (nine keys, in the file's own sort order), and the zoo header/const prose that said "seven" says "nine". Mechanical restatement of the count where it is printed; nothing else in either file moves. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2oQebDDxYKfWZusyd8GXk
1 parent b6ada92 commit 7497291

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/cli/test/fixtures/option-b-collection-zoo.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* The key set that separates them is **derived from the two schemas**, never
2424
* transcribed here — `ObjectStackDefinitionSchema` ∩ `AssembledPackageBodySchema`
2525
* is precisely "the collections a package owns", and the complement is the
26-
* seven artifact-envelope keys `packages/spec/src/assembled-package-body.test.ts`
26+
* nine artifact-envelope keys `packages/spec/src/assembled-package-body.test.ts`
2727
* classifies. A hand-written list would be a third transcription of a set the
2828
* implementation already refuses to transcribe, and — the half that matters
2929
* here — a collection family added to the stack schema next month would join
@@ -64,7 +64,7 @@ export const PACKAGE_OWNED_COLLECTION_KEYS: readonly string[] = (() => {
6464
return shapeKeys(ObjectStackDefinitionSchema).filter((k) => bodyKeys.has(k)).sort();
6565
})();
6666

67-
/** The seven keys an option-B artifact still carries at its top level. */
67+
/** The nine keys an option-B artifact still carries at its top level. */
6868
export const ARTIFACT_ENVELOPE_KEYS: readonly string[] = (() => {
6969
const owned = new Set(PACKAGE_OWNED_COLLECTION_KEYS);
7070
return shapeKeys(ObjectStackDefinitionSchema).filter((k) => !owned.has(k)).sort();

‎packages/cli/test/option-b-reader-acceptance.pin.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ describe('#15004 — option-B acceptance pin: every subsystem must see its colle
186186
// than two empties agreeing.
187187
expect(PACKAGE_OWNED_COLLECTION_KEYS.length).toBeGreaterThan(30);
188188
expect(ARTIFACT_ENVELOPE_KEYS).toEqual(
189-
['api', 'i18n', 'manifest', 'onEnable', 'packages', 'runtimeModule', 'server'],
189+
['api', 'devPlugins', 'i18n', 'manifest', 'onEnable', 'packages', 'plugins', 'runtimeModule', 'server'],
190190
);
191191

192192
// Every key option B drops is a package-owned collection, and every key it

0 commit comments

Comments
 (0)