Skip to content

Commit cb136d4

Browse files
committed
docs(spec): the unmanaged-install data door comment names the seed copy
The comment on the `data: 'door'` row said a metadata copy cannot carry seed datasets. An unmanaged install asked for its sample data now copies each dataset into the base as an environment `seed` item, so the comment says the door decides, and what it does in each case. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ihL2cCLnFWgFEuZvjguSF
1 parent c65599f commit cb136d4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎packages/spec/src/kernel/unmanaged-install.ts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,12 @@ export const UNMANAGED_INSTALL_KEY_DISPOSITIONS: Readonly<Record<string, Unmanag
109109
translations: 'converted',
110110

111111
// ── The install door's ──
112-
// Seed datasets are data, never metadata items, so a copy of the metadata
113-
// cannot carry them; the door states what it did with them.
112+
// [#30808] The door, not the import, decides what happens to the seed
113+
// datasets. Asked for the sample data (`seedSampleData: true`), the door
114+
// has the `importUnmanagedPackage` verb copy each dataset into the base as
115+
// one environment `seed` item, the copy's seed receipt, and loads the rows
116+
// from it. Not asked, nothing is copied, and when the package declares any
117+
// the door's answer says so (`seeded.mode: 'skipped'`).
114118
data: 'door',
115119
// Read by the door to judge the requested mode; the base is the
116120
// environment's own package and makes no promise about how it installs.

0 commit comments

Comments
 (0)