Skip to content

Commit 367d09d

Browse files
committed
fix(spec): L2 follow-ups: the modal-size entry names its sibling as protocol 19, and the changeset states the artifact and refusal-text effects
`19.ui-form-view-modal-size-retired` called `internal-record-forms-not-loaded` a protocol-18 entry; it now sits in step 19. The inlineEdit prescription's docblock says protocol 19. The changeset adds the bare `^19` artifact case (refused before, converted at ingestion now) and the three `--from 18` refusals and the KnowledgeChunk tombstone text. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
1 parent c7cc78d commit 367d09d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.changeset/38256-semantic-entries-step-19.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Metadata-protocol: none
99

1010
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.
1111

12-
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.
12+
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 already replayed them and are unaffected, and so are built artifacts that declare a protocol range below 19. A built artifact whose range is a bare `^19` and that still carries one of the three keys was refused at ingestion, because the artifact door replays a retired conversion for a `19.0.0` floor only when its step is 19; it is now converted on ingestion instead. The conversions run in the same order as before. The three keys' parse refusals now point at `os migrate meta --from 18` (was `--from 17`), the replay that applies them, and `KnowledgeChunk.metadata`'s tombstone now says it was removed in 19.0.0 (was 18). 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.

‎packages/spec/src/data/field.zod.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ function refuseMalformedLookupFilterEntry(
16711671
}
16721672

16731673
/**
1674-
* The prescription a boolean `inlineEdit` meets (protocol 18, ADR-0049
1674+
* The prescription a boolean `inlineEdit` meets (protocol 19, ADR-0049
16751675
* enforce-or-remove; the field-group ruling of #35889, 「一律只看分组」).
16761676
*
16771677
* Since a field group of the PARENT decides whether the parent's form inlines

‎packages/spec/src/migrations/entries/semantic/19.ui-form-view-modal-size-retired.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const entry: SemanticMigration = {
1818
reason:
1919
'ADR-0049: the one form-view reader of `modalSize` was the console\'s New / Edit record dialog, which '
2020
+ 'copied it from the object\'s internal form view. Through 18.6.0 that dialog opened at the authored '
21-
+ 'size. At 19.0.0 it stopped loading a form view (the protocol-18 semantic entry '
21+
+ 'size. At 19.0.0 it stopped loading a form view (the protocol-19 semantic entry '
2222
+ '`internal-record-forms-not-loaded` records that change), and neither the form page a name or a '
2323
+ 'public link opens nor any server surface reads the key, so from 19.0.0 a stored value saves, is '
2424
+ 'served and changes nothing. The D2 conversion `form-view-modal-size-removed` makes each stored or '

0 commit comments

Comments
 (0)