This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
docs(changeset,plugin-detail): date the two rotted release-note sentences and correct the born-false parity-test claim (objectui#9637) - #9734
Merged
Conversation
…nces and correct the born-false parity-test claim (objectui#9637) Three sentences that had gone false, repaired per site rather than per card (objectui#9713's distinction), and the fourth residual measured and left where it is. **ROTTED — true when written, falsified by a later merge; re-dated and the falsifier NAMED, never silently overwritten.** - `.changeset/7129-retire-detailviewsection-hideempty.md`, "an authored `hideEmpty` of either polarity is now inert, and the release notes should read that way". Written by the retirement commit (2026-09-03). Measured at that ref: the renderer carried no `hideEmpty` slot, `DetailSection` carried no `section.hideEmpty` read, and the declaration was a comment — so it was TRUE. Falsified by the restoration (objectui#8603, shipped 2026-09-16), which put `hideEmpty: s.hideEmpty ?? true` back. The adjacent scope line "the unauthored default is unchanged" rotted with it, so the dated note covers the paragraph. - `.changeset/7064-empty-section-default.md`, "No application metadata needs editing — that is the point of the change". Written 2026-09-01, when the renderer passed the authored value through untouched; an all-empty section kept its skeleton with zero authoring. Falsified by the same restoration: an all-empty AUTHORED section hides again unless the page writes `hideEmpty: false`. Both repairs keep the original text verbatim, date it, name the falsifying card and the PR that shipped it, and state what holds with the date the reading was taken. ⛔ No re-measurement is written in the undated present tense — that tense is what rotted, and these files publish verbatim at an unknown future date. **BORN FALSE — never true; corrected outright.** - `recordDetailsInputs.spec-parity.test.ts`, "Neither fact is written down as a verdict anywhere in this file". Established at the WRITE-TIME ref, which is the only place it can be: the same commit added, two lines above it, "`title` is refused by the installed spec, `showBorder` is declared by it", and added a body comment restating both. The sentence was false the moment it landed. Corrected to say what is actually true — both are prose readings, neither is a verdict this file takes, and every verdict the cases reach is derived from the installed schema per run. **Measured and left.** The fourth residual is prose in a MERGED pull request's body claiming pre-existing non-English strings in the touched files were left alone. Confirmed false: the same diff converted two pre-existing lines in `record-details.hideEmptyRetired-7129.test.tsx` from CJK to English (a lit control confirms the matcher finds the same characters elsewhere in the tree). The identical sentence is in the squash commit message on `main`, which is immutable history, so the surface is only partly reachable and editing the body alone would put the two copies out of step. Named here, not touched. Frontmatter untouched on both changesets, proven by md5 of the frontmatter block on both refs (identical), with a whole-file md5 as the lit control (differs). Empty-frontmatter changeset added: nothing published moves. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L
Contributor
✅ Console Performance Budget
The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it. 📦 Bundle Size Report
Size Limits
|
os-sales
marked this pull request as ready for review
September 17, 2026 22:36
os-elon-musk
pushed a commit
that referenced
this pull request
Sep 25, 2026
… date the pending defaultSort claims this retirement falsifies Review rework for objectui#5861. - The three doc tombstones stop naming a spec version (doc-version-claims ratchet): they state that the installed protocol refuses the key by name. - Five pending changesets that will publish in the same release describe the legacy key as honoured (objectui#4869, #6235, #8973, the #4082 grid filter-lowering entry, #5293). Each falsified sentence is put in the past tense for its own change and gains a dated note naming objectui#5861, the form PRs #9139 / #9723 / #9734 used. The retirement changeset names all five. - ObjectView's objectui#5270 comment no longer quotes the retired defaultSort readers in the present tense. Claude-Session: https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN Co-authored-by: Claude <noreply@anthropic.com>
This was referenced Sep 25, 2026
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 28, 2026
…ey, and hand the direction back (objectui#9729) (objectstack-ai#9735) Fixes objectstack-ai#9729 Clause-②: no — and the declaration is about THIS PR's diff, which is test-only and moves no published accept set.⚠️ The REMEDY the card asks about is `Clause-②: yes`, per key, and is deliberately **not** taken here: this branch measures, proposes, and hands back for the at-tier contract review. ## What this PR is The card carries two LOCAL entries of the `MirroredUndeclared` ledger — a key the published zod mirror states and the published TypeScript twin does not. Either remedy moves a face `@object-ui/types` already ships, so the dispatch forbade picking one. What was missing for the review was the per-key evidence, so that is what landed: four readings, each with a lit control on the same instrument, plus the pins that keep them honest. ## The four readings the card asked for ### 1. Who reads each key at runtime ⛔ A source grep cannot answer this in this tree — `SchemaRenderer` hands a node's leftover keys to the component as props, so a renderer can consume a key it never names. Both readings below are therefore **rendered**, and both landed as tests rather than being pasted here. - **`dueLike` is READ.** `DetailSection` spreads the authored field into the enriched bag (`enrichDetailField` opens with a spread of the view field) and hands that bag to the resolved cell renderer, where `resolveDueLike` reads it. Measured on a field named `end_date`, which deliberately does **not** match the due/deadline field-NAME convention that read falls back to, so the authored key is the only thing that can move the output: with the key the cell draws the overdue wording, without it the neutral relative wording. The control leg renders BY VALUE — it asserts the neutral wording is present, not merely that the overdue wording is absent, which would also be true of a document that drew nothing. Pinned by `DetailSection.dueLikeReachesTheCell-9729.test.tsx`. - **`operators` changes NOTHING drawn.** Measured with a byte ruler: the same `object-grid` document drawn twice and compared as markup. The ruler is pinned stable first (identical documents, identical bytes), then a LIT CONTROL on a key the renderer demonstrably does read (`label`, which moves the bytes and appears in them), and only then the measurement — taken twice, once on a plain grid and once with the filter surface on, since `operators` is a filtering word and a grid with no filter affordance would be the wrong corpus to ask. Both come back byte-identical.⚠️ The claim is bounded by the ruler: this is what the RENDERED output does with the key. Pinned by `ObjectGrid.operatorsInert-9729.test.tsx`. ### 2. What `@objectstack/spec` says on the corresponding surface Probed against the installed spec by parsing documents through it, not by grepping it — with a declared-key control and a nonsense-key control on the same schema: - **`operators` on the grid: the protocol REFUSES it by name.** `ObjectGridPropsSchema` for `object-grid` is a strict object, and a document carrying `operators` comes back RED with `unrecognized_keys` — and the refusal message itself proposes the rename to `operations`. Controls: the bare document and one carrying `operations` both parse GREEN. ⇒ the mirror admits a key the protocol rejects, and the protocol has already classified that spelling as a misspelling of a key both this block's authoring vocabulary and the twin declare. - **`dueLike` on the detail-view field: the spec has no such surface to declare it on.** `RecordDetailsProps` types its `fields` (and `sections[].fields`) as field NAMES — a string array. Every object-shaped field entry is refused there, carrying `dueLike` or not (control: a string entry parses GREEN, an object entry is RED whatever keys it carries). The whole object-shaped `DetailViewField` is objectui's own contract, so for this key there is no "toward the protocol" pull in either direction. ### 3. Who AUTHORS either key in-tree - **`dueLike` is authored** — in `content/docs/fields/date.mdx` and `content/docs/fields/datetime.mdx`, where the published docs tell an author to write it.⚠️ Read the (interface, name) carefully: those examples author it on `DateFieldMetadata` / `DateTimeFieldMetadata`, the object-field metadata faces, ⛔ not on a detail-view field entry. So narrowing the mirror would falsify no in-tree document by itself — while leaving the docs teaching a key the detail-view face would then reject. - **`operators` is authored NOWHERE** in the doc, example, app or e2e corpora on a grid node. Lit control on the same instrument and the same corpora: `operations` lights up in them. ### 4. The ledger, and its floor Both keys are already recorded, as the two LOCAL single-key entries the card describes: `objectql.zod.ts#ObjectGridSchema` names `operators`, `views.zod.ts#DetailViewFieldSchema` names `dueLike`. ⛔ The seeded entry and key totals are deliberately not repeated here: they live in exactly one place — the `MirroredUndeclared` docstring — and are re-derived from that ledger's own AST by the census at the bottom of `zod-mirror-parity.test.ts` ("the fourth direction is enumerated and sized at test time"). That ledger is a FLOOR that can only shrink, and the ratchet reddens on growth, on fresh drift and on a stale entry alike. ## ⭐ The third option the measurement produced: these are TWO decisions, not one The card allowed for a third option if the measurement showed one, and it does — the two keys are not the same defect wearing two names: | | `dueLike` on `views.zod.ts#DetailViewFieldSchema` | `operators` on `objectql.zod.ts#ObjectGridSchema` | |---|---|---| | mirror | judges the key and KEEPS it | judges the key and keeps it | | twin | `DetailViewField` has **no index signature**, so TypeScript REFUSES the key (`TS2353`) | `ObjectGridSchema` extends `BaseSchema`, whose index signature ABSORBS it as `any` — neither declared nor refused | | runtime | READ, and the read changes what is drawn | inert on the rendered path, by a ruler with a lit control | | `@objectstack/spec` | no counterpart surface — the field entry is a string there | REFUSES it by name, and names the rename to `operations` | | authored in-tree | yes, on the sibling metadata faces, taught by the published docs | no | | twin's neighbour | — | the twin already declares `operations`, the key everything else spells | ⇒ what the two faces DO differs in kind. For `dueLike` the two published faces actively CONTRADICT each other — the validator keeps the key, the compiler rejects the same document — and the runtime honours it. For `operators` they do not contradict; one is simply silent, nothing reads it, the protocol refuses it, and the key sits one letter away from the word the whole stack uses. ⭐ There is also a precedent in the tree for the `dueLike` direction, and it is worth the reviewer's attention: `DateTimeFieldMetadata.dueLike` was declared by objectui#8958, and its docblock gives the reason in the reviewer's own words — leaving it off "would keep the mismatch alive with the sign flipped — a key the renderer honours but the authoring type rejects." ⛔ Recommending is not deciding, and this PR decides nothing. Both remedies remain open on both keys. ##⚠️ The third key the card names is NOT this defect — re-derived, not inherited `complex.zod.ts#DashboardConfigSchema`'s `aria` was re-derived on this branch rather than taken from the hand-back: it is `z.never(...)` with an `error` message beginning "RETIRED (objectui#5852)" and an `.optional()`, and a document carrying the key comes back RED at path `aria` with that remedy. A LIT CONTROL on the same schema shows an unrecognised key is NOT refused, so the rejection is BY NAME and not a strictness the whole object has; a document that omits the key stays green. ⇒ its consequence is the OPPOSITE of the other two — they admit silently, it rejects loudly — and a sweep treating the three alike would ask a maintainer to repair something already doing its job. ⛔ It is untouched here, and it is pinned as the CONTRAST so the grouping cannot come back by accident. ## What landed - `packages/types/src/__tests__/mirror-only-published-keys-9729.test.ts` — the per-key consequence pins. Each key's pin is paired with an unrecognised-key control through the same schema, because a green parse proves nothing on its own: one mirror strips unknown keys, the other passes them through unexamined, so what distinguishes a MIRRORED key is that the mirror JUDGES it. The TypeScript side carries a `ts-expect-error` directive on the `DetailViewField` literal — that directive IS the assertion, and it fails in BOTH directions, since it also reddens as unused if the key ever becomes declared. - `packages/plugin-detail/src/__tests__/DetailSection.dueLikeReachesTheCell-9729.test.tsx` and `packages/plugin-grid/src/__tests__/ObjectGrid.operatorsInert-9729.test.tsx` — the two runtime readings, landed as tests beside the renderers that own the read paths rather than pasted into this body. - `packages/types/src/__tests__/zod-mirror-parity.test.ts` — two ledger docstrings corrected. The `dueLike` entry justified itself with "a `git grep` finds it in the mirror and nowhere in this package's TypeScript declarations", and that sentence is FALSE as written: `field-types.ts` declares that name on `DateFieldMetadata` and on `DateTimeFieldMetadata`, both in this package. ⭐ A NAME is not a KEY — a key is (interface, name) — and a package-wide grep for the name answers a question the ledger is not asking. The MEASUREMENT was right and stays; only its stated reason was wrong, and it is corrected rather than repeated. The `operators` entry gains the neighbouring-name reading. - `.changeset/9729-mirror-only-published-keys-measured.md` — empty frontmatter, the explicit "releases nothing" declaration. ## Gates Each exit code was captured to disk before any pipe. | gate | verdict | |---|---| | `pnpm --filter @object-ui/types type-check` | exit 0 — all three legs, including `tsconfig.test.json`, which is the leg that reads the directives above | | `pnpm --filter @object-ui/types test` | exit 0 — 204 files, 4769 tests | | `pnpm --filter @object-ui/plugin-detail --filter @object-ui/plugin-grid type-check` | exit 0, after building the dependency closure — the first attempt failed with TS2307 on every workspace import, which is a missing prerequisite and ⛔ not a reading | | the three new test files | exit 0 — 6 + 7 assertions across the three | | `node scripts/check-changeset-presence.mjs` | exit 0 — "4 source file(s) of 3 released package(s) changed … Every one of them has an EMPTY frontmatter" | | `pnpm check:control-bytes` | exit 0 — "check-control-bytes: OK"; also swept the changed files directly with a control-character grep, which found none | | `pnpm check:new-line-citations` | exit 0 — "0 new citation(s), enforcement report-only" | | `pnpm check:changeset-claims` | exit 0, report-only — 10 pending changesets name `zod-mirror-parity.test.ts`. Read, as the gate asks: every one of them describes `EXCLUSIONS`, `RuntimeOnlyDeclared`, `KnownDrift` or `UnmirroredDeclared`, and none mentions the fourth ledger or either key this branch touched. ⇒ nothing went false, so nothing is corrected | | `node scripts/check-governed-queue-guard.mjs --test` (5 paths) | exit 0 — "NOT GOVERNED — 5 path(s) checked against 5 governed surface(s); none matched"⚠️ the dispatch spelled this script under `scripts/pm/`; it lives at `scripts/check-governed-queue-guard.mjs`, and the first invocation was a MODULE_NOT_FOUND, ⛔ not a red gate | | targeted `eslint` over the changed files | exit 0.⚠️ Repo-wide `pnpm lint` is CI's run and is ⛔ not measured here | ## Reverse validation — both pins were made to fail, then restored Run from the committed state, each leg with an on-disk anchor count before and after the edit, and each restore proven by an empty `git diff HEAD` plus a blob hash identical to the HEAD blob: 1. **Delete the mirrored `dueLike` member from `views.zod.ts`** — anchor count 1 to 0, then the new pin goes RED: 2 of its 7 assertions fail. ⇒ the pin measures the mirror, not itself. 2. **Delete the `ts-expect-error` directive from the pin** — anchor count 1 to 0, then `tsc -p tsconfig.test.json` exits 2 with `TS2353: … 'dueLike' does not exist in type 'DetailViewField'`. ⇒ the refusal is real and the directive is load-bearing. Both mutations are gone; nothing from them is in this branch. ## Serial constraint — re-taken against the LIVE pull requests Re-taken at 2026-09-17T22:16Z, after the sibling appeared: objectui#9637 is now PR objectstack-ai#9734, and its file list is two changesets, one new changeset and `packages/plugin-detail/src/__tests__/recordDetailsInputs.spec-parity.test.ts` — it does **not** touch `zod-mirror-parity.test.ts`, so the warning's stop condition did not trigger. PR objectstack-ai#9732 (plugin-grid) lists `ObjectGrid.tsx`, `hooks/useBulkExecutor.ts`, one test and a changeset; the file added here is a different file. PR objectstack-ai#9540 does list `packages/types/src/objectql.ts` and `packages/types/src/zod/objectql.zod.ts` — ⛔ neither is edited here, since no accept set moves on this branch.⚠️ **Surface delta, declared:** the claim named `packages/types/src/{views,objectql}.ts` and their zod twins. None of those four is edited — the measurement outcome is that nothing on a published face should move without the review. Two test files outside the declared surface were added instead, in the packages that own the two runtime read paths, because the card's first question cannot be answered from `packages/types`, which has no renderer. --- _Generated by [Claude Code](https://claude.ai/code/session_01UanLVj6xvbS6puBCewLr8L)_ Co-authored-by: Claude <noreply@anthropic.com>
akarma-synetal
pushed a commit
to akarma-synetal/objectui
that referenced
this pull request
Sep 28, 2026
…bject-grid defaultSort (ADR-0049) (objectstack-ai#10533) Fixes objectstack-ai#5861 Clause-②: yes — this removes the last runtime reads and the declared docs of a key the installed `@objectstack/spec` 17.4.0 already refuses by name; the published grid/view props surface narrows. ## What this does ADR-0049 enforce-or-remove, remove arm, for `object-grid`'s `defaultSort` and `object-view`'s `table.defaultSort` — the "C half" of the maintainer's 2026-08-22 ruling on objectui#4869 (「接受所有」), restart condition measured by triage comment 5808485875. Every reader is removed in one change, so no path honours the key while another ignores it: | Reader | Before | After | | --- | --- | --- | | `ObjectGrid` fetch path | third arm `else if (schema.defaultSort)` lowered it to `$orderby` | chain reads `sort` only | | `ObjectGrid` header arrows | `parseSchemaSort(schemaSort ?? [schema.defaultSort])` | `parseSchemaSort(schemaSort)` | | `ObjectView` non-grid fetch | fourth branch lowered `table.defaultSort` into the sink | chain ends at `table.sort` | | `ObjectView` grid forwarding | `defaultSort: schema.table?.defaultSort` | not forwarded | | `ObjectView` delegated `renderListView` | `mergedSort` wrapped `table.defaultSort` into an array | chain ends at `table.sort` | | `plugin-grid` registration | `sort` input described `defaultSort` as its fallback | description says it is retired | ## H1 — the TypeScript declaration goes too, as a tombstone (decided and measured) `ObjectGridSchema.defaultSort` becomes `defaultSort?: never` and the zod mirror member becomes `retirementTombstone(...)`, in lockstep. Not a deletion: `ObjectGridSchema` extends `BaseSchema`, whose `[key: string]: any` absorbs an undeclared key as `any`, and the mirror's `.passthrough()` keeps it unexamined, so deleting would let the retired spelling type-check and parse green and do nothing. This is the package's existing convention (`ObjectViewSchema.viewTabBar`, objectui#7779). Measured on the rebuilt `dist`: a downstream `ObjectGridSchema` literal carrying `defaultSort` fails `tsc` in `plugin-view` with TS2322 (reverse check below). Only the `defaultSort` regions of `objectql.ts` / `objectql.zod.ts` were touched; `ObjectGridSlotKey` keeps listing the key because the member is still declared. ## H2 — no live producer (measured, with lit controls) - Installed spec 17.4.0: `ObjectGridPropsSchema.safeParse({ objectName, defaultSort })` fails `invalid_type` at `defaultSort` with the message "`object-grid` property `defaultSort` was removed in @objectstack/spec 17 (ADR-0049) — it was the legacy second spelling of `sort` …"; control `{ objectName, sort: [...] }` parses green. - No non-test source outside the edited files reads the key (`git grep defaultSort -- packages/` — the remaining hits are `plugin-detail`'s own `RelatedList` `defaultSort` prop, a different carrier fed from `schema.sort`, plus CHANGELOGs). `normalize-list-view` never mentions it. - Authored occurrences — objectui: `examples/` 0 files, `e2e/` 0, `apps/` 1 (the registry parity test's comments, not authoring), `content/` 2 (the two pages tombstoned here). objectstack `origin/main`: `examples/` 0, `apps/` 0, `packages/qa/` 0. Lit control, identical method, `searchableFields`: objectui `examples/` 4 files, `content/` 5; objectstack `examples/` 2, `packages/qa/` 1. -⚠️ One authored occurrence the earlier reads did not flag: the `ObjectGridSchema` JSON example in `content/docs/api/schema-reference.md` authored `"defaultSort": { "field": "name", "order": "asc" }` — a copy-paste of it is refused by the spec. It now authors `"sort": [{ "field": "name", "order": "asc" }]`. ## H3 — pins, red on the base and green on the head The flipped cells were rewritten, not deleted: each now asserts the key is inert on its path, beside a canonical `sort` control on the same path in the same run. Red leg: the five source files were put back to the base `59636b3a6` under the committed tests, with a trap restore (blob hashes re-checked against HEAD afterwards, `git diff HEAD` empty): **19 failed | 97 passed (116)**, 8 of 9 files red. The only all-green file is `gridRetiredStringSort-8767.test.tsx`, whose cell was only re-commented. Green leg on the head: **116 passed (116)**, 9 files. Flipped or new, each red on base: - `plugin-view` `ObjectView.canonicalTableKeys.test.tsx` — grid path: `no longer forwards a retired table.defaultSort — and does not rescue it into sort`; `puts the canonical value in the canonical slot…` (legacy slot now undefined); `keeps the named view sort in force, and a retired table.defaultSort beside it is not forwarded`. Non-grid: `a retired table.defaultSort alone orders NOTHING`. Delegated: `hands over NO sort for a retired table.defaultSort alone`. - `plugin-view` `ObjectView.sortSink.test.tsx` — `sends no $orderby at all…`, `a descending legacy default is inert too…`, and the tail of `keeps the sink STRICT…` (the sink-strictness half is unchanged). - `plugin-view` `ObjectView.filterSources.test.tsx` — the three objectui#6235 wrap cells, flipped. - `plugin-view` `ObjectView.namedViewSortArity.test.tsx` — through the REAL `ObjectGrid`: `a retired table.defaultSort sorts NOTHING on the real grid path — no $orderby, no arrow`, plus a new canonical `table.sort` control cell. - `plugin-grid` `gridArrayArmOrderby-8973.test.tsx` — the legacy-arm section, flipped (fully-specified, and `order` omitted, now send no `$orderby`). - `plugin-grid` `gridDefaultFiltersLowering.test.tsx` — `a retired defaultSort reaches neither $orderby nor $filter`. - `plugin-grid` `serverSorting.test.tsx` — new: `a retired defaultSort lights NO arrow and sends NO $orderby`, with a sortable-chrome non-vacuity check. - `types` `object-grid-default-sort-tombstone-5861.test.ts` — new: refused by name (`invalid_type` at `defaultSort`), lit control (unknown key green), remedy text, describe equals message, canonical `sort` green, upstream re-derivation from the installed pin, and the `@ts-expect-error` on the `?: never` twin (compiled by `tsconfig.test.json`; `--listFiles` includes the file). Canonical `sort` is asserted on all three `ObjectView` paths and on bare `ObjectGrid` in the same runs. ## Review rework (head `28b1a4d32`) The contract review at `f40819d61` (comment 5828759786) returned FAIL on two items and one nit. All three are addressed in `28b1a4d32`: 1. **Required `Test` was red** on `scripts/__tests__/doc-version-claims.test.ts` ("records every version literal on the scanned surfaces"). The doc tombstones had added unregistered `@objectstack/spec` version literals in `plugin-view.mdx` and `plugin-view/README.md`, plus a third in `schema-reference.md` split across a line break, which the gate cannot see. The gate's preferred remedy is applied to all three: the literal is deleted, and each page now says the installed protocol refuses the key by name. No `KNOWN_CLAIMS` entry is added. Reproduced red locally first (`Tests 1 failed | 28 passed (29)`, naming both visible sites), then green (`29 passed (29)`). No line this PR adds under `content/` or `packages/plugin-view/README.md` carries a version-shaped token. 2. **Pending changesets that would publish "keeps working" beside "no longer read".** Following the precedent of PRs objectstack-ai#9139, objectstack-ai#9723 and objectstack-ai#9734, the falsified sentence in each is put in the past tense for its own change ("at this change …"), and each now names objectui#5861: four carry a dated note, and `5293` carries an inline citation in objectstack-ai#9139's form: - `objectview-sort-sink-4869.md`: "both spellings of the pair keep working", and the `table.defaultSort` sink chain; - `6235-mergedsort-wrap.md`: the delegated-slot wrap; - `8973-grid-orderby-normalize.md`: the legacy arm "is fixed with it"; - `grid-default-filters-lowering-4082.md`: the legacy leg "needs no change"; - `5293-view-sort-order-spelling.md`: `ObjectGridSchema.defaultSort` cited as a live `order` spelling. A re-grep of the pending set finds three more `defaultSort` mentions, all still true and left alone. `7122` says the spec made the key a D2 tombstone. `8767` quotes the spec's retirement text. `6697` concerns `RelatedList`'s own `defaultSortKey`, a different carrier. The retirement changeset's "supersedes" paragraph now names all five entries. 3. **Nit.** The objectui#5270 comment block in `ObjectView.tsx` no longer quotes the retired `defaultSort` header and fetch readers in the present tense. The branch was not merged with `main`. There was no conflict and CI did not need it; the review reads `behind`, not `dirty`. ## Gates (code commit `43ab1fd43`; rework head `28b1a4d32`; full-suite runs at `f40819d61`, and `plugin-view` re-run at `28b1a4d32`) - Build closure: `turbo run build --filter='@object-ui/plugin-view^...' --concurrency=2`: 15 successful, 15 total; rebuilt `packages/types/dist/objectql.d.ts` carries `defaultSort?: never`. - `pnpm --filter @object-ui/types type-check` exit 0 (script echoed `@object-ui/types@17.6.0 type-check`); `@object-ui/plugin-grid` exit 0; `@object-ui/plugin-view` exit 0. - Reverse type check through the rebuilt `.d.ts`: injecting `defaultSort: { field: "name", order: "asc" }` into `ObjectView`'s `gridSchema` literal makes `plugin-view` `tsc --noEmit` fail with `TS2322 … Types of property 'defaultSort' are incompatible … not assignable to type 'undefined'`; restored, blob equals HEAD. (A first attempt was a no-op: `ablation-replace` refused because the replacement contained its own anchor. It changed nothing and ran nothing.) - Root-form vitest: `packages/types/` 233 files, 5166 tests passed; `packages/plugin-grid/` 156 files, 1487 tests passed; `packages/plugin-view/` 48 files, 444 tests passed (re-run at `28b1a4d32` together with `doc-version-claims`: 49 files, 473 tests passed; `plugin-view` type-check exit 0 again, closure build 15/15 cached); `apps/console/src/__tests__/registry-inputs-spec-parity.test.ts` (it reads the `plugin-grid` registration inputs) 199 tests passed. - `node scripts/check-changeset-presence.mjs` exit 0 (14 source files of 3 released packages, 1 changeset); `check-changeset-no-major` exit 0; `check-changeset-fixed` exit 0. - `check:new-line-citations`: `VERDICT new-cross-file-line-citations: 0 new citation(s)`; `check:control-bytes` OK. - Doc gates: `check-doc-links` exit 0; `check:doc-types` exit 0; `check:doc-fences` exit 0; `check:doc-example-ids` exit 0; `check-prompt-component-keys` exit 0; `check-doc-expression-carriage` exit 0 (report-only; its one `schema-reference.md` site, `action.condition`, predates this branch); `check-changeset-claims` exit 0 (report-only); `check:pending-changeset-literals` exit 0. - eslint, narrowed to the 14 changed `.ts`/`.tsx` files: 14 files in the JSON report, 0 errors. Per-file warnings are equal to the base except three test files (+1, +1, +2 `no-explicit-any` from `as any` fixtures, matching those files' existing style). `eslint.config.js` has no type-aware linting (`parserOptions.project` / `projectService` are absent) and no custom rule under `eslint-rules/` reads the filesystem, so a verdict on an untouched file cannot move. - Governed surface: `check-governed-queue-guard --test` over all 18 paths says NOT GOVERNED. ## Registries and docs - Touched: `@object-ui/types` (`ObjectGridSchema` member and its zod mirror), the `plugin-grid` registration (`sort` description and docblock), `content/docs/plugins/plugin-view.mdx`, `content/docs/api/schema-reference.md`, `packages/plugin-view/README.md`, and a changeset (`minor` on types / plugin-grid / plugin-view, never `major`). - Not touched, on purpose: the console registry parity ledger `apps/console/src/__tests__/registry-inputs-spec-parity.test.ts`. Its `object-grid.defaultSort` carve-out entry was already harvested when spec 17.3.0 tombstoned the key; it keeps only a comment. `docs/adr/**` is not needed, because no ADR lists the key. - `schema-reference.md`: the `CRUDSchema` `defaultSort` / `defaultSortOrder` sentence is untouched. Only the adjoining `ObjectGridSchema` sentence ("that key is unaffected"), which this change makes false, was rewritten. ## Acceptance notes - File surface beyond the claim, with reasons. `packages/plugin-view/README.md` described the key as a working alias, and it ships in the package's `files[]`; this change makes it false, so it is repaired here. Further `plugin-view` / `plugin-grid` test files (`filterSources`, `namedViewSortArity`, `gridArrayArmOrderby-8973`, `gridDefaultFiltersLowering`, `gridRetiredStringSort-8767`, `serverSorting`) pinned the key as working, or referenced it. They sit next to the landing points. - `ObjectGrid.tsx`'s page-size region (draft objectui#10278) is untouched. The two edits sit in the sort `if` chain and the `declaredSort` expression; the fetch effect's dependency list is unchanged. - Five pending changesets described how the retired key used to be honoured. They ship in the same release: objectui#4869, objectstack-ai#6235, objectstack-ai#8973, the objectstack-ai#4082 grid filter-lowering entry, and objectstack-ai#5293. Four now carry a dated note naming objectui#5861, and `5293` an inline citation (see Review rework above). - Line-address citations in `plugin-view.mdx` paragraphs this change touched were rewritten to cite by content (AGENTS.md objectstack-ai#11). The `data.ts:63` citation in the rewritten `gridDefaultFiltersLowering` cell was dropped. - A document that still carries `defaultSort` renders unsorted. It is not re-routed into `sort`: that would be the tolerant alias this retirement removes. --- _Generated by [Claude Code](https://claude.ai/code/session_014mXUNuFomfj24w7s1pZzhN)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9637
Clause-②: no
objectui#9627's four post-PASS residuals. Three sentences repaired, the fourth measured and left. The judgement is per SITE, not per card (objectui#9713), and each verdict below was established where that card says it has to be.
Verdicts
7129-…-hideempty.md, "an authoredhideEmptyof either polarity is now inert"1f31d3af6, 2026-09-037064-empty-section-default.md, "No application metadata needs editing"eeb6c2f2b, 2026-09-01recordDetailsInputs.spec-parity.test.ts, "Neither fact is written down as a verdict anywhere in this file"542718f451 + 2 — ROTTED, so re-dated rather than overwritten
Both sentences were TRUE when written, and overwriting them would erase that — a false record of its own. Both are kept verbatim, dated, and followed by a dated note naming the card that falsified them.
7129. At the write-time ref the key really was inert: the renderer carried nohideEmptyslot (5 occurrences, all comments),DetailSectioncarried nosection.hideEmptyread (0 code reads), and the declaration inpackages/types/src/views.tswas a RETIRED comment block. Lit control on the same instrument, same ref, same file:showBorderreturns 1. Falsified by objectui#8603's restoration, shipped by objectui#9627 on 2026-09-16, which puthideEmpty: s.hideEmpty ?? trueback.7064. At the write-time ref the renderer readhideEmpty: s.hideEmpty— a pass-through — so an all-empty section kept its skeleton with zero authoring and nothing needed editing. Falsified by the same restoration: an all-empty AUTHORED section hides again unless the page writeshideEmpty: false, so a page that wants the skeleton does have metadata to edit. Where nothing is authored (the direct-fieldsfallback body, thedetail-viewnode) the sentence still holds, and the note says so.⭐ ⛔ Neither note restates a measurement in the undated present tense. These files publish verbatim at an unknown future date, so a fresh present-tense reading would be the same defect with a newer number; every figure in both notes carries the date it was taken.
3 — BORN FALSE, so corrected outright
Established at the write-time ref, which is the only place it can be established:
542718f45added the sentence and, two lines above it in the same hunk, added "titleis refused by the installed spec,showBorderis declared by it" — plus a body comment restating both. It was false the moment it landed. It now says what is true: both are prose readings, neither is a verdict the file takes, and every verdict the cases reach is derived from the installed schema per run. The file that exists to stop rot no longer carries a self-referential falsehood.⛔ Nothing about the contract moved. Membership of
RENDERER_ONLY_SECTION_KEYSis unchanged, no assertion changed, and the 16 cases pass.4 — measured, and left where it is
Confirmed false. Across objectui#9627's whole diff for
record-details.hideEmptyRetired-7129.test.tsx, 2 removed lines carry CJK and 0 added lines do; both removed lines are present at the branch base, so both were pre-existing. Lit control: the same matcher finds those characters in 5+ other tracked files, so the zero on the added side is a real absence and not a broken instrument.⛔ Reachability, established before planning anything: the sentence exists in two places. The merged PR body is editable through the API; the squash commit message on
maincarries it byte-identically and is immutable. Editing one would leave the two out of step and would still publish nothing, and the card itself rules this the lowest-value of the four and not a published surface. ⇒ named here, not touched.Frontmatter — proven, not eyeballed
check-changeset-overwrite's documented case 2. md5 of each frontmatter block, on the merge-base and on the worktree:Lit control on the same instrument: whole-file md5 of
7064differs across the two refs (603bb93d… vs aa225d62…), so the equality above is a measurement, not a stuck hash. The gate agrees and prints "declared at base" identical to "declares now" for both files.Gates — exit code captured to disk before any pipe
scripts/pm/check-governed-queue-guard.mjs; in this repository the script is atscripts/check-governed-queue-guard.mjs. The first invocation exited 1 with MODULE_NOT_FOUND — a wrong path, not a red gate — and was re-run at the real path.Control-byte self-scan over the four changed paths returns no matches, against a lit control (the same matcher finds a tab in a file that has one).
Serial constraint — re-taken against the live pull requests
Re-taken immediately before the first write, not carried over from the dispatch. objectui#9726 and objectui#9729 have no open pull request yet; objectui#9732 touches
packages/plugin-gridonly. The three landing points here — two.changeset/*.mdand onepackages/plugin-detailtest — appear on no other lane's list. The full open set was enumerated and each candidate's file list read.Acceptance notes
titleis refused …showBorderis declared"), which is the shape commandment 完善设计器的每一个细节 #9 warns about. The card explicitly ruled both statements true at 17.4.0, derived per run and not contract-affecting, so removing them is outside this card. Successor: whoever next edits that header.packages/plugin-detaildeclaring@objectstack/specat a floor below the version its four-party pin asserts. The card explicitly excludes it and says it wants its own card. Successor:check:spec-floors, which owns it.Risk
Prose and one test comment. No behavioural line moved, no assertion changed, no frontmatter byte changed, no package bump moved. Rollback is a revert of one commit.
Authored by the
domain:spec@ objectui execution seat, sessionsession_01UanLVj6xvbS6puBCewLr8L.Generated by Claude Code