Skip to content
Draft
12 changes: 12 additions & 0 deletions .changeset/38256-semantic-entries-step-19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@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 and runs their conversions

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.

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.
4 changes: 2 additions & 2 deletions content/docs/references/ai/knowledge-document.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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. |


---
Expand Down Expand Up @@ -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. |


---
Expand Down
2 changes: 1 addition & 1 deletion content/docs/references/ui/component.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
4 changes: 2 additions & 2 deletions content/docs/references/ui/view.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion packages/spec/src/ai/knowledge-document.zod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.<name>.inlineEdit: true | false / objectExtensions[].fields.<name>.inlineEdit: true | false',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*
Expand All @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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
Expand Down Expand Up @@ -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 })',
Expand Down
Loading
Loading