Skip to content

Commit 04b8218

Browse files
committed
test(cli): drive the two new bootSchemaStack --json members in the stdout-purity family
The family-roster pin in json-stdout-purity.e2e.test.ts discovered `migrate organization-ownership` and `migrate security-catalog-overlays` (both boot the shared stack and declare --json) while FAMILY drove neither. Each is now driven in its bare form: the ownership plan's refusal face over a database with no platform tables, and the overlay step's read-only preview. The roster check itself is unchanged. Claude-Session: https://claude.ai/code/session_01BmsuLyUeuG5CNpZFMH1jzS Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9646991 commit 04b8218

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎packages/cli/test/json-stdout-purity.e2e.test.ts‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,22 @@ const FAMILY: Record<string, string[]> = {
100100
'migrate files-to-references': [],
101101
'migrate meta': ['--stored'],
102102
'migrate multi-value-columns': [],
103+
// Its bare form is its only mode — a read-only plan (`deferSchemaDdl` +
104+
// `readOnlyProbe`). The fixture's database holds none of the platform tables
105+
// the ceremony inventories, so the face driven here is its REFUSAL face
106+
// (`plan_refused`, `emitJson(…, 1, { compact: true })`), emitted after the
107+
// stack is shut down. A refused plan writes no plan file, so the fixture
108+
// directory gains nothing.
109+
'migrate organization-ownership': [],
103110
'migrate plan': [],
104111
'migrate recorded-by': [],
105112
'migrate resume': [],
113+
// A preview is its DEFAULT and the only form driven here: without `--apply`
114+
// it composes the deployment the way `os serve` does (the host config's
115+
// plugins and the auth-gated security plugin) and boots read-only with no
116+
// `sys_metadata` hydration, so it deletes nothing. No table exists in the
117+
// fixture, so the face driven here is its empty listing.
118+
'migrate security-catalog-overlays': [],
106119
'migrate summary-nulls': [],
107120
// One object per run, so it needs a name: the fixture's own `jp_ticket`,
108121
// which the composed host config registers. No database file exists, so the

0 commit comments

Comments
 (0)