From 6138487613898b727842efcd073de22516a3bd84 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 14:29:44 +0000 Subject: [PATCH 1/8] fix(spec): file the 34 semantic entries and 4 retired-key rows that first ship in 19 under major 19 Thirty-four ADR-0087 semantic entries and four retired-key rows landed after spec@18.6.0 and before the protocol moved to 19 (204356a6e). None is in an 18.x release; each first shipped in 19.0.0-next.0. Filed under 18, the replay from 18 never listed them. Renamed 18.ID to 19.ID, bytes unchanged, except one retired-key comment that named the 18.x line as its reason. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- ...unk__metadata.ts => 19.ai__KnowledgeChunk__metadata.ts} | 0 ...kEdit.ts => 19.ui__ObjectGridProps__singleClickEdit.ts} | 7 +++---- ..._columnState.ts => 19.ui__ViewItemWire__columnState.ts} | 0 ..._columnState.ts => 19.ui__ViewMetadata__columnState.ts} | 0 ...d.ts => 19.action-body-regexp-literal-token-refused.ts} | 0 ...scoped-name.ts => 19.ai-context-package-scoped-name.ts} | 0 ...attern-refused.ts => 19.body-regexp-pattern-refused.ts} | 0 ...19.bundle-without-canonical-member-bare-read-absent.ts} | 0 ...equality-refused.ts => 19.cel-list-equality-refused.ts} | 0 ... 19.compose-stacks-job-name-across-packages-refused.ts} | 0 ...lights.ts => 19.field-group-shadowed-six-highlights.ts} | 0 ...-retired.ts => 19.field-inline-edit-boolean-retired.ts} | 0 ...=> 19.flow-condition-record-date-arithmetic-refused.ts} | 0 ...ts => 19.hook-action-text-key-optional-call-refused.ts} | 0 ...sed.ts => 19.hook-job-body-does-not-compile-refused.ts} | 0 ...ed.ts => 19.incremental-source-delete-policy-stated.ts} | 0 ...ot-loaded.ts => 19.internal-record-forms-not-loaded.ts} | 0 ...a-retired.ts => 19.knowledge-chunk-metadata-retired.ts} | 0 ....ts => 19.master-detail-related-list-tab-by-default.ts} | 0 ...ted.ts => 19.navigation-mode-record-open-deprecated.ts} | 0 ...> 19.object-extension-place-and-cross-package-lists.ts} | 0 ...ired.ts => 19.object-grid-single-click-edit-retired.ts} | 0 ...> 19.publish-refuses-flows-that-save-and-do-not-run.ts} | 0 ... => 19.publish-refuses-metadata-the-runtime-ignores.ts} | 0 ....record-currency-sibling-extension-judged-as-served.ts} | 0 ...judged.ts => 19.refusal-reasons-list-literal-judged.ts} | 0 ...ab-list.ts => 19.related-lists-declared-is-tab-list.ts} | 0 ...-refused.ts => 19.seal-default-chain-column-refused.ts} | 0 ...cord-refused.ts => 19.seed-key-blank-record-refused.ts} | 0 ...e-retired.ts => 19.seed-mode-insert-replace-retired.ts} | 0 ...nknown-refused.ts => 19.seed-object-unknown-refused.ts} | 0 ...efore-load.ts => 19.seed-record-refused-before-load.ts} | 0 ...e-not-stored.ts => 19.seed-summary-value-not-stored.ts} | 0 ...egistration-permission-set-reaches-invited-sign-ups.ts} | 0 ...stack-package-duplicate-entry-refused-at-every-door.ts} | 0 ...stack-residual-extension-registered-and-jobs-judged.ts} | 0 ...sed.ts => 19.transfer-cascade-never-offered-refused.ts} | 0 ...mn-state-retired.ts => 19.view-column-state-retired.ts} | 0 38 files changed, 3 insertions(+), 4 deletions(-) rename packages/spec/src/migrations/entries/retired-keys/{18.ai__KnowledgeChunk__metadata.ts => 19.ai__KnowledgeChunk__metadata.ts} (100%) rename packages/spec/src/migrations/entries/retired-keys/{18.ui__ObjectGridProps__singleClickEdit.ts => 19.ui__ObjectGridProps__singleClickEdit.ts} (68%) rename packages/spec/src/migrations/entries/retired-keys/{18.ui__ViewItemWire__columnState.ts => 19.ui__ViewItemWire__columnState.ts} (100%) rename packages/spec/src/migrations/entries/retired-keys/{18.ui__ViewMetadata__columnState.ts => 19.ui__ViewMetadata__columnState.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.action-body-regexp-literal-token-refused.ts => 19.action-body-regexp-literal-token-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.ai-context-package-scoped-name.ts => 19.ai-context-package-scoped-name.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.body-regexp-pattern-refused.ts => 19.body-regexp-pattern-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.bundle-without-canonical-member-bare-read-absent.ts => 19.bundle-without-canonical-member-bare-read-absent.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.cel-list-equality-refused.ts => 19.cel-list-equality-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.compose-stacks-job-name-across-packages-refused.ts => 19.compose-stacks-job-name-across-packages-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.field-group-shadowed-six-highlights.ts => 19.field-group-shadowed-six-highlights.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.field-inline-edit-boolean-retired.ts => 19.field-inline-edit-boolean-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.flow-condition-record-date-arithmetic-refused.ts => 19.flow-condition-record-date-arithmetic-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.hook-action-text-key-optional-call-refused.ts => 19.hook-action-text-key-optional-call-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.hook-job-body-does-not-compile-refused.ts => 19.hook-job-body-does-not-compile-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.incremental-source-delete-policy-stated.ts => 19.incremental-source-delete-policy-stated.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.internal-record-forms-not-loaded.ts => 19.internal-record-forms-not-loaded.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.knowledge-chunk-metadata-retired.ts => 19.knowledge-chunk-metadata-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.master-detail-related-list-tab-by-default.ts => 19.master-detail-related-list-tab-by-default.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.navigation-mode-record-open-deprecated.ts => 19.navigation-mode-record-open-deprecated.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.object-extension-place-and-cross-package-lists.ts => 19.object-extension-place-and-cross-package-lists.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.object-grid-single-click-edit-retired.ts => 19.object-grid-single-click-edit-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.publish-refuses-flows-that-save-and-do-not-run.ts => 19.publish-refuses-flows-that-save-and-do-not-run.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.publish-refuses-metadata-the-runtime-ignores.ts => 19.publish-refuses-metadata-the-runtime-ignores.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.record-currency-sibling-extension-judged-as-served.ts => 19.record-currency-sibling-extension-judged-as-served.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.refusal-reasons-list-literal-judged.ts => 19.refusal-reasons-list-literal-judged.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.related-lists-declared-is-tab-list.ts => 19.related-lists-declared-is-tab-list.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.seal-default-chain-column-refused.ts => 19.seal-default-chain-column-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.seed-key-blank-record-refused.ts => 19.seed-key-blank-record-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.seed-mode-insert-replace-retired.ts => 19.seed-mode-insert-replace-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.seed-object-unknown-refused.ts => 19.seed-object-unknown-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.seed-record-refused-before-load.ts => 19.seed-record-refused-before-load.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.seed-summary-value-not-stored.ts => 19.seed-summary-value-not-stored.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.self-registration-permission-set-reaches-invited-sign-ups.ts => 19.self-registration-permission-set-reaches-invited-sign-ups.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.stack-package-duplicate-entry-refused-at-every-door.ts => 19.stack-package-duplicate-entry-refused-at-every-door.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.stack-residual-extension-registered-and-jobs-judged.ts => 19.stack-residual-extension-registered-and-jobs-judged.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.transfer-cascade-never-offered-refused.ts => 19.transfer-cascade-never-offered-refused.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.view-column-state-retired.ts => 19.view-column-state-retired.ts} (100%) diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ai__KnowledgeChunk__metadata.ts b/packages/spec/src/migrations/entries/retired-keys/19.ai__KnowledgeChunk__metadata.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/18.ai__KnowledgeChunk__metadata.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ai__KnowledgeChunk__metadata.ts diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts b/packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts similarity index 68% rename from packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts index a6bcb09b108..db3dd1680dd 100644 --- a/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts +++ b/packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts @@ -5,10 +5,9 @@ // editor on double-click, Enter, F2 or typing, so `object-grid`'s // `singleClickEdit` has no single-click entry left to switch. // -// Registered under 18 for the reason `ui/ObjectGridProps:resizableColumns` is: -// the removal ships on the 18.x line (launch-window convention: accept-set -// narrowings ride minor releases) and the prescription lives at the major -// boundary where `migrate meta` users look. Tombstoned with `retiredKey()` in +// Registered under 19: the removal first shipped in `@objectstack/spec` +// 19.0.0-next.0 and in no 18.x release, so its tombstone ages from major 19, +// the major whose upgrade first carries it. Tombstoned with `retiredKey()` in // `ObjectGridPropsSchema` (the surface baseline line carries `[RETIRED]`); // sources are rewritten by the D2 conversion // `object-grid-single-click-edit-removed` (a delete, whatever the value). diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ViewItemWire__columnState.ts b/packages/spec/src/migrations/entries/retired-keys/19.ui__ViewItemWire__columnState.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/18.ui__ViewItemWire__columnState.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ui__ViewItemWire__columnState.ts diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ViewMetadata__columnState.ts b/packages/spec/src/migrations/entries/retired-keys/19.ui__ViewMetadata__columnState.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/18.ui__ViewMetadata__columnState.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ui__ViewMetadata__columnState.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.action-body-regexp-literal-token-refused.ts b/packages/spec/src/migrations/entries/semantic/19.action-body-regexp-literal-token-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.action-body-regexp-literal-token-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.action-body-regexp-literal-token-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.ai-context-package-scoped-name.ts b/packages/spec/src/migrations/entries/semantic/19.ai-context-package-scoped-name.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.ai-context-package-scoped-name.ts rename to packages/spec/src/migrations/entries/semantic/19.ai-context-package-scoped-name.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.body-regexp-pattern-refused.ts b/packages/spec/src/migrations/entries/semantic/19.body-regexp-pattern-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.body-regexp-pattern-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.body-regexp-pattern-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.bundle-without-canonical-member-bare-read-absent.ts b/packages/spec/src/migrations/entries/semantic/19.bundle-without-canonical-member-bare-read-absent.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.bundle-without-canonical-member-bare-read-absent.ts rename to packages/spec/src/migrations/entries/semantic/19.bundle-without-canonical-member-bare-read-absent.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.cel-list-equality-refused.ts b/packages/spec/src/migrations/entries/semantic/19.cel-list-equality-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.cel-list-equality-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.cel-list-equality-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.compose-stacks-job-name-across-packages-refused.ts b/packages/spec/src/migrations/entries/semantic/19.compose-stacks-job-name-across-packages-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.compose-stacks-job-name-across-packages-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.compose-stacks-job-name-across-packages-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.field-group-shadowed-six-highlights.ts b/packages/spec/src/migrations/entries/semantic/19.field-group-shadowed-six-highlights.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.field-group-shadowed-six-highlights.ts rename to packages/spec/src/migrations/entries/semantic/19.field-group-shadowed-six-highlights.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts b/packages/spec/src/migrations/entries/semantic/19.field-inline-edit-boolean-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.field-inline-edit-boolean-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.flow-condition-record-date-arithmetic-refused.ts b/packages/spec/src/migrations/entries/semantic/19.flow-condition-record-date-arithmetic-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.flow-condition-record-date-arithmetic-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.flow-condition-record-date-arithmetic-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.hook-action-text-key-optional-call-refused.ts b/packages/spec/src/migrations/entries/semantic/19.hook-action-text-key-optional-call-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.hook-action-text-key-optional-call-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.hook-action-text-key-optional-call-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.hook-job-body-does-not-compile-refused.ts b/packages/spec/src/migrations/entries/semantic/19.hook-job-body-does-not-compile-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.hook-job-body-does-not-compile-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.hook-job-body-does-not-compile-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.incremental-source-delete-policy-stated.ts b/packages/spec/src/migrations/entries/semantic/19.incremental-source-delete-policy-stated.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.incremental-source-delete-policy-stated.ts rename to packages/spec/src/migrations/entries/semantic/19.incremental-source-delete-policy-stated.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.internal-record-forms-not-loaded.ts b/packages/spec/src/migrations/entries/semantic/19.internal-record-forms-not-loaded.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.internal-record-forms-not-loaded.ts rename to packages/spec/src/migrations/entries/semantic/19.internal-record-forms-not-loaded.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.knowledge-chunk-metadata-retired.ts b/packages/spec/src/migrations/entries/semantic/19.knowledge-chunk-metadata-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.knowledge-chunk-metadata-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.knowledge-chunk-metadata-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts b/packages/spec/src/migrations/entries/semantic/19.master-detail-related-list-tab-by-default.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.master-detail-related-list-tab-by-default.ts rename to packages/spec/src/migrations/entries/semantic/19.master-detail-related-list-tab-by-default.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.navigation-mode-record-open-deprecated.ts b/packages/spec/src/migrations/entries/semantic/19.navigation-mode-record-open-deprecated.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.navigation-mode-record-open-deprecated.ts rename to packages/spec/src/migrations/entries/semantic/19.navigation-mode-record-open-deprecated.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.object-extension-place-and-cross-package-lists.ts b/packages/spec/src/migrations/entries/semantic/19.object-extension-place-and-cross-package-lists.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.object-extension-place-and-cross-package-lists.ts rename to packages/spec/src/migrations/entries/semantic/19.object-extension-place-and-cross-package-lists.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts b/packages/spec/src/migrations/entries/semantic/19.object-grid-single-click-edit-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.object-grid-single-click-edit-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.publish-refuses-flows-that-save-and-do-not-run.ts b/packages/spec/src/migrations/entries/semantic/19.publish-refuses-flows-that-save-and-do-not-run.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.publish-refuses-flows-that-save-and-do-not-run.ts rename to packages/spec/src/migrations/entries/semantic/19.publish-refuses-flows-that-save-and-do-not-run.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.publish-refuses-metadata-the-runtime-ignores.ts b/packages/spec/src/migrations/entries/semantic/19.publish-refuses-metadata-the-runtime-ignores.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.publish-refuses-metadata-the-runtime-ignores.ts rename to packages/spec/src/migrations/entries/semantic/19.publish-refuses-metadata-the-runtime-ignores.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.record-currency-sibling-extension-judged-as-served.ts b/packages/spec/src/migrations/entries/semantic/19.record-currency-sibling-extension-judged-as-served.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.record-currency-sibling-extension-judged-as-served.ts rename to packages/spec/src/migrations/entries/semantic/19.record-currency-sibling-extension-judged-as-served.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.refusal-reasons-list-literal-judged.ts b/packages/spec/src/migrations/entries/semantic/19.refusal-reasons-list-literal-judged.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.refusal-reasons-list-literal-judged.ts rename to packages/spec/src/migrations/entries/semantic/19.refusal-reasons-list-literal-judged.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.related-lists-declared-is-tab-list.ts b/packages/spec/src/migrations/entries/semantic/19.related-lists-declared-is-tab-list.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.related-lists-declared-is-tab-list.ts rename to packages/spec/src/migrations/entries/semantic/19.related-lists-declared-is-tab-list.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts b/packages/spec/src/migrations/entries/semantic/19.seal-default-chain-column-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.seal-default-chain-column-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.seal-default-chain-column-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.seed-key-blank-record-refused.ts b/packages/spec/src/migrations/entries/semantic/19.seed-key-blank-record-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.seed-key-blank-record-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.seed-key-blank-record-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.seed-mode-insert-replace-retired.ts b/packages/spec/src/migrations/entries/semantic/19.seed-mode-insert-replace-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.seed-mode-insert-replace-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.seed-mode-insert-replace-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.seed-object-unknown-refused.ts b/packages/spec/src/migrations/entries/semantic/19.seed-object-unknown-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.seed-object-unknown-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.seed-object-unknown-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.seed-record-refused-before-load.ts b/packages/spec/src/migrations/entries/semantic/19.seed-record-refused-before-load.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.seed-record-refused-before-load.ts rename to packages/spec/src/migrations/entries/semantic/19.seed-record-refused-before-load.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.seed-summary-value-not-stored.ts b/packages/spec/src/migrations/entries/semantic/19.seed-summary-value-not-stored.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.seed-summary-value-not-stored.ts rename to packages/spec/src/migrations/entries/semantic/19.seed-summary-value-not-stored.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.self-registration-permission-set-reaches-invited-sign-ups.ts b/packages/spec/src/migrations/entries/semantic/19.self-registration-permission-set-reaches-invited-sign-ups.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.self-registration-permission-set-reaches-invited-sign-ups.ts rename to packages/spec/src/migrations/entries/semantic/19.self-registration-permission-set-reaches-invited-sign-ups.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.stack-package-duplicate-entry-refused-at-every-door.ts b/packages/spec/src/migrations/entries/semantic/19.stack-package-duplicate-entry-refused-at-every-door.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.stack-package-duplicate-entry-refused-at-every-door.ts rename to packages/spec/src/migrations/entries/semantic/19.stack-package-duplicate-entry-refused-at-every-door.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.stack-residual-extension-registered-and-jobs-judged.ts b/packages/spec/src/migrations/entries/semantic/19.stack-residual-extension-registered-and-jobs-judged.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.stack-residual-extension-registered-and-jobs-judged.ts rename to packages/spec/src/migrations/entries/semantic/19.stack-residual-extension-registered-and-jobs-judged.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts b/packages/spec/src/migrations/entries/semantic/19.transfer-cascade-never-offered-refused.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.transfer-cascade-never-offered-refused.ts rename to packages/spec/src/migrations/entries/semantic/19.transfer-cascade-never-offered-refused.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.view-column-state-retired.ts b/packages/spec/src/migrations/entries/semantic/19.view-column-state-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.view-column-state-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.view-column-state-retired.ts From 23b95befe56a9f16842896c27f776a6f643f428a Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 14:32:48 +0000 Subject: [PATCH 2/8] chore(changeset): spec patch for the 34 semantic entries and 4 retired-key rows moved to major 19 Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- .changeset/38256-semantic-entries-step-19.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .changeset/38256-semantic-entries-step-19.md diff --git a/.changeset/38256-semantic-entries-step-19.md b/.changeset/38256-semantic-entries-step-19.md new file mode 100644 index 00000000000..919eef874f4 --- /dev/null +++ b/.changeset/38256-semantic-entries-step-19.md @@ -0,0 +1,10 @@ +--- +'@objectstack/spec': patch +--- + +fix(spec): 34 more upgrade-guide entries that first ship in protocol 19 are listed under 19, so `os migrate meta --from 18` shows them + +Clause-②: no +Metadata-protocol: none + +Thirty-four ADR-0087 semantic entries were filed under protocol major 18 although none of them shipped in an 18.x release: each landed after `@objectstack/spec` 18.6.0 and first shipped in 19.0.0-next.0. The migration chain from 18 runs only the steps above 18, so an 18.x app upgraded with `os migrate meta --from 18` was never shown these notes. They now sit in the protocol 19 step, with ids and text unchanged, and the 18 → 19 upgrade lists them. The four retired-key rows from the same window (`ai/KnowledgeChunk:metadata`, `ui/ObjectGridProps:singleClickEdit`, `ui/ViewItemWire:columnState`, `ui/ViewMetadata:columnState`) move to major 19 with them, so those tombstones age from the major that first carries them. No schema, export or stored row changes. Nothing to migrate. From a9f6c361d5c7bef6989aabd2b1869ca5dbee1fa0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 14:36:54 +0000 Subject: [PATCH 3/8] fix(spec): keep the three families with a step-18 D2 conversion under 18 field-inline-edit-boolean, object-grid-single-click-edit and view-column-state each graduate a D2 conversion into step 18, and ruling B (migrations.test.ts) and each family's pin hold the D3 entry and the retired-key rows in the conversion's own step. Moving the D3 entries alone splits the family, so they stay under 18 and move with their conversion. The changeset names the 31 entries and the one retired-key row that move. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- .changeset/38256-semantic-entries-step-19.md | 4 ++-- ...kEdit.ts => 18.ui__ObjectGridProps__singleClickEdit.ts} | 7 ++++--- ..._columnState.ts => 18.ui__ViewItemWire__columnState.ts} | 0 ..._columnState.ts => 18.ui__ViewMetadata__columnState.ts} | 0 ...-retired.ts => 18.field-inline-edit-boolean-retired.ts} | 0 ...ired.ts => 18.object-grid-single-click-edit-retired.ts} | 0 ...mn-state-retired.ts => 18.view-column-state-retired.ts} | 0 7 files changed, 6 insertions(+), 5 deletions(-) rename packages/spec/src/migrations/entries/retired-keys/{19.ui__ObjectGridProps__singleClickEdit.ts => 18.ui__ObjectGridProps__singleClickEdit.ts} (68%) rename packages/spec/src/migrations/entries/retired-keys/{19.ui__ViewItemWire__columnState.ts => 18.ui__ViewItemWire__columnState.ts} (100%) rename packages/spec/src/migrations/entries/retired-keys/{19.ui__ViewMetadata__columnState.ts => 18.ui__ViewMetadata__columnState.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{19.field-inline-edit-boolean-retired.ts => 18.field-inline-edit-boolean-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{19.object-grid-single-click-edit-retired.ts => 18.object-grid-single-click-edit-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{19.view-column-state-retired.ts => 18.view-column-state-retired.ts} (100%) diff --git a/.changeset/38256-semantic-entries-step-19.md b/.changeset/38256-semantic-entries-step-19.md index 919eef874f4..0c3de307764 100644 --- a/.changeset/38256-semantic-entries-step-19.md +++ b/.changeset/38256-semantic-entries-step-19.md @@ -2,9 +2,9 @@ '@objectstack/spec': patch --- -fix(spec): 34 more upgrade-guide entries that first ship in protocol 19 are listed under 19, so `os migrate meta --from 18` shows them +fix(spec): 31 more upgrade-guide entries that first ship in protocol 19 are listed under 19, so `os migrate meta --from 18` shows them Clause-②: no Metadata-protocol: none -Thirty-four ADR-0087 semantic entries were filed under protocol major 18 although none of them shipped in an 18.x release: each landed after `@objectstack/spec` 18.6.0 and first shipped in 19.0.0-next.0. The migration chain from 18 runs only the steps above 18, so an 18.x app upgraded with `os migrate meta --from 18` was never shown these notes. They now sit in the protocol 19 step, with ids and text unchanged, and the 18 → 19 upgrade lists them. The four retired-key rows from the same window (`ai/KnowledgeChunk:metadata`, `ui/ObjectGridProps:singleClickEdit`, `ui/ViewItemWire:columnState`, `ui/ViewMetadata:columnState`) move to major 19 with them, so those tombstones age from the major that first carries them. No schema, export or stored row changes. Nothing to migrate. +Thirty-one ADR-0087 semantic entries were filed under protocol major 18 although none of them shipped in an 18.x release: each landed after `@objectstack/spec` 18.6.0 and first shipped in 19.0.0-next.0. The migration chain from 18 runs only the steps above 18, so an 18.x app upgraded with `os migrate meta --from 18` was never shown these notes. They now sit in the protocol 19 step, with ids and text unchanged, and the 18 → 19 upgrade lists them. The retired-key row `ai/KnowledgeChunk:metadata`, from the same window, moves to major 19 with them, so that tombstone ages from the major that first carries it. No schema, export or stored row changes. Nothing to migrate. diff --git a/packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts b/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts similarity index 68% rename from packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts rename to packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts index db3dd1680dd..a6bcb09b108 100644 --- a/packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts +++ b/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts @@ -5,9 +5,10 @@ // editor on double-click, Enter, F2 or typing, so `object-grid`'s // `singleClickEdit` has no single-click entry left to switch. // -// Registered under 19: the removal first shipped in `@objectstack/spec` -// 19.0.0-next.0 and in no 18.x release, so its tombstone ages from major 19, -// the major whose upgrade first carries it. Tombstoned with `retiredKey()` in +// Registered under 18 for the reason `ui/ObjectGridProps:resizableColumns` is: +// the removal ships on the 18.x line (launch-window convention: accept-set +// narrowings ride minor releases) and the prescription lives at the major +// boundary where `migrate meta` users look. Tombstoned with `retiredKey()` in // `ObjectGridPropsSchema` (the surface baseline line carries `[RETIRED]`); // sources are rewritten by the D2 conversion // `object-grid-single-click-edit-removed` (a delete, whatever the value). diff --git a/packages/spec/src/migrations/entries/retired-keys/19.ui__ViewItemWire__columnState.ts b/packages/spec/src/migrations/entries/retired-keys/18.ui__ViewItemWire__columnState.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/19.ui__ViewItemWire__columnState.ts rename to packages/spec/src/migrations/entries/retired-keys/18.ui__ViewItemWire__columnState.ts diff --git a/packages/spec/src/migrations/entries/retired-keys/19.ui__ViewMetadata__columnState.ts b/packages/spec/src/migrations/entries/retired-keys/18.ui__ViewMetadata__columnState.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/19.ui__ViewMetadata__columnState.ts rename to packages/spec/src/migrations/entries/retired-keys/18.ui__ViewMetadata__columnState.ts diff --git a/packages/spec/src/migrations/entries/semantic/19.field-inline-edit-boolean-retired.ts b/packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/19.field-inline-edit-boolean-retired.ts rename to packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/19.object-grid-single-click-edit-retired.ts b/packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/19.object-grid-single-click-edit-retired.ts rename to packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/19.view-column-state-retired.ts b/packages/spec/src/migrations/entries/semantic/18.view-column-state-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/19.view-column-state-retired.ts rename to packages/spec/src/migrations/entries/semantic/18.view-column-state-retired.ts From b48e2f893c26ffd75c3b2d9b95b5d8f8a0470e96 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 14:44:46 +0000 Subject: [PATCH 4/8] fix(spec): move the three conversion-carrying retirement families to step 19 whole object-grid-single-click-edit, view-column-state and field-inline-edit-boolean each landed after spec@18.6.0 and first shipped in 19.0.0-next.0 with a D2 conversion, a D3 entry, retired-key rows and a step-18 rationale fragment. Under 18, `os migrate meta --from 18` neither listed the entry nor ran the conversion. The family moves to 19 together: the D3 entries and the retired-key rows by rename, the conversions to entries/19 with toMajor 19 and orders that keep their place in ALL_CONVERSIONS, and the four rationale fragments (with knowledge-chunk-metadata-retired's) appended to step 19's rationale. The three family pins now read step 19. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- .changeset/38256-semantic-entries-step-19.md | 6 +- .../field-inline-edit-boolean-removed.ts | 6 +- .../object-grid-single-click-edit-removed.ts | 4 +- .../{18 => 19}/view-column-state-removed.ts | 6 +- packages/spec/src/conversions/registry.ts | 20 ++-- .../field-inline-edit-boolean.pin.test.ts | 6 +- ...9.ui__ObjectGridProps__singleClickEdit.ts} | 7 +- ...ts => 19.ui__ViewItemWire__columnState.ts} | 0 ...ts => 19.ui__ViewMetadata__columnState.ts} | 0 ...> 19.field-inline-edit-boolean-retired.ts} | 0 ....object-grid-single-click-edit-retired.ts} | 0 ...red.ts => 19.view-column-state-retired.ts} | 0 .../spec/src/migrations/registry.ts.template | 94 ++++++++----------- .../object-grid-single-click-edit.pin.test.ts | 8 +- .../ui/view-column-state-retirement.test.ts | 12 +-- 15 files changed, 79 insertions(+), 90 deletions(-) rename packages/spec/src/conversions/entries/{18 => 19}/field-inline-edit-boolean-removed.ts (97%) rename packages/spec/src/conversions/entries/{18 => 19}/object-grid-single-click-edit-removed.ts (99%) rename packages/spec/src/conversions/entries/{18 => 19}/view-column-state-removed.ts (98%) rename packages/spec/src/migrations/entries/retired-keys/{18.ui__ObjectGridProps__singleClickEdit.ts => 19.ui__ObjectGridProps__singleClickEdit.ts} (68%) rename packages/spec/src/migrations/entries/retired-keys/{18.ui__ViewItemWire__columnState.ts => 19.ui__ViewItemWire__columnState.ts} (100%) rename packages/spec/src/migrations/entries/retired-keys/{18.ui__ViewMetadata__columnState.ts => 19.ui__ViewMetadata__columnState.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.field-inline-edit-boolean-retired.ts => 19.field-inline-edit-boolean-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.object-grid-single-click-edit-retired.ts => 19.object-grid-single-click-edit-retired.ts} (100%) rename packages/spec/src/migrations/entries/semantic/{18.view-column-state-retired.ts => 19.view-column-state-retired.ts} (100%) diff --git a/.changeset/38256-semantic-entries-step-19.md b/.changeset/38256-semantic-entries-step-19.md index 0c3de307764..d9baaa6ffa9 100644 --- a/.changeset/38256-semantic-entries-step-19.md +++ b/.changeset/38256-semantic-entries-step-19.md @@ -2,9 +2,11 @@ '@objectstack/spec': patch --- -fix(spec): 31 more upgrade-guide entries that first ship in protocol 19 are listed under 19, so `os migrate meta --from 18` shows them +fix(spec): 34 more upgrade-guide entries that first ship in protocol 19 are listed under 19, so `os migrate meta --from 18` shows them and runs their conversions Clause-②: no Metadata-protocol: none -Thirty-one ADR-0087 semantic entries were filed under protocol major 18 although none of them shipped in an 18.x release: each landed after `@objectstack/spec` 18.6.0 and first shipped in 19.0.0-next.0. The migration chain from 18 runs only the steps above 18, so an 18.x app upgraded with `os migrate meta --from 18` was never shown these notes. They now sit in the protocol 19 step, with ids and text unchanged, and the 18 → 19 upgrade lists them. The retired-key row `ai/KnowledgeChunk:metadata`, from the same window, moves to major 19 with them, so that tombstone ages from the major that first carries it. No schema, export or stored row changes. Nothing to migrate. +Thirty-four ADR-0087 semantic entries were filed under protocol major 18 although none of them shipped in an 18.x release: each landed after `@objectstack/spec` 18.6.0 and first shipped in 19.0.0-next.0. The migration chain from 18 runs only the steps above 18, so an 18.x app upgraded with `os migrate meta --from 18` was never shown these notes. They now sit in the protocol 19 step, with ids and text unchanged, and the 18 → 19 upgrade lists them. + +Three of those retirements also carry a D2 conversion from the same window, and they move with their entries: `object-grid-single-click-edit-removed` (an `object-grid` component's `singleClickEdit`), `view-column-state-removed` (a view's `columnState`) and `field-inline-edit-boolean-removed` (a relationship field's boolean `inlineEdit`). Filed under 18, `os migrate meta --from 18` did not apply them, so an 18.x source that still wrote one of those keys came out of the migration with it and was then refused at parse. Under 19 the 18 → 19 migration deletes them. Stored rows and built artifacts already replayed them and are unaffected; the conversions run in the same order as before. The four retired-key rows from the same window (`ai/KnowledgeChunk:metadata`, `ui/ObjectGridProps:singleClickEdit`, `ui/ViewItemWire:columnState`, `ui/ViewMetadata:columnState`) move to major 19 too, so those tombstones age from the major that first carries them, and the upgrade text for the four retirements moves from the protocol 18 section to the protocol 19 one. No schema, export or stored row changes. Nothing to migrate. diff --git a/packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts b/packages/spec/src/conversions/entries/19/field-inline-edit-boolean-removed.ts similarity index 97% rename from packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts rename to packages/spec/src/conversions/entries/19/field-inline-edit-boolean-removed.ts index 9d785f70171..06e6b3e9604 100644 --- a/packages/spec/src/conversions/entries/18/field-inline-edit-boolean-removed.ts +++ b/packages/spec/src/conversions/entries/19/field-inline-edit-boolean-removed.ts @@ -6,7 +6,7 @@ import { type Dict, isDict } from '../shared.js'; /** * A relationship field's boolean `inlineEdit` leaves the contract (protocol - * 18, #35926, ADR-0049 enforce-or-remove; the field-group ruling of #35889, + * 19, #35926, ADR-0049 enforce-or-remove; the field-group ruling of #35889, * 「一律只看分组」). * * A field group of the PARENT decides whether the parent's form inlines a @@ -22,11 +22,11 @@ import { type Dict, isDict } from '../shared.js'; * nothing. Only `objects[]` and `objectExtensions[]` field maps are walked, * the two places a field definition is authored. Retired from the load path: * a live author is refused at the parse with the prescription, while stored - * rows, built artifacts and `os migrate meta --from 17` replay the delete. + * rows, built artifacts and `os migrate meta --from 18` replay the delete. */ const fieldInlineEditBooleanRemoved: MetadataConversion = { id: 'field-inline-edit-boolean-removed', - toMajor: 18, + toMajor: 19, retiredFromLoadPath: true, retiredAfter: '18.6.0', surface: 'object.fields..inlineEdit: true | false / objectExtensions[].fields..inlineEdit: true | false', diff --git a/packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts b/packages/spec/src/conversions/entries/19/object-grid-single-click-edit-removed.ts similarity index 99% rename from packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts rename to packages/spec/src/conversions/entries/19/object-grid-single-click-edit-removed.ts index 24c64fdbbde..c5562f4a480 100644 --- a/packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts +++ b/packages/spec/src/conversions/entries/19/object-grid-single-click-edit-removed.ts @@ -5,7 +5,7 @@ import { mapPageComponents } from '../../walk.js'; import { isDict, stripKeys } from '../shared.js'; /** - * `object-grid`'s single-click edit switch leaves the contract (protocol 18, + * `object-grid`'s single-click edit switch leaves the contract (protocol 19, * #36270, ADR-0049 enforce-or-remove; the maintainer's ruling A, one editing * model). * @@ -25,7 +25,7 @@ import { isDict, stripKeys } from '../shared.js'; */ const objectGridSingleClickEditRemoved: MetadataConversion = { id: 'object-grid-single-click-edit-removed', - toMajor: 18, + toMajor: 19, retiredFromLoadPath: true, retiredAfter: '18.6.0', surface: 'page.component.object-grid.singleClickEdit', diff --git a/packages/spec/src/conversions/entries/18/view-column-state-removed.ts b/packages/spec/src/conversions/entries/19/view-column-state-removed.ts similarity index 98% rename from packages/spec/src/conversions/entries/18/view-column-state-removed.ts rename to packages/spec/src/conversions/entries/19/view-column-state-removed.ts index 0415be328ce..f9773556341 100644 --- a/packages/spec/src/conversions/entries/18/view-column-state-removed.ts +++ b/packages/spec/src/conversions/entries/19/view-column-state-removed.ts @@ -6,7 +6,7 @@ import { ASSEMBLED_VIEW_ITEMS_KEY } from '../../../ui/assembled-views.zod.js'; import { type Dict, isDict, stripKeys } from '../shared.js'; /** - * A stored `view` row's `columnState` leaves the wire surface (protocol 18, + * A stored `view` row's `columnState` leaves the wire surface (protocol 19, * #36403 — ADR-0049 enforce-or-remove; the spec half of #35955, where the * maintainer ruled column widths browser-only and the server-side per-user * list preference layer retired, 2026-11-21). @@ -28,7 +28,7 @@ import { type Dict, isDict, stripKeys } from '../shared.js'; * exists because a STORED row can carry it: the write door accepted and persisted * it until this release, and every read of a stored `view` row replays the chain * through `applyConversionsToStoredItem` as `{ views: [row] }` before it is served - * or badged. It also lets `os migrate meta --from 17` list the edits for sources. + * or badged. It also lets `os migrate meta --from 18` list the edits for sources. * * **One family, both spellings.** Unlike the `owner` / `hidden` pair, which * retired from the two doors in two cards and so carries two entries, this key @@ -74,7 +74,7 @@ import { type Dict, isDict, stripKeys } from '../shared.js'; */ const viewColumnStateRemoved: MetadataConversion = { id: 'view-column-state-removed', - toMajor: 18, + toMajor: 19, retiredFromLoadPath: true, retiredAfter: '18.6.0', surface: 'view.columnState — on a view item record ({ name, object, viewKind, config }) and on a flattened view overlay ({ name, object, viewKind, …, no config })', diff --git a/packages/spec/src/conversions/registry.ts b/packages/spec/src/conversions/registry.ts index 7da1e19098e..5759622d167 100644 --- a/packages/spec/src/conversions/registry.ts +++ b/packages/spec/src/conversions/registry.ts @@ -38,7 +38,6 @@ import { datasourceDriverMongoToMongodb } from './entries/17/datasource-driver-m import { retryPolicyConverged } from './entries/17/retry-policy-converged.js'; import { pageHeaderSubtitleAlias } from './entries/17/page-header-subtitle-alias.js'; import { inlineActionApiParamsToBodyExtra } from './entries/17/inline-action-api-params-to-body-extra.js'; -import { fieldInlineEditBooleanRemoved } from './entries/18/field-inline-edit-boolean-removed.js'; import { fieldMalformedScalePrecisionRemoved } from './entries/18/field-malformed-scale-precision-removed.js'; import { permissionSetManagedByRemoved } from './entries/18/permission-set-managed-by-removed.js'; import { personalViewDeclarationsRemoved } from './entries/18/view-personal-declarations-removed.js'; @@ -72,7 +71,6 @@ import { objectExternalSharingModelRemoved } from './entries/18/object-external- import { objectGridDefaultFiltersRemoved } from './entries/18/object-grid-default-filters-removed.js'; import { objectGridDefaultSortRemoved } from './entries/18/object-grid-default-sort-removed.js'; import { objectGridResizableColumnsRemoved } from './entries/18/object-grid-resizable-columns-removed.js'; -import { objectGridSingleClickEditRemoved } from './entries/18/object-grid-single-click-edit-removed.js'; import { objectKanbanQuickAddRemoved } from './entries/18/object-kanban-quick-add-removed.js'; import { pageHeaderBreadcrumbRemoved } from './entries/18/page-header-breadcrumb-removed.js'; import { pageHeaderShowStarRemoved } from './entries/18/page-header-show-star-removed.js'; @@ -122,7 +120,6 @@ import { actionAriaRemoved } from './entries/18/action-aria-removed.js'; import { dashboardWidgetChartConfigStructureRemoved } from './entries/18/dashboard-widget-chart-config-structure-removed.js'; import { objectMasterDetailFormDetailSortFieldRemoved } from './entries/18/object-master-detail-form-detail-sort-field-removed.js'; import { objectTenancyOrganizationFieldRemoved } from './entries/18/object-tenancy-organization-field-removed.js'; -import { viewColumnStateRemoved } from './entries/18/view-column-state-removed.js'; import { viewItemOwnerHiddenRemoved } from './entries/18/view-item-owner-hidden-removed.js'; import { viewOverlayOwnerHiddenRemoved } from './entries/18/view-overlay-owner-hidden-removed.js'; import { viewListFilterableFieldsRemoved } from './entries/18/view-list-filterable-fields-removed.js'; @@ -141,11 +138,14 @@ import { flowDecisionModeInclusiveExplicit } from './entries/18/flow-decision-mo import { actionLocationsActedOn } from './entries/19/action-locations-acted-on.js'; import { actionTypeAskAiRemoved } from './entries/19/action-type-ask-ai-removed.js'; import { agentModelProviderRemoved } from './entries/19/agent-model-provider-removed.js'; +import { fieldInlineEditBooleanRemoved } from './entries/19/field-inline-edit-boolean-removed.js'; import { formViewModalSizeRemoved } from './entries/19/form-view-modal-size-removed.js'; import { knowledgeSourceContentFieldsToContent } from './entries/19/knowledge-source-content-fields-to-content.js'; import { knowledgeSourceIdToName } from './entries/19/knowledge-source-id-to-name.js'; import { knowledgeSourceInertKeysRemoved } from './entries/19/knowledge-source-inert-keys-removed.js'; +import { objectGridSingleClickEditRemoved } from './entries/19/object-grid-single-click-edit-removed.js'; import { permissionViewAllFieldsBesideRecordBypass } from './entries/19/permission-view-all-fields-beside-record-bypass.js'; +import { viewColumnStateRemoved } from './entries/19/view-column-state-removed.js'; /** * One conversion of an OPEN major, with its place in that major's application @@ -241,7 +241,6 @@ const MAJOR_18_CONVERSIONS: readonly OrderedConversion[] = [ { conversion: elementTextVariantHeadingLevels, order: 59 }, { conversion: emailTemplateCategoryIsSystemRemoved, order: 62 }, { conversion: fieldColumnListsCanonicalized, order: 6 }, - { conversion: fieldInlineEditBooleanRemoved, order: 84 }, { conversion: fieldMalformedScalePrecisionRemoved, order: 1 }, { conversion: fieldReferenceToAlias, order: 18 }, { conversion: flowDecisionModeInclusiveExplicit, order: 45 }, @@ -266,7 +265,6 @@ const MAJOR_18_CONVERSIONS: readonly OrderedConversion[] = [ { conversion: objectGridDefaultFiltersRemoved, order: 35.5 }, { conversion: objectGridDefaultSortRemoved, order: 14 }, { conversion: objectGridResizableColumnsRemoved, order: 57 }, - { conversion: objectGridSingleClickEditRemoved, order: 83 }, { conversion: objectKanbanQuickAddRemoved, order: 15 }, { conversion: objectMasterDetailFormDetailSortFieldRemoved, order: 60 }, { conversion: objectTenancyOrganizationFieldRemoved, order: 35 }, @@ -303,7 +301,6 @@ const MAJOR_18_CONVERSIONS: readonly OrderedConversion[] = [ { conversion: translationWidgetSubCaptionRemoved, order: 55 }, { conversion: tursoConfigEncryptionKeyRemoved, order: 74 }, { conversion: tursoConfigTimeoutToTimeoutMs, order: 28 }, - { conversion: viewColumnStateRemoved, order: 83 }, { conversion: viewItemOwnerHiddenRemoved, order: 37 }, { conversion: viewListFilterableFieldsRemoved, order: 71 }, { conversion: viewListTabsRemoved, order: 46 }, @@ -340,6 +337,14 @@ const MAJOR_18_CONVERSIONS: readonly OrderedConversion[] = [ * the stack as a possible name of a declared `ask_ai` action, a `modalSize` * value included. It applies before this delete, so such a value still counts * there, and that is its conservative side: the action is kept for the author. + * + * Three apply first (`order` below 1): the `object-grid` `singleClickEdit` + * delete, the view `columnState` delete and the relationship field's boolean + * `inlineEdit` delete. They first shipped in a 19 prerelease, after the last + * 18.x release, so they belong to this major; they were authored as the last + * three of major 18, and these orders keep them in that place in + * {@link ALL_CONVERSIONS}: after every major-18 conversion, before every other + * major-19 one, in the same order among themselves. */ const MAJOR_19_CONVERSIONS: readonly OrderedConversion[] = [ { conversion: actionLocationsActedOn, order: 3 }, @@ -348,11 +353,14 @@ const MAJOR_19_CONVERSIONS: readonly OrderedConversion[] = [ // first, so it cannot hold a `record_header` group back as a TODO there. { conversion: actionTypeAskAiRemoved, order: 2.5 }, { conversion: agentModelProviderRemoved, order: 2 }, + { conversion: fieldInlineEditBooleanRemoved, order: 0.2 }, { conversion: formViewModalSizeRemoved, order: 4 }, { conversion: knowledgeSourceContentFieldsToContent, order: 2 }, { conversion: knowledgeSourceIdToName, order: 1 }, { conversion: knowledgeSourceInertKeysRemoved, order: 3 }, + { conversion: objectGridSingleClickEditRemoved, order: 0.1 }, { conversion: permissionViewAllFieldsBesideRecordBypass, order: 1 }, + { conversion: viewColumnStateRemoved, order: 0.1 }, ]; /** diff --git a/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts b/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts index 73100cd467a..45f0c82a42b 100644 --- a/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts +++ b/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts @@ -99,11 +99,11 @@ describe('§2 the conversion and the ADR-0087 entries', () => { }); } - it('is retired from the load path, and wired into step 18 beside its D3 entry', () => { + it('is retired from the load path, and wired into step 19 beside its D3 entry', () => { const conversion = ALL_CONVERSIONS.find((c) => c.id === CONVERSION_ID); - expect(conversion?.toMajor).toBe(18); + expect(conversion?.toMajor).toBe(19); expect(conversion?.retiredFromLoadPath).toBe(true); - const step = MIGRATIONS_BY_MAJOR[18]!; + const step = MIGRATIONS_BY_MAJOR[19]!; expect(step.conversionIds).toContain(CONVERSION_ID); expect(step.semantic.map((s) => s.id)).toContain('field-inline-edit-boolean-retired'); expect(step.rationale).toMatch(/retires the boolean arm of a relationship field's `inlineEdit`/); diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts b/packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts similarity index 68% rename from packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts index a6bcb09b108..db3dd1680dd 100644 --- a/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts +++ b/packages/spec/src/migrations/entries/retired-keys/19.ui__ObjectGridProps__singleClickEdit.ts @@ -5,10 +5,9 @@ // editor on double-click, Enter, F2 or typing, so `object-grid`'s // `singleClickEdit` has no single-click entry left to switch. // -// Registered under 18 for the reason `ui/ObjectGridProps:resizableColumns` is: -// the removal ships on the 18.x line (launch-window convention: accept-set -// narrowings ride minor releases) and the prescription lives at the major -// boundary where `migrate meta` users look. Tombstoned with `retiredKey()` in +// Registered under 19: the removal first shipped in `@objectstack/spec` +// 19.0.0-next.0 and in no 18.x release, so its tombstone ages from major 19, +// the major whose upgrade first carries it. Tombstoned with `retiredKey()` in // `ObjectGridPropsSchema` (the surface baseline line carries `[RETIRED]`); // sources are rewritten by the D2 conversion // `object-grid-single-click-edit-removed` (a delete, whatever the value). diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ViewItemWire__columnState.ts b/packages/spec/src/migrations/entries/retired-keys/19.ui__ViewItemWire__columnState.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/18.ui__ViewItemWire__columnState.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ui__ViewItemWire__columnState.ts diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ViewMetadata__columnState.ts b/packages/spec/src/migrations/entries/retired-keys/19.ui__ViewMetadata__columnState.ts similarity index 100% rename from packages/spec/src/migrations/entries/retired-keys/18.ui__ViewMetadata__columnState.ts rename to packages/spec/src/migrations/entries/retired-keys/19.ui__ViewMetadata__columnState.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts b/packages/spec/src/migrations/entries/semantic/19.field-inline-edit-boolean-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.field-inline-edit-boolean-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.field-inline-edit-boolean-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts b/packages/spec/src/migrations/entries/semantic/19.object-grid-single-click-edit-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.object-grid-single-click-edit-retired.ts diff --git a/packages/spec/src/migrations/entries/semantic/18.view-column-state-retired.ts b/packages/spec/src/migrations/entries/semantic/19.view-column-state-retired.ts similarity index 100% rename from packages/spec/src/migrations/entries/semantic/18.view-column-state-retired.ts rename to packages/spec/src/migrations/entries/semantic/19.view-column-state-retired.ts diff --git a/packages/spec/src/migrations/registry.ts.template b/packages/spec/src/migrations/registry.ts.template index f0a97a6d8e1..666d9648dcf 100644 --- a/packages/spec/src/migrations/registry.ts.template +++ b/packages/spec/src/migrations/registry.ts.template @@ -1892,20 +1892,6 @@ const STEP18_RATIONALE: readonly RationaleFragment[] = [ + 'related-list column objects to their identity string; unknown keys are named ' + 'rejections at publish from this major.', }, - { - id: 'field-inline-edit-boolean-retired', - order: 124, - text: - 'It also retires the boolean arm of a relationship field\'s `inlineEdit` (ADR-0049 ' - + 'enforce-or-remove; the maintainer\'s field-group ruling of objectstack#35889). A field group of ' - + 'the parent (`fieldGroups[].relatedList`) now decides whether the parent\'s form inlines a child, ' - + 'and `inlineEdit` only picks the form factor of a placed one; every reader of the key passes ' - + 'anything but `\'grid\'` and `\'form\'` as absent, so `true` and `false` both read as no key. The ' - + 'arm leaves the vocabulary, refused at the parse with the prescription. The D2 conversion ' - + '`field-inline-edit-boolean-removed` deletes a boolean from `objects[]` and `objectExtensions[]` ' - + 'field maps as a pure lossless delete, retired from the load path so authors are refused at parse; ' - + 'its D3 record is the semantic entry `field-inline-edit-boolean-retired`.', - }, { id: 'field-reference-to-spelling-retired', order: 21, @@ -2255,17 +2241,6 @@ const STEP18_RATIONALE: readonly RationaleFragment[] = [ + '`PackageUpgradeResponse`. The `UpgradePlan.estimatedDuration` tombstone leaves with its ' + 'def\'s source and its RETIRED_KEYS_BY_MAJOR[18] entry stays as history.', }, - { - id: 'knowledge-chunk-metadata-retired', - order: 125, - text: - 'It removes `metadata` from the knowledge chunk (ADR-0049 enforce-or-remove), as ADR-0161 ' - + 'K8 item 5 asks of the splitter that gives the chunk its first producer: the service cuts ' - + 'every passage and sets no per-passage metadata, no adapter read one, and a passage takes its ' - + 'document\'s `metadata`. A chunk is a runtime contract shape, never stored in stack metadata, ' - + 'so there is no D2 conversion; the schema tombstones the key, and its D3 record is the ' - + 'semantic entry `knowledge-chunk-metadata-retired`.', - }, { id: 'list-view-filterable-fields-retired', order: 105, @@ -2565,21 +2540,6 @@ const STEP18_RATIONALE: readonly RationaleFragment[] = [ + 'present (it was never read then). Its D3 record is the semantic entry ' + '`object-grid-resizable-columns-retired`.', }, - { - id: 'object-grid-single-click-edit-retired', - order: 123, - text: - 'It also retires `object-grid`\'s `singleClickEdit` (ADR-0049 enforce-or-remove; the ' - + 'maintainer\'s ruling A of objectstack#36270, one editing model). A grid that renders editable ' - + 'now selects a cell first: a click selects it, and double-click, Enter, F2 or typing opens its ' - + 'editor, with each committed cell saved on its own. That model has no single-click entry, so ' - + 'neither value could be honoured: `true` (the renderer\'s default) would open the editor on the ' - + 'selecting click, and `false` named the double-click entry the model already has. A retiredKey ' - + 'tombstone on `ObjectGridPropsSchema` with one D2 conversion that deletes the key, whatever its ' - + 'value. In the same change `keyboardNavigation`\'s describe narrows to what is enforced: on a ' - + 'grid that renders editable the navigation is always on, and `false` is no longer honoured ' - + 'there. Its D3 record is the semantic entry `object-grid-single-click-edit-retired`.', - }, { id: 'object-kanban-quick-add-retired', order: 28, @@ -3581,23 +3541,6 @@ const STEP18_RATIONALE: readonly RationaleFragment[] = [ + 'and stored rows, which changes nothing a reader sees. Its D3 record is the semantic entry ' + '`ui-view-personal-declarations-retired`.', }, - { - id: 'view-column-state-retired', - order: 123, - text: - 'It also retires `columnState` from the stored `view` row (ADR-0049; the spec half of the ruling ' - + 'that put column widths in the reader\'s browser and retired the server-side per-user list ' - + 'preference layer): the console grid\'s per-user column order and widths, declared on the view ' - + 'item record and the flattened overlay, written onto a shared row and read back. No writer is ' - + 'left — a column drag goes to the list\'s draft and is saved into the view itself — so the key is ' - + 'a `retiredKey()` tombstone on both doors, and the D2 conversion `view-column-state-removed` ' - + 'strips it in `views` and `viewItems`, so a stored row is served without it and its layout is no ' - + 'longer applied: as ruled, a stored layout is not migrated and every reader sees the view\'s own ' - + 'column order and widths. A row that held ' - + 'other view keys is then valid again and re-saves; an overlay that held nothing but its identity ' - + 'and the key is left identity-only, which the door refuses, and is deleted. Its D3 record is the ' - + 'semantic entry `view-column-state-retired`.', - }, { id: 'view-data-api-provider-retired', order: 95, @@ -3743,6 +3686,43 @@ const step19: MigrationStep = { + 'is sent to the embedding provider; `embedding`, `vectorStore`, `adapterConfig` and ' + '`refresh.cron`, which nothing read, are removed; and the `file` and `http` source kinds leave ' + 'with their four keys, so a source indexes the records of one object. ' + + 'It also retires `object-grid`\'s `singleClickEdit` (ADR-0049 enforce-or-remove; the ' + + 'maintainer\'s ruling A of objectstack#36270, one editing model). A grid that renders editable ' + + 'now selects a cell first: a click selects it, and double-click, Enter, F2 or typing opens its ' + + 'editor, with each committed cell saved on its own. That model has no single-click entry, so ' + + 'neither value could be honoured: `true` (the renderer\'s default) would open the editor on the ' + + 'selecting click, and `false` named the double-click entry the model already has. A retiredKey ' + + 'tombstone on `ObjectGridPropsSchema` with one D2 conversion that deletes the key, whatever its ' + + 'value. In the same change `keyboardNavigation`\'s describe narrows to what is enforced: on a ' + + 'grid that renders editable the navigation is always on, and `false` is no longer honoured ' + + 'there. Its D3 record is the semantic entry `object-grid-single-click-edit-retired`. ' + + 'It also retires `columnState` from the stored `view` row (ADR-0049; the spec half of the ruling ' + + 'that put column widths in the reader\'s browser and retired the server-side per-user list ' + + 'preference layer): the console grid\'s per-user column order and widths, declared on the view ' + + 'item record and the flattened overlay, written onto a shared row and read back. No writer is ' + + 'left — a column drag goes to the list\'s draft and is saved into the view itself — so the key is ' + + 'a `retiredKey()` tombstone on both doors, and the D2 conversion `view-column-state-removed` ' + + 'strips it in `views` and `viewItems`, so a stored row is served without it and its layout is no ' + + 'longer applied: as ruled, a stored layout is not migrated and every reader sees the view\'s own ' + + 'column order and widths. A row that held ' + + 'other view keys is then valid again and re-saves; an overlay that held nothing but its identity ' + + 'and the key is left identity-only, which the door refuses, and is deleted. Its D3 record is the ' + + 'semantic entry `view-column-state-retired`. ' + + 'It also retires the boolean arm of a relationship field\'s `inlineEdit` (ADR-0049 ' + + 'enforce-or-remove; the maintainer\'s field-group ruling of objectstack#35889). A field group of ' + + 'the parent (`fieldGroups[].relatedList`) now decides whether the parent\'s form inlines a child, ' + + 'and `inlineEdit` only picks the form factor of a placed one; every reader of the key passes ' + + 'anything but `\'grid\'` and `\'form\'` as absent, so `true` and `false` both read as no key. The ' + + 'arm leaves the vocabulary, refused at the parse with the prescription. The D2 conversion ' + + '`field-inline-edit-boolean-removed` deletes a boolean from `objects[]` and `objectExtensions[]` ' + + 'field maps as a pure lossless delete, retired from the load path so authors are refused at parse; ' + + 'its D3 record is the semantic entry `field-inline-edit-boolean-retired`. ' + + 'It removes `metadata` from the knowledge chunk (ADR-0049 enforce-or-remove), as ADR-0161 ' + + 'K8 item 5 asks of the splitter that gives the chunk its first producer: the service cuts ' + + 'every passage and sets no per-passage metadata, no adapter read one, and a passage takes its ' + + 'document\'s `metadata`. A chunk is a runtime contract shape, never stored in stack metadata, ' + + 'so there is no D2 conversion; the schema tombstones the key, and its D3 record is the ' + + 'semantic entry `knowledge-chunk-metadata-retired`. ' + 'A form view\'s `modalSize` leaves the shape, on a `form` item too: no form view opens in a dialog ' + 'since the console\'s New and Edit dialogs stopped loading one, so the key is deleted, which changes ' + 'nothing a reader sees; the React `ObjectForm` block and the `object-form` page block keep their own.', diff --git a/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts b/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts index 1eb39efaab5..7a8bdf54afc 100644 --- a/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts +++ b/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts @@ -110,14 +110,14 @@ describe('§3 the conversion and the ADR-0087 entries', () => { expect(convert({ objectName: 'task', singleClickEdit: true }, 'object-kanban').notices).toEqual([]); }); - it('is retired from the load path, and wired into step 18 beside its D3 entry and the retired-key row', () => { + it('is retired from the load path, and wired into step 19 beside its D3 entry and the retired-key row', () => { const conversion = ALL_CONVERSIONS.find((c) => c.id === CONVERSION_ID); - expect(conversion?.toMajor).toBe(18); + expect(conversion?.toMajor).toBe(19); expect(conversion?.retiredFromLoadPath).toBe(true); - const step = MIGRATIONS_BY_MAJOR[18]!; + const step = MIGRATIONS_BY_MAJOR[19]!; expect(step.conversionIds).toContain(CONVERSION_ID); expect(step.semantic.map((s) => s.id)).toContain('object-grid-single-click-edit-retired'); expect(step.rationale).toMatch(/retires `object-grid`'s `singleClickEdit`/); - expect(RETIRED_KEYS_BY_MAJOR[18]).toContain('ui/ObjectGridProps:singleClickEdit'); + expect(RETIRED_KEYS_BY_MAJOR[19]).toContain('ui/ObjectGridProps:singleClickEdit'); }); }); diff --git a/packages/spec/src/ui/view-column-state-retirement.test.ts b/packages/spec/src/ui/view-column-state-retirement.test.ts index 9ec74dd07cd..23941ce49ca 100644 --- a/packages/spec/src/ui/view-column-state-retirement.test.ts +++ b/packages/spec/src/ui/view-column-state-retirement.test.ts @@ -14,9 +14,9 @@ * Bookkeeping shapes, pinned below: * 1. One `retiredKey()` text on all three members. The authoring doors never * declared the key; their `guidance` names the retirement. - * 2. D2 conversion `view-column-state-removed` (step 18), one family on both + * 2. D2 conversion `view-column-state-removed` (step 19), one family on both * spellings, reaching `views` and `viewItems`, leaving containers alone. - * 3. `RETIRED_KEYS_BY_MAJOR[18]` carries `ui/ViewItemWire:columnState` and + * 3. `RETIRED_KEYS_BY_MAJOR[19]` carries `ui/ViewItemWire:columnState` and * `ui/ViewMetadata:columnState` — declared, not judged (neither def emits * top-level `properties`). * 4. One D3 semantic entry, `view-column-state-retired`. @@ -214,15 +214,15 @@ describe('columnState retirement — the column-state-only residue', () => { }); describe('columnState retirement — ADR-0087 registration', () => { - it('declares the key on both doors under major 18, with the D2 entry in the step-18 chain', () => { + it('declares the key on both doors under major 19, with the D2 entry in the step-19 chain', () => { for (const key of ['ui/ViewItemWire:columnState', 'ui/ViewMetadata:columnState']) { - expect(RETIRED_KEYS_BY_MAJOR[18], key).toContain(key); + expect(RETIRED_KEYS_BY_MAJOR[19], key).toContain(key); } - expect(MIGRATIONS_BY_MAJOR[18]!.conversionIds).toContain('view-column-state-removed'); + expect(MIGRATIONS_BY_MAJOR[19]!.conversionIds).toContain('view-column-state-removed'); }); it('carries ONE D3 semantic entry, naming its D2 conversion, the measured zero and the unmeasured population', () => { - const semantic = MIGRATIONS_BY_MAJOR[18]!.semantic; + const semantic = MIGRATIONS_BY_MAJOR[19]!.semantic; const family = semantic.filter((s) => s.id === 'view-column-state-retired'); expect(family).toHaveLength(1); const entry = family[0]!; From f47bef276f811e459b6d5b6ed900d36946118577 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 14:53:21 +0000 Subject: [PATCH 5/8] fix(spec): KnowledgeChunk.metadata's tombstone names 19.0.0, the release that removed it The key's retirement first shipped in 19.0.0-next.0 and in no 18.x release, as its retired-key row now records, but the refusal said 18. The removal version pin derives the version only for retirements with a D2 conversion, and this one has none. Reference page regenerated. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- content/docs/references/ai/knowledge-document.mdx | 4 ++-- packages/spec/src/ai/knowledge-document.zod.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/references/ai/knowledge-document.mdx b/content/docs/references/ai/knowledge-document.mdx index 23677c0807e..626df70bfb6 100644 --- a/content/docs/references/ai/knowledge-document.mdx +++ b/content/docs/references/ai/knowledge-document.mdx @@ -44,7 +44,7 @@ const result = KnowledgeChunkSchema.parse(data); | **index** | `integer` | ✅ | | | **content** | `string` | ✅ | | | **headingPath** | `string[]` | optional | Headings the chunk sits under, outermost first (markdown strategy) | -| **metadata** | `never` | optional | [REMOVED] `KnowledgeChunk.metadata` was removed in @objectstack/spec 18 (ADR-0049, ADR-0161 K8) — nothing ever wrote or read it: the knowledge service cuts the passages and sets no per-passage metadata, and no adapter consulted one. Delete the key. A passage takes its document's `metadata` (`KnowledgeDocument.metadata`), which is what adapters filter on. | +| **metadata** | `never` | optional | [REMOVED] `KnowledgeChunk.metadata` was removed in @objectstack/spec 19.0.0 (ADR-0049, ADR-0161 K8) — nothing ever wrote or read it: the knowledge service cuts the passages and sets no per-passage metadata, and no adapter consulted one. Delete the key. A passage takes its document's `metadata` (`KnowledgeDocument.metadata`), which is what adapters filter on. | --- @@ -75,7 +75,7 @@ const result = KnowledgeChunkSchema.parse(data); | **index** | `integer` | ✅ | | | **content** | `string` | ✅ | | | **headingPath** | `string[]` | optional | Headings the chunk sits under, outermost first (markdown strategy) | -| **metadata** | `never` | optional | [REMOVED] `KnowledgeChunk.metadata` was removed in @objectstack/spec 18 (ADR-0049, ADR-0161 K8) — nothing ever wrote or read it: the knowledge service cuts the passages and sets no per-passage metadata, and no adapter consulted one. Delete the key. A passage takes its document's `metadata` (`KnowledgeDocument.metadata`), which is what adapters filter on. | +| **metadata** | `never` | optional | [REMOVED] `KnowledgeChunk.metadata` was removed in @objectstack/spec 19.0.0 (ADR-0049, ADR-0161 K8) — nothing ever wrote or read it: the knowledge service cuts the passages and sets no per-passage metadata, and no adapter consulted one. Delete the key. A passage takes its document's `metadata` (`KnowledgeDocument.metadata`), which is what adapters filter on. | --- diff --git a/packages/spec/src/ai/knowledge-document.zod.ts b/packages/spec/src/ai/knowledge-document.zod.ts index f2b46f9f400..9a31dd3e21b 100644 --- a/packages/spec/src/ai/knowledge-document.zod.ts +++ b/packages/spec/src/ai/knowledge-document.zod.ts @@ -58,7 +58,7 @@ export const KnowledgeChunkSchema = lazySchema(() => z.object({ * beside each passage. */ metadata: retiredKey( - '`KnowledgeChunk.metadata` was removed in @objectstack/spec 18 (ADR-0049, ADR-0161 K8) — ' + + '`KnowledgeChunk.metadata` was removed in @objectstack/spec 19.0.0 (ADR-0049, ADR-0161 K8) — ' + 'nothing ever wrote or read it: the knowledge service cuts the passages and sets no ' + 'per-passage metadata, and no adapter consulted one. Delete the key. A passage takes its ' + "document's `metadata` (`KnowledgeDocument.metadata`), which is what adapters filter on.", From caef086998826181fce0bbcffe72d935d3af6671 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 14:58:41 +0000 Subject: [PATCH 6/8] fix(spec): the three moved retirements' prescriptions name `os migrate meta --from 18` With their conversions in step 19, the replay that applies them starts from 18, and retired-key-removal-version.pin derives the `--from` from toMajor. The singleClickEdit, inlineEdit-boolean and columnState refusals and their three pins now say --from 18. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- packages/spec/src/data/field-inline-edit-boolean.pin.test.ts | 2 +- packages/spec/src/data/field.zod.ts | 2 +- packages/spec/src/ui/component.zod.ts | 2 +- packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts | 2 +- packages/spec/src/ui/view-column-state-retirement.test.ts | 2 +- packages/spec/src/ui/view.zod.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts b/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts index 45f0c82a42b..2d0ef30a43d 100644 --- a/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts +++ b/packages/spec/src/data/field-inline-edit-boolean.pin.test.ts @@ -35,7 +35,7 @@ function issues(result: z.ZodSafeParseResult): { code: string; path: st } const PRESCRIPTION = - /^`field\.inlineEdit: true` and `field\.inlineEdit: false` were removed in @objectstack\/spec 19\.0\.0 \(ADR-0049 enforce-or-remove\) — .*`fieldGroups\[\]\.relatedList`.*Delete the key, or write `'grid'`.*Run `os migrate meta --from 17`/s; + /^`field\.inlineEdit: true` and `field\.inlineEdit: false` were removed in @objectstack\/spec 19\.0\.0 \(ADR-0049 enforce-or-remove\) — .*`fieldGroups\[\]\.relatedList`.*Delete the key, or write `'grid'`.*Run `os migrate meta --from 18`/s; describe('§1 the boolean arm of `inlineEdit` is refused', () => { for (const value of [true, false]) { diff --git a/packages/spec/src/data/field.zod.ts b/packages/spec/src/data/field.zod.ts index f9a7d525065..68169d88bc3 100644 --- a/packages/spec/src/data/field.zod.ts +++ b/packages/spec/src/data/field.zod.ts @@ -1701,7 +1701,7 @@ const INLINE_EDIT_BOOLEAN_RETIRED = + 'Delete the key, or write `\'grid\'` (an editable line-item grid) or `\'form\'` (a list whose rows ' + 'open the child\'s full form) to choose the form factor; to inline the child in the parent\'s form, ' + 'name it in a field group of the parent (`fieldGroups[].relatedList`). ' - + 'Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.'; + + 'Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.'; /** * The prose answer for a field-level spelling of "track this field's diff --git a/packages/spec/src/ui/component.zod.ts b/packages/spec/src/ui/component.zod.ts index 9691cdfc75b..867008f9c7e 100644 --- a/packages/spec/src/ui/component.zod.ts +++ b/packages/spec/src/ui/component.zod.ts @@ -5492,7 +5492,7 @@ export const ObjectGridPropsSchema = lazySchema(() => strictObject({ + 'a grid that renders editable now selects a cell on a click and opens its editor on double-click, ' + 'Enter, F2 or typing, so a single-click entry no longer exists for this key to switch. ' + 'Delete the key; `editable` (with the viewer\'s write verdict) decides whether the grid edits. ' - + 'Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.', + + 'Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.', ), /** * [#20694] Declared AHEAD of its reader, deliberately: objectui#11068 chose diff --git a/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts b/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts index 7a8bdf54afc..5c1184d9cc8 100644 --- a/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts +++ b/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts @@ -37,7 +37,7 @@ function issues(result: z.ZodSafeParseResult): { code: string; path: st } const PRESCRIPTION = - /^`object-grid` property `singleClickEdit` was removed in @objectstack\/spec 19\.0\.0 \(ADR-0049\) — a grid that renders editable now selects a cell.*Delete the key; `editable`.*Run `os migrate meta --from 17`/s; + /^`object-grid` property `singleClickEdit` was removed in @objectstack\/spec 19\.0\.0 \(ADR-0049\) — a grid that renders editable now selects a cell.*Delete the key; `editable`.*Run `os migrate meta --from 18`/s; describe('§1 `singleClickEdit` is retired to a tombstone', () => { for (const value of [true, false]) { diff --git a/packages/spec/src/ui/view-column-state-retirement.test.ts b/packages/spec/src/ui/view-column-state-retirement.test.ts index 23941ce49ca..e723b512794 100644 --- a/packages/spec/src/ui/view-column-state-retirement.test.ts +++ b/packages/spec/src/ui/view-column-state-retirement.test.ts @@ -53,7 +53,7 @@ const VALUE = { order: ['email', 'name'], widths: { email: 240 } } as const; // Unanchored: a thrown `ZodError`'s message is the JSON of its issues. The // key-first convention is asserted on the issue message itself below. -const PRESCRIPTION = /`view\.columnState` was removed in @objectstack\/spec 19\.0\.0 \(ADR-0049.*Delete the key\..*`os migrate meta --from 17`/s; +const PRESCRIPTION = /`view\.columnState` was removed in @objectstack\/spec 19\.0\.0 \(ADR-0049.*Delete the key\..*`os migrate meta --from 18`/s; const LIST_BODY_PRESCRIPTION = /`listView\.columnState` was removed in @objectstack\/spec 19\.0\.0 \(ADR-0049.*Delete the key\./s; type Issue = { code: string; path: PropertyKey[]; message: string; errors?: Issue[][] }; diff --git a/packages/spec/src/ui/view.zod.ts b/packages/spec/src/ui/view.zod.ts index a47d0f80dee..d096d3350dd 100644 --- a/packages/spec/src/ui/view.zod.ts +++ b/packages/spec/src/ui/view.zod.ts @@ -6466,7 +6466,7 @@ const VIEW_COLUMN_STATE_RETIRED = + 'column widths in each reader\'s browser and saves a column order into the view itself. ' + 'Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a ' + 'width, set `width` on the column. ' - + 'Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.'; + + 'Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.'; /** The authoring surface `defineViewItem` and Studio's create form are judged by. */ const VIEW_ITEM_SURFACE = { From 3d1e155e5829d9bf96e939630c6a3dbbb05cf871 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 15:01:40 +0000 Subject: [PATCH 7/8] docs(spec): regenerate the component and view reference pages for the --from 18 prescriptions Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- content/docs/references/ui/component.mdx | 2 +- content/docs/references/ui/view.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/references/ui/component.mdx b/content/docs/references/ui/component.mdx index b8801c7f38b..a584e451b5d 100644 --- a/content/docs/references/ui/component.mdx +++ b/content/docs/references/ui/component.mdx @@ -847,7 +847,7 @@ Sort field and direction pair | **bulkActionDefs** | `{ name: string; label?: string; icon?: string; variant?: Enum<'primary' \| 'secondary' \| 'danger' \| 'ghost' \| 'outline'>; … }[]` | optional | Inline bulk-action definitions (full defs, not names) — the same `BulkActionDef` entries a list view's `bulkActionDefs` declares | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Row-click navigation config — the same block `ListViewSchema.navigation` declares (`{ mode, size, openNewTab, preventNavigation }`) | | **editable** | `boolean` | optional | Enable inline cell editing | -| **singleClickEdit** | `never` | optional | [REMOVED] `object-grid` property `singleClickEdit` was removed in @objectstack/spec 19.0.0 (ADR-0049) — a grid that renders editable now selects a cell on a click and opens its editor on double-click, Enter, F2 or typing, so a single-click entry no longer exists for this key to switch. Delete the key; `editable` (with the viewer's write verdict) decides whether the grid edits. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | +| **singleClickEdit** | `never` | optional | [REMOVED] `object-grid` property `singleClickEdit` was removed in @objectstack/spec 19.0.0 (ADR-0049) — a grid that renders editable now selects a cell on a click and opens its editor on double-click, Enter, F2 or typing, so a single-click entry no longer exists for this key to switch. Delete the key; `editable` (with the viewer's write verdict) decides whether the grid edits. Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **keyboardNavigation** | `boolean` | optional | Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells become one Tab stop that the arrow keys, Home / End and Ctrl+Home / Ctrl+End move between. Always on when the grid renders editable — `editable` set and the viewer allowed to edit — because that grid selects a cell first and moves the selection with these keys; a grid that renders read-only keeps every cell its own Tab stop unless this is `true` | | **resizable** | `boolean` | optional | Allow column resize (the renderer default is on) | | **resizableColumns** | `never` | optional | [REMOVED] `object-grid` property `resizableColumns` was removed in @objectstack/spec 17.7.0 (ADR-0049) — it was the legacy second spelling of `resizable`, read only when `resizable` was absent, so one switch had two spellings and a grid authoring both silently ignored this one. Use `resizable`. Rename the key; the value (a boolean) is unchanged. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | diff --git a/content/docs/references/ui/view.mdx b/content/docs/references/ui/view.mdx index fc91e505279..a2e56e42c8c 100644 --- a/content/docs/references/ui/view.mdx +++ b/content/docs/references/ui/view.mdx @@ -2689,7 +2689,7 @@ This schema accepts one of the following structures: | **isPinned** | `boolean` | optional | Console round-trip: the view is pinned in the object's view switcher. Written by the console's pin toggle through the `view` metadata API and read back to draw the pinned group. Stored on the view's row, which has no per-user scope. Not authored. | | **sortOrder** | `integer` | optional | Console round-trip: the view's position among the object's saved views in the switcher, 0-based and counted over saved views only (a code-defined view carries none). Written by the console's drag-reorder and read back to order the tabs. Not authored: `order` is the authored default position. | | **visibility** | `Enum<'private' \| 'team' \| 'organization' \| 'public'>` | optional | Console round-trip: the group the switcher files this view's tab under (private, team, organization or public). Display grouping only, NOT access control: nothing restricts who can list or open the view by this value. No console control sets it; the console carries a stored value forward when it re-saves the row. Not authored. | -| **columnState** | `never` | optional | [REMOVED] `view.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) — it held one column order and set of widths on a shared view row; nothing writes it any more, and a stored layout is no longer applied, so every reader sees the view's own column order and widths. The console keeps column widths in each reader's browser and saves a column order into the view itself. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | +| **columnState** | `never` | optional | [REMOVED] `view.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) — it held one column order and set of widths on a shared view row; nothing writes it any more, and a stored layout is no longer applied, so every reader sees the view's own column order and widths. The console keeps column widths in each reader's browser and saves a column order into the view itself. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column. Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **options** | `never` | optional | Refused: a view item record carries no top-level `options` bag. Its per-kind blocks live under `config` (`config.kanban`, `config.timeline`, …); the legacy `options.KIND` bag belongs to the flattened list overlay only. | ### Nested Shape: `ViewItemWire[viewKind='list'].config` @@ -2789,7 +2789,7 @@ This schema accepts one of the following structures: | **isPinned** | `boolean` | optional | Console round-trip: the view is pinned in the object's view switcher. Written by the console's pin toggle through the `view` metadata API and read back to draw the pinned group. Stored on the view's row, which has no per-user scope. Not authored. | | **sortOrder** | `integer` | optional | Console round-trip: the view's position among the object's saved views in the switcher, 0-based and counted over saved views only (a code-defined view carries none). Written by the console's drag-reorder and read back to order the tabs. Not authored: `order` is the authored default position. | | **visibility** | `Enum<'private' \| 'team' \| 'organization' \| 'public'>` | optional | Console round-trip: the group the switcher files this view's tab under (private, team, organization or public). Display grouping only, NOT access control: nothing restricts who can list or open the view by this value. No console control sets it; the console carries a stored value forward when it re-saves the row. Not authored. | -| **columnState** | `never` | optional | [REMOVED] `view.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) — it held one column order and set of widths on a shared view row; nothing writes it any more, and a stored layout is no longer applied, so every reader sees the view's own column order and widths. The console keeps column widths in each reader's browser and saves a column order into the view itself. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | +| **columnState** | `never` | optional | [REMOVED] `view.columnState` was removed in @objectstack/spec 19.0.0 (ADR-0049 enforce-or-remove) — it held one column order and set of widths on a shared view row; nothing writes it any more, and a stored layout is no longer applied, so every reader sees the view's own column order and widths. The console keeps column widths in each reader's browser and saves a column order into the view itself. Delete the key. To ship a column order, list `columns` in that order (or set `fieldOrder`); to ship a width, set `width` on the column. Run `os migrate meta --from 18` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **options** | `never` | optional | Refused: a view item record carries no top-level `options` bag. Its per-kind blocks live under `config` (`config.kanban`, `config.timeline`, …); the legacy `options.KIND` bag belongs to the flattened list overlay only. | ### Nested Shape: `ViewItemWire[viewKind='form'].config` From c7cc78d89f44c7cadddd524ebec527dc1578419e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 15:59:52 +0000 Subject: [PATCH 8/8] docs(spec): the two comments naming the moved conversions say protocol 19 Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude --- packages/spec/src/data/field.zod.ts | 2 +- packages/spec/src/ui/component.zod.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/spec/src/data/field.zod.ts b/packages/spec/src/data/field.zod.ts index 68169d88bc3..4a4357a8d04 100644 --- a/packages/spec/src/data/field.zod.ts +++ b/packages/spec/src/data/field.zod.ts @@ -1685,7 +1685,7 @@ function refuseMalformedLookupFilterEntry( * something nothing did, and the arm leaves the vocabulary; `'grid'` and * `'form'` stay. * - * Stored and built metadata never meets this refusal: the protocol-18 + * Stored and built metadata never meets this refusal: the protocol-19 * ADR-0087 conversion `field-inline-edit-boolean-removed` deletes a boolean * `inlineEdit` (lossless — absent is what it read as) on every data-at-rest * seam, and is retired from the authoring funnel, so a live author is refused diff --git a/packages/spec/src/ui/component.zod.ts b/packages/spec/src/ui/component.zod.ts index 867008f9c7e..486e3bd0f3f 100644 --- a/packages/spec/src/ui/component.zod.ts +++ b/packages/spec/src/ui/component.zod.ts @@ -5484,7 +5484,7 @@ export const ObjectGridPropsSchema = lazySchema(() => strictObject({ * never had an effect there. * * The live mechanism is `editable` (with the viewer's write verdict). The - * protocol-18 conversion `object-grid-single-click-edit-removed` deletes the + * protocol-19 conversion `object-grid-single-click-edit-removed` deletes the * key from authored grids. */ singleClickEdit: retiredKey(