Repository navigation
test(console): make the registry/spec parity gate judge its lazily-registered blocks - #8212
Conversation
…gistered blocks The reverse direction read `ComponentRegistry.getConfig`, which is loaded-only by design, while `apps/console` registers plugin blocks with `registerLazy`. A lazy stub carries no `inputs`, so `declaredInputs` answered `null` and the block landed in neither `covered` nor `registeredWithoutInputs`: unjudged AND uncounted. Measured on `0c8dbc492`: 42 spec-carried blocks, 27 judged, 7 counted propless, 8 in neither set. Load the two plugin packages whose blocks the spec carries, and make the population assertable: the three sets must now partition `ComponentPropsMap`, a `UNJUDGED_SPEC_BLOCKS` ledger states why each unjudgeable block is unjudgeable, and `no spec-carried block is registered but unloaded` fails by name if a future block rejoins the blind spot. The 18 keys the two newly judged blocks do not publish are recorded, not fixed (objectui#7712 / objectui#8171 / objectui#8201 own them), under a shrink-only ceiling. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S
✅ 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
|
PM review — PASS, and the flagged ceiling question is cleared as option A. Held on CI only.PM seat, session ⭐ The ruling you asked for: the ceiling raise is a correction, not a loosening
⇒ The shrink-only invariant was measured over a population that was itself wrong. #8068 counted 58 "over this file's own covered set", and this card is the finding that B and C are correctly rejected. B leaves the gate blind for another cycle over a defect whose entire cost is silence, and buys no safety since the four are not new divergences. C bundles #8071's dispatched scope into a gate fix, which the dispatch fenced against — and is incoherent for the two The premise was verified at runtime before any edit — both legs
Quantified, and the arithmetic partitions: 42 spec blocks · 27 judged · 7 counted propless · 8 in neither set — unjudged and uncounted. Two of the eight ( ⭐ It did what the dispatch asked for and not merely what the card asked forThe dispatch said: make the gate's population visible and assertable, not merely wider — because a gate that silently judges an empty set is worse than none. This does exactly that:
⭐ The ablation is the strongest form available for a gate fixTwo legs differing only in which version of the gate file is on disk, against the same mutation (
⇒ The pre-fix gate is completely blind to a real regression the fixed gate catches. That is proof of value, not proof of function — and it is exactly what I asked for. It also closed a case of the very defect it was fixing
Equally good: Recorded, not fixed — correctly#8201 (graded
Held only on CI convergence. Generated by Claude Code |
…186 declared
objectui#8186 landed objectui#7712's `filter` declaration on the
plugin-kanban and plugin-calendar registrations while this branch was
open. The widened parity gate is the first thing that can see those two
keys, so it went red four ways on the merged tree:
- `carries no stale unpublished-key exemption` — the two
UNPUBLISHED_EXEMPTIONS entries were cover for an undeclared key and
stopped describing anything the moment it was declared. Deleted, and
the backlog ceiling ratchets 18 -> 16.
- `judges a non-vacuous member-shape census` plus the two per-block
`pins the member shape of every array/object input it declares`
legs — `filter` is array-armed on two newly judged blocks with no
member pin.
Answered with PINS, not with room: the MEMBER_PIN_EXEMPTION_CEILING is
untouched at 62 and the four keys it names are unchanged. The calendar's
pin is the file objectui#7711 already left behind (identity forwarding to
`$filter`, and the retired `filter.calendar` member spelling yielding no
configuration); the kanban had no equivalent, so one is written here on
the same four rows.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S
✅ 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
|
…ectstack-ai#7685) * chore(deps): resolve @objectstack/spec at 17.3.0 in the lockfile Moves the `@objectstack/spec` resolution in `pnpm-lock.yaml` from 17.2.0 to 17.3.0. Every one of the 30 manifests that declare the dependency already carried a range admitting it (`^17.0.0` / `^17.1.0` / `^17.2.0`), so the declared specifiers are untouched and no published dependency declaration changes by a byte; `check-changeset-presence` confirms the range independently ("0 of them a manifest whose published contract moved"). The bump is committed on its own because the reconciliation it forces is not mechanical: 17.3.0 reddens 14 test files / 36 assertions across six packages, and at least four of those reds are public-contract decisions rather than pin updates. The PR body carries the full measured red set. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * fix(app-shell,scripts): reconcile the declared-symbol surface with @objectstack/spec 17.3.0 (objectui#7122) Three repairs, each prescribed by the thing that failed. 1. `SchemaDiffEntryKind` gained `unreachable` in 17.3.0, so app-shell's deliberately-total `DIFF_LABEL` map stopped compiling — TS2741, the single error behind the `Build packages: failure` CI reported on this branch. The map is total on purpose so an upstream addition fails the build instead of rendering a blank cell; that mechanism worked. Labelled "Not checked — remote unreachable", following the spec's own ruling that this kind asserts NOTHING about the remote schema and must never be surfaced as "schema changed". 2. 17.3.0 began exporting `FlowNodeLike` from `@objectstack/spec/system`, so app-shell's two same-named local declarations became shadows. Measured rather than assumed: the spec's `id?` is OPTIONAL where the inspector's is REQUIRED, and assignability runs one way only, so importing the spec export would silently widen away the guarantee `locateFlowNode`'s callers rest on. Genuine dialects ⇒ renamed to `InspectorFlowNode` and `ScopeFlowNode`, with the tripwire rows the guard asks for in `page-nav-misc-spec-parity.test.ts`. 3. The `BreakpointName` / `BreakpointColumnMap` ALLOW entries were written self-expiring: they covered the interval while objectstack#11027's retirement was merged but unreleased, and their own text said to delete them on the pin bump and move the names to the absence pin. 17.3.0 published the retirement, ratchet 3 failed them as excusing nothing, so both are deleted and both names are pinned absent instead. `node scripts/check-spec-symbol-derivation.mjs` — exit 0 (was 1 with three findings): 1345 files scanned, 18 declared dialects. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * test(types,plugin-form,auth): re-point the citation-stripped pins at the prescription (objectui#7122) `@objectstack/spec` 17.3.0 stripped the `#NNNN` issue-number citations from its refusal messages while keeping the prescriptive half intact. Sixteen assertions were pinned on the stripped half and went red; each is re-pointed at what the refusal still carries, which is the half the pins' own comments name as the point — "the prescription is the half that makes the refusal actionable for an author; asserting only `success === false` would stay green if it were reduced to 'Invalid input'". - `submitRedirect.test.ts` (13): `objectstack-ai#7496` -> `ruled 2026-08-11`. The refusal still cites its governing ruling, now by date rather than by issue number; the key-name and non-genericity assertions are untouched. - `export-options-spec-parity.test.ts`: `/8010|1301/` -> the surviving format list and the `os migrate meta` command, i.e. the actionable repair itself. - `report-chart-query-spec-parity.test.ts`: `'objectstack-ai#4876, ADR-0049 D2'` -> the ADR reference, which survived, plus the `Delete the key.` prescription. Separately, the `PreviewModeConfig` doc-provenance ratchet FIRED and is retired exactly as its own docblock prescribed ("correct the README line … and then delete this guard, which has no reason to outlive the sentence it protects").⚠️ The docblock expected that at spec major 18 — objectstack#11846 registered the retirement in `RETIRED_DEFS_BY_MAJOR[18]` — and it arrived in a MINOR instead, one of four public type exports 17.3.0 removed with no major signal. The capability is untouched: `previewMode` is host-supplied and stays. Verified: `pnpm exec vitest run` over the five affected files — 5 passed, 150 tests passed, exit 0. The edited gate script's own pin suites (`check-spec-symbol-derivation.test.ts`, `check-doc-component-types.test.ts`) — 2 passed, 108 tests, exit 0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * chore(changeset): declare the app-shell/auth reconciliation the 17.3.0 bump forced (objectui#7122) The branch previously declared 'no release' with empty frontmatter, which was true while its only diff was the lockfile. It no longer is: `@object-ui/app-shell` needed a source fix to compile against 17.3.0 at all, and `@object-ui/auth`'s README carried a provenance claim 17.3.0 falsified. Both are declared as patches; the lockfile-only changeset keeps its own empty-frontmatter declaration. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * fix(core): re-derive the spec action-key inventory for 17.3.0's `operation` / `patch` (objectui#7122) `SPEC_ACTION_KEYS` declares itself as "every property `@objectstack/spec`'s `ActionSchema` declares", and `actionKeys.pin.test.ts` walks the schema and fails the day that drifts. 17.3.0 added `operation` and `patch` — the declarative single-record field write mirroring a list view's `bulkActionDefs` — so the inventory was stating something false. Restating the spec, NOT adopting a feature, exactly as the `description` entry above it records for the same situation: `ActionDef` still does not declare either key, no runner branch reads them, and no action surface forwards them. That omission is deliberate under the maintainer's 2026-09-05 ruling on this bump — record them as justified omissions now, forward only a key a runtime actually reads once its semantics are read from upstream, no speculative forwarding.⚠️ Deliberately checked rather than assumed: the inventory feeds `KNOWN_ACTION_KEYS`, which `classifyActionKeys` consults — and that function only builds `unknown` / `retired` lists for a dev-mode console warning. It rejects nothing and drops nothing, so widening it does not move what any published `@object-ui/*` package accepts or refuses. Clause-② stays `no`. Verified: `pnpm exec vitest run packages/core/src/actions/` — 24 files, 427 tests, exit 0. `node scripts/check-action-forward-parity.mjs` — exit 0, still 19 justified omissions / 7 known gaps, so no new gap was opened. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * docs(auth): state the preview-mode provenance without a version literal (objectui#7122) `scripts/__tests__/doc-version-claims.test.ts` is a ratchet over version literals on doc surfaces, and my first correction of this sentence introduced one. Its prescription is explicit — prefer DELETING the literal and pointing at the truth instead, because that is the only spelling that cannot go stale (objectui#3645 froze a spec range across 36 READMEs for thirteen majors exactly this way). The sentence now names the upstream retirement and the fact that the resolved spec no longer exports the symbol, with no version to go stale. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * chore(deps): resolve the @objectstack/* family at 17.3.0 so the spec dedupes `@objectstack/client`, `core`, `formula` and `lint` at 17.2.0 each pin `@objectstack/spec` EXACTLY at 17.2.0. Resolving the spec alone to 17.3.0 therefore stopped satisfying them, and the console shipped TWO copies of the spec: `vendor-objectstack` went 926.1 -> 1877.6 KB gzip and the eager closure went 3186.1 -> 4137.7 KB against a 3191.4 KB budget, with no chunk entering or leaving the closure. Moving the family in the lockfile collapses the duplicate. Every declared range already admitted 17.3.0 (`^17.0.0` on all four), so no manifest's published contract moves by a byte -- `check-changeset-presence` independently reports "0 of them a manifest whose published contract moved". The lockfile was resolved by raising the four ranges temporarily, resolving, then restoring the manifests and re-installing, so `pnpm update`'s two side effects are absent: no declared range moved, and `zod` stays at 4.4.3 rather than splitting the `@objectstack/*` peer context into two variants (which would have re-introduced the very duplication this commit removes). Measured after: eager closure 3466.1 KB, `vendor-objectstack` 1206.1 KB. The duplicate IS gone -- markers unique to the 17.2.0 artifact fall from 92.3% to 9.2% presence in the chunk, and `defaultValue` occurrences fall 413 -> 258 against a 203 baseline. What remains is real growth, not duplication: the spec's own browser dist is +292.2 KB gzip at 17.3.0. `check:eager-closure` therefore stays RED by 274.7 KB, which no repair inside this repo can answer. The family bump forces exactly one source reconciliation, and no new test reds. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * test(types): re-point the select-option pins at 17.3.0's authoring boundary `@objectstack/spec` 17.3.0 implements the maintainer's 2026-08-25 ruling on objectui#6140 / objectui#6153 (Option A): `SelectOptionSchema.description` and a type-gated `rows` become declared, authorable keys. Two pin files still asserted the 17.2.0 truth -- that the spec REFUSES both -- so they were measurably false, and one of them was the only remaining `Type Check` blocker (TS2344 at lines 101 and 124). Re-pointing them executes the ruling; it makes no new one. Measured against the installed 17.3.0 rather than read from a changelog: `SelectOptionSchema` declares six keys (`color`, `default`, `description`, `label`, `value`, `visibleWhen`); `rows` is accepted on `textarea`, `markdown`, `html` and `richtext` and refused on `text` / `select` as a `custom` refinement rather than `unrecognized_keys`; `icon` and `disabled` are still refused by name, at `options.0` when routed through `FieldSchema`. The boundary moved, it did not disappear, so every re-point keeps a refusal opposite it: - `description` and `rows` are asserted ADMITTED **and** value-enforced (a wrongly-typed `description` is `invalid_type` at its key; `rows: 0` is `too_small`, `rows: '4'` is `invalid_type`). A merely-tolerated key passes the first assertion and fails the second, which is what makes the pair a reading. - `icon` / `disabled` carry the refusal half, so a schema that had gone permissive cannot pass either file. - The four inert rich-text keys (`toolbar` / `preview` / `minHeight` / `maxHeight`) are newly pinned as still-refused on all four multiline types. The ruling's expansion stops at `rows` (objectui#7635 records this: do not widen), and that door has to be seen to stay shut. - `rows`'s type gating is pinned in both directions, because "declared" is not "declared everywhere". In the convergence file the type-level halves moved for a reason worth stating: `SelectOptionBase` derives the spec's keys BY REFERENCE, so `description` arrived on BOTH faces with no edit to the type at all. The form face's pre-convergence equality therefore became a SET DIFFERENCE -- the same idiom the object-metadata face has used for `default` since the convergence -- and the "the two faces differ on exactly `value`" assertion now says so directly instead of excusing `description` from the comparison. NOT done here, deliberately: the prose in `packages/types/src/field-types.ts` and `select-option.ts` still describes the 17.2.0 boundary and is now false in the other direction. Those comment sites are objectui#7635's declared surface. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * chore(deps): collapse the postcss duplicate the first lockfile bump introduced `@object-ui/cli` failed `type-check` with `TS2321: Excessive stack depth comparing types 'Plugin & ExportedAPI' and 'Plugin'` in `src/utils/workspace-vite.ts`, a file this branch never touched. Cause, measured rather than inferred: the CLI's type-check program held TWO postcss copies. `@tailwindcss/postcss@4.3.3` depended on `postcss@8.5.26` while `autoprefixer@10.5.4` resolved its auto-installed peer to `postcss@8.5.28`, so `Plugin` on one side and `Plugin & ExportedAPI` on the other were structurally distinct types and the comparison exceeded the instantiation budget. `origin/main` has a single `autoprefixer@10.5.4(postcss@8.5.26)` and no 8.5.28 at all, which is why it is green. The duplicate is NOT from this round's family bump: `postcss@8.5.28` is present at `36baa6d57`, and the family-bump commit's lockfile diff touches neither postcss nor autoprefixer. It arrived with `aabc527cb`, the branch's first lockfile bump, whose own diff shows `postcss@8.5.26 -> 8.5.28` alongside the spec move. It stayed invisible because `turbo run type-check` aborts at its first failing task, and `@object-ui/types` failed before `@object-ui/cli` ever ran -- so "the 2 TS2344 are the ONLY Type Check blocker" was never a reading the old measurement could support. Collapsed in the lockfile only, by the same route as the `@objectstack/*` family: all eight manifests that declare postcss already declare `^8.5.26`, which admits 8.5.28, so the ranges were raised temporarily, resolved, then restored and re-installed. No declared range moved; `postcss@8.5.26` leaves the graph entirely and `@tailwindcss/postcss` now shares the single 8.5.28. `postcss@8.5.23` is a separate consumer, present on main too, and is untouched. After: `@object-ui/cli` `tsc --noEmit` exits 0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * wip(spec-17.3.0): parity reconciliation in progress — INCOMPLETE AND UNREVIEWED Rescue commit made by the PM seat after the dispatched dev was terminated mid-task by an account session limit (HTTP 429 on claude-opus-5, resets 2026-09-05T18:00Z). Committed so the work survives container reclaim; it is NOT a claim that any of it is correct, complete, or gated. Observed state at rescue time, and nothing beyond it: 18 modified files and 2 untracked changesets, 550 insertions / 115 deletions against the branch tip 339885d. No gate was run against this content by this seat. Not present in the diff: any change to an eager-closure ceiling or performance budget. The maintainer-authorised ceiling raise had not been made when the agent stopped. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * wip(spec-17.3.0): two files in progress — INCOMPLETE AND UNREVIEWED Rescue commit made by the PM seat after the container running the dispatched agent was restarted mid-task. Committed so the work survives; it is NOT a claim that it is correct or finished. Observed state at rescue time, and nothing beyond it: M packages/plugin-designer/src/MetadataFieldsPage.tsx M packages/types/src/__tests__/export-options-spec-parity.test.ts 56 insertions / 49 deletions. No gate was run against this content. Not present: any change to an eager-closure ceiling or performance budget. The maintainer-authorised ceiling raise had still not been made. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * fix(spec-17.3.0): carry the ninth platform capability, and pin refusals on their ruling not its issue number Two families of red from the `@objectstack/spec` 17.3.0 bump, both of which executed an existing ruling rather than making a new one. `manage_org_presentation` (3 assertions, `packages/fields`). 17.3.0 declares a ninth platform capability; `CURATED_CAPABILITY_LABELS` carried eight, so the spec-parity pin failed in the "spec added a member" direction it was built for (objectui#6285 already ruled the curated set IS the spec's set, both ways). The label is the spec artifact's own (`Manage Organization Presentation`), not an invented one. Authored in all ten locale packs and in `useFieldTranslation.ts`, which the widget's own docblock requires of any edit to that list; the nine non-English strings are composed from each pack's established sibling vocabulary (`manage_org_users`, `manage_platform_settings`) rather than machine-translated, and a native review pass is welcome on them. The `objectstack-ai#7496` token (14 assertions, 3 files). Every one was `expected '<message>' to contain 'objectstack-ai#7496'`, while the sibling assertions on `RELATIVE path only` stayed green: 17.3.0 kept all five refusals and their reasoning and only restated provenance as `(ruled 2026-08-11)`. The pins asserted the citation FORM, not the citation — the objectui#7702 defect shape. Re-pinned on the durable property via a documented `CITES_ITS_RULING`, which still discriminates the spec's prose from a local hand-written sentence (the load-bearing mutation probe in `ObjectForm.submitRedirect.test.tsx`'s header). Not re-pinned to the new prose verbatim, which would only move the brittleness. Part of objectstack-ai#7122 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * fix(spec-17.3.0): harvest three exemptions the contract outgrew, and re-derive two negative pins The rest of the 17.3.0 red set outside the `objectstack-ai#7496` and capability families. Every verdict below is read off the installed artifact, not off an assertion name or a changelog. `registry-inputs-spec-parity` (5 assertions). Four of the five were ONE fact wearing four assertion names, two of which appear to point in opposite directions ("a published key must lose its entry" vs "spec no longer declares object-grid.defaultSort"). Neither reading is right: 17.3.0 made `object-grid.defaultSort` an ADR-0087 D2 TOMBSTONE — member is `z.never().optional()`, description opens `[REMOVED]`, `safeParse` answers `invalid_type` `expected: 'never'` at that path. It therefore left the authorable set while staying listed, which is precisely how the eight tombstones before it were harvested. Its exemption, its GA-pending entry and its carve-out row are deleted, and the block's prose parenthetical claiming a tombstone "would NOT make them stale here" is corrected — its own cited counter-example, the record_picker trio, was harvested exactly that way. The fifth emptied `OFF_SPEC_ARM_EXEMPTIONS` entirely: both arms converged upstream in the direction their own reasons named. `element:number.filter` now accepts `[]` and judges content at `filter.0` (objectui#6206's first option); `object-grid.data` now answers `invalid_union` at `data.provider`, the discriminated `ViewDataSchema` shape `ObjectGridSchema.data` already resolved to (objectui#6207's "convergence is upstream"). Neither declaration was edited — the contract moved to them. objectstack-ai#6206 and objectstack-ai#6207 are closable as resolved-upstream. Two negative pins whose premise evaporated, both re-derived rather than inverted: - `masterDetailFormTypeManifest` pinned that the manifest enum does NOT make a value unpublishable. 17.3.0 closed that gap deliberately: `invalid_value` naming the honoured pair, plus a bespoke prescription for the near-miss `wizard` citing ADR-0001 and the renderer measurement. The pin now records that both authorities agree, checks each independently, keeps a positive control on `simple`/`tabbed`, and pins the refusal's SHAPE so "the enum closed" cannot be confused with a dropped key or a cross-field rule. - `LocationField.optionalKeys` pinned that the location value schema is non-strict. 17.3.0 closed the shape (`unrecognized_keys` naming the retired `latitude`/`longitude` pair). The test carried a note for this exact event — "the guard could then be delegated to it" — and the re-derived answer is NO: the fence guards the object handed to `onChange` and no parse stands on that path, so strictness changed the CONSEQUENCE of a spread regression, not the widget's exposure. The key-level assertions stay; the strictness is pinned. Part of objectstack-ai#7122 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * docs(changeset): describe the 17.3.0 capability carry and the pin re-pointing Two changesets for the work in dc82492 and e328e36: a released one for the `manage_org_presentation` label (`@object-ui/fields`, `@object-ui/i18n`), and an empty-frontmatter one for the test-only pin re-pointing and exemption harvest, which releases no package. Part of objectstack-ai#7122 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * chore(budget): raise the eager-closure ceiling once, on maintainer authorisation, to 17.3.0's measured cost Raising a gate ceiling is a gate weakening and sits on the manual floor, so it is a human's decision, not an agent's. The authorisation, verbatim: 维护者 sam@objectstack.ai 于本轮明确授权:「抬上限,把 7685 弄绿」 recorded on objectui#7122 as decision batch 1 item 1 = "B + A" — a one-time, cause-recorded adjustment of exactly the measured delta, with the upstream card filed alongside. ⛔ NOT routine growth, and the body must not read as if it were. The residue is `@objectstack/spec` 17.3.0's own browser-dist growth: +292.2 KB gzip on the spec package, whose measured mechanism is that 17.3.0 lengthened the Zod `.describe()` doc strings shipped in the browser build — authoring documentation prose, delivered on every page load. ⛔ NOT duplication either. That was the larger, separate problem and this branch already fixed it by moving the `@objectstack/*` family together in the lockfile: −671 KB, with markers unique to 17.2.0 falling from 92.3% to 1.0% of 104 and the single survivor accounted for. No chunk entered or left the closure. ⭐ The honest long-term fix is upstream and this ceiling is its marker, not its answer: a `describe()`-stripped browser build returns ~292 KB to EVERY consumer of the spec. Filed as objectstack#16063 and recorded in the gate as the restore condition. Four constants, two ceiling/baseline pairs, measured by `pnpm build` (exit 0, 43/43 — 43/43 CACHED on the re-read, which observes rather than argues the "nothing here reaches the bundler" invariant) reading apps/console/dist/eager-closure.json on 34a1578: MAX_EAGER_CLOSURE_GZIP_BYTES 3_268_000 -> 3_597_000 BASELINE 3_222_314 -> 3_551_191 (48/517 -> 50/518) PER_CHUNK_GZIP_CEILINGS.vendor-objectstack 967_000 -> 1_254_000 PER_CHUNK_BASELINE.vendor-objectstack 948_461 -> 1_235_029 Headroom is 45,809 (0.50x) and 18,971 (0.21x) of the 91,136-byte regression the gate exists to catch — the proportions the retiring pairs carried (0.50x, 0.20x) — so the gate still reds on a repeat of objectui#5266. `check:eager-closure` exits 0 with sensitivity ✅ on all five ceilings. The three per-chunk lines that still pass (i18n-locales, framework, ui-components) were NOT touched. The unit test moves with the constants because it deliberately retypes `BASELINE.gzipBytes` rendered (3146.8 -> 3468.0) rather than deriving it, and the baseline prose pins are re-pointed at the new commit. Part of objectstack-ai#7122 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * fix(app-shell,plugin-designer): declare the lookup guard's stricter-than-spec refusal, and make its message accurate (objectui#7122) The guard's predicate is `typeof reference === 'string' && reference.trim() !== ''`, which is STRICTER than the contract. Measured on the installed 17.3.0, at field level and again through the whole document: FieldSchema.safeParse({ type: 'lookup', label: 'L', reference: ' ' }) => success = true ObjectSchema.safeParse({ …, fields: { rel: { …, reference: ' ' } } }) => success = true — the spec ACCEPTS a whitespace-only target and both writers refuse it. objectui being stricter than the platform is a divergence, not a neutral choice, so it is now STATED: in both docblocks, in the changeset, in the refusal message the author actually reads, and pinned in both writers' tests so it cannot go silent again. ⭐ The `.trim()` is KEPT. A whitespace-only `reference` names no object, so admitting it buys the author nothing and only moves the identical failure past the guard, past the PUT and into a stored document, where it surfaces with no field named. This guard exists precisely to stop a target-less lookup being saved, and a blank target is a target-less lookup that happens to parse. ⛔ No accept/refuse behaviour changed: the predicate is byte-identical.⚠️ The spec accepting `' '` while refusing `''` reads as an upstream gap rather than deliberate latitude — its own refusal prose says "non-empty … naming the target object", and `ObjectSchema.fields`' key grammar (/^[a-z_][a-z0-9_]*$/) admits no whitespace-bearing name for it to resolve to. Filed as objectstack#16126; the new pins are designed to go red when it lands, which is the signal to retire the declaration, not to weaken the guard. The message is also corrected. It said the field "has none" for every refused value, which is wrong for two of the four states: a non-string `reference` is refused as `invalid_type` at that path, not as a missing target (so "supply a target" is the wrong repair to prescribe for `reference: 42`), and a whitespace-only one is not refused by the spec at all, so the 422 the message promised could not be delivered for it. Each of the four states now gets its own accurate diagnosis and consequence, via a `describeUnusableTarget` split out in both writers. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * test(plugin-form,console): tighten CITES_ITS_RULING, and make the fourth pin use it (objectui#7122) Two pin-quality defects the contract review found in this branch's own re-point, both of the shape this card has been fixing all round. **The loose alternative discriminated nothing.** The regex was first written `/\(ruled \d{4}-\d{2}-\d{2}\)|#\d{3,}/`, two alternatives meant to admit either spelling upstream uses. But `#\d{3,}` matches any sentence citing `objectui#NNNN`, and this repo's own hand-written messages routinely do — so a locally authored sentence satisfied it, and telling those two apart is the assertion's entire job. Only the `(ruled …)` half was ever load-bearing. It was also unnecessary, which is the measurement that settled it. Both spellings, read off the installed artifacts rather than recalled: 17.2.0 "… and this is an absolute URL (ruled 2026-08-11 on objectstack-ai#7496)." 17.3.0 "… and this is an absolute URL (ruled 2026-08-11)." The issue number never appears OUTSIDE that parenthesis, so `(ruled ` + a date already matched both releases on its own. It is now `/\(ruled \d{4}-\d{2}-\d{2}(?: on #\d{3,})?\)/`: the optional tail keeps the 17.2.0 spelling admissible — the two-form latitude the alternative was added for — without admitting a bare local `objectstack-ai#7122`. Verified against both measured messages and against four local-prose counter-examples. **The fourth file was the odd one out.** `packages/plugin-form/src/submitRedirect.test.ts` had been re-pointed to the literal `'ruled 2026-08-11'` while its three siblings used the shape — the same brittleness one word along, a date instead of an issue number, and four files disagreeing about what the pinned property even is. It now carries `CITES_ITS_RULING` too, with the reasoning. Test-only; no runtime byte moves. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * docs(changeset): grade objectui's own breaking behaviour `minor`, with the semantics (objectui#7122) `AGENTS.md:239` grades objectui's own breaking changes `minor` — never `major`, because any `major` in the fixed group pushes all 39 packages off `@objectstack`'s major — with the breaking semantics written into the changeset body. Three package entries were graded `patch` and should not have been. - `@object-ui/app-shell` + `@object-ui/plugin-designer` → `minor`. A `lookup`/`master_detail` field with a missing or empty `reference` is now refused before any PUT; a caller that previously got a request issued (and accepted by a 17.2.0 backend) now gets a rejection and no request at all. The changeset also declares the whitespace-only divergence and the message correction (objectstack#16126). - `@object-ui/types` → `minor`. The exported `ObjectSchemaClientExtensions` narrows from `interface { editMode?: 'modal' | 'page' }` to `type … = Record<never, never>`. Two breaking consequences, both named: it no longer declares `editMode` (the spec's `ServiceObject` now carries it, so `ObjectSchemaMetadata` still has it but code written against the extension type alone does not), and `interface` → alias ends declaration merging, so a consumer that reopened the interface to add its own member no longer compiles. The pin-repointing changeset additionally records the `CITES_ITS_RULING` tightening and the fourth file (test-only, empty frontmatter, releases nothing). Gates: check-changeset-presence 0, -fixed 0, -no-major 0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * ci(live-e2e): move the backend pins to 17.3.0 with the matching showcase ref This branch's lockfile resolves `@objectstack/spec` to 17.3.0, but `e2e/live/ci/backend.env` still pinned `OBJECTSTACK_VERSION=17.2.0`. The pin test imported from main (`scripts/__tests__/ci-cd-pipeline-doc.test.ts`) reads both numbers and requires them equal, so the lockfile bump — this PR's whole purpose — is what trips it. Fix it in the direction the change came from, as that test's own message instructs. Both lines move together. `OBJECTSTACK_REF` is not machine-checked, by design: resolving the release tag needs the objectstack repository, which the unit lane cannot reach. Bumping only the version would turn the gate green while pointing the live-e2e lane at showcase metadata from the wrong tree. The ref is the commit `@objectstack/cli@17.3.0` points at. That tag is annotated, so it must be dereferenced: `refs/tags/@objectstack/cli@17.3.0` is tag object 1177d3ee591f72e3b8c828fbec46f4e113ff5c4a, which peels (`^{}`) to commit 8a1bad8b8ee7189a54229368400b5b427e3ad5e2. The tag-object sha is not the commit sha, and `start-backend.sh` does `git fetch --depth 1 origin "$OBJECTSTACK_REF"`, so the un-peeled sha would have been silently wrong. No declared dependency range and no published package's accept/refuse behaviour is touched: `e2e/` is not a workspace package and ships in nothing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * docs(plugin-list): give the view-type map its tenth member, `page` The map in `packages/plugin-list/README.md` is keyed by `NonNullable<ListViewSchema['viewType']>`, so it is total by construction and a member added to the union fails the block. The map arrived on main (objectui#8110) written against @objectstack/spec 17.2.0's nine members; this branch pins the spec at 17.3.0, which declares a tenth, `page`. The two are only in the same tree as of this merge, which is why the branch's own Doc Snippet Type Check ran green and the failure appears here: packages/plugin-list/README.md:200:7 TS2741: Property 'page' is missing in type '{ grid: …; tree: string; }' but required in type 'Record<NonNullable<"map" | … | "page" | …>, string>'. The gloss is read off the installed 17.3.0 artifact, not guessed: `node_modules/@objectstack/spec/src/ui/view.zod.ts:1655` declares the member as "Mount an already-published page", and the two refusals that police it — VIEW_PAGE_MOUNT_NEEDS_PAGE_NAME (:1492) and VIEW_PAGE_MOUNT_HAS_COLUMNS (:1502) — both say the view has no rows and no column list of its own. Phrased like its nine siblings: one terse rendering of what the reader sees, naming no driving field. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * chore(changeset): drop the lookup-guard declaration — this branch no longer authors it Part of objectstack-ai#7122. `.changeset/7122-lookup-target-required-before-save.md` graded `@object-ui/app-shell` and `@object-ui/plugin-designer` as `minor` *because of* the lookup / master_detail target guard, with the breaking semantics and the declared whitespace divergence written into its body. Every one of those claims now belongs to objectstack-ai#8076's `.changeset/7714-lookup-draft-stays-client-side.md`, which arrived on `main` with the guard itself. Determined mechanically against `bdb4dbd58`, not by reading the body: git diff --name-only bdb4dbd -- packages/plugin-designer => empty git diff --name-only bdb4dbd -- packages/app-shell => 15 files - `@object-ui/plugin-designer`: this branch changes nothing in it any more, so the entry declared a release for no change at all. - `@object-ui/app-shell`: still changed, but only by the spec-17.3.0 parity work — the ValidationPanel `unreachable` label, the flow-inspector renames, the palette-exclusion ledger, and three pin re-points. That surface already carries its own accurate declaration at the grade it warrants, `.changeset/7122-spec-17-3-0-reconciliation.md` (`patch`), which names those changes specifically. So app-shell IS regraded here, from `minor` to `patch`: the `minor` claim is withdrawn and the pre-existing `patch` entry stands. Rewriting this file's body instead of deleting it would have duplicated that declaration; nothing in it survives the guard's departure. Arbiter, exit code captured before any pipe: node scripts/check-changeset-presence.mjs => exit 0 "48 source file(s) of 12 released package(s) changed, and this change declares 8 changeset(s)" node scripts/check-changeset-no-major.mjs => exit 0 node scripts/check-changeset-fixed.mjs => exit 0 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * test(console): ledger the three blocks @objectstack/spec 17.3.0 adds with an empty shape Part of objectstack-ai#7122. The `main` merge brought objectstack-ai#8212's census gate onto the 17.3.0 pin for the first time, and it did exactly what it exists to do: it named three `ComponentPropsMap` entries this gate neither judges nor accounts for. accounts for every spec-carried block … + ["cloud-connection:panel", "marketplace:installed-list", "mcp:connect-agent"] states the size of the population it judges - specCarried: 42 + specCarried: 45 One fact, two assertions. All three are new in `@objectstack/spec` 17.3.0 and MEASURED on the installed artifact, not inferred: each resolves to an object schema with ZERO top-level keys, so neither direction of this gate has a question to ask about them. That is the ledger's `EMPTY SPEC SHAPE` class, and the entries are asserted against `specTopLevelKeys(type) === []` — self-clearing the day upstream gives one of them an authoring surface.⚠️ EMPTY SPEC SHAPE is recorded rather than NOT REGISTERED even though both ledger arms happen to pass here, and the difference is truth, not convenience: `@object-ui/app-shell` DOES register all three propless (`CloudConnectionPanel.tsx`, `InstalledListWidget.tsx`, `ConnectAgentWidget.tsx`), and this file does not import app-shell — so the NOT-REGISTERED arm would be satisfied by an import-graph accident while stating something false about the repo. `app:launcher` and `global:notifications` are ledgered on exactly this reasoning already. ⛔ Not a gate weakening, and the distinction is checkable rather than asserted: no threshold moved, no exemption widened what the gate tolerates, and `judged` and `registeredPropless` are unchanged at 29 and 7 — the pin ADDED three blocks rather than moving any across the partition. Also de-counts one sentence in the ledger's docblock. "the recorded reason even for the two the app shell does register" was a LIVE figure that this change makes five and nothing pins; it now names no count and says why. pnpm exec vitest run apps/console/src/__tests__/registry-inputs-spec-parity.test.ts Tests 198 passed (198) (was 2 failed | 196 passed) Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E * fix(types): raise the declared @objectstack/spec floor to ^17.3.0 Part of objectstack-ai#7122. Closes the `[floor-too-low]` finding on objectui#7688 for `@object-ui/types`. `packages/types/dist/spec-report.d.ts` names `FilterCondition` from `@objectstack/spec`, which `17.0.0` does not export, so `^17.0.0` was a claim the artifact does not support. `scripts/check-spec-range-floors.mjs` names `^17.3.0` as the lowest published version carrying every symbol the package references, and raising the range is the remedy the gate itself prescribes — ⛔ never a tolerant re-declaration on this side (objectui#5793).⚠️ THIS IS BUMP-CAUSED, NOT PRE-EXISTING, and objectui#7688 records the opposite. Measured on both sides today rather than reasoned about: main (spec 17.2.0) `Spec Range Floors` — the last EIGHT scheduled runs are all `success`, most recently at `c2e3cee2c` 04:27Z. CI builds the workspace, so none is the `no-artifact` shape that card's own caveat warns about. this tree `pnpm check:spec-floors -- --cross-check` (the workflow's (spec 17.3.0) own invocation, after `pnpm build` 43/43) exits 1 with exactly this finding; 278 (subpath, symbol) pairs across 19 published packages judged, 49 entry points cross- checked. With this raise it exits 0 on the same tree. That card's justification — `runtimeFilter?: FilterCondition` is byte-identical in the 17.2.0 and 17.3.0 artifacts — is a claim about the SPEC's artifact. The gate reads what `tsc` emits for THIS repo while resolving against the installed spec, which is a different thing. ⛔ The mechanism behind the divergence is NOT measured here and is deliberately not guessed at; only the outcome is. Why it could not wait for objectui#7688: the PR-facing copy of this gate is push-only and by its own header "cannot make anyone's pull request red", but the blocking copy runs on the PUBLISH path. Left alone, the first symptom would have been a cancelled release rather than a red check. Graded on `@object-ui/types`'s existing `minor` entry, which already carries a breaking-surface declaration; the raise is written into its body. Breaking for a consumer pinned below 17.3.0, which can no longer resolve the package. Precedent for a floor above the family minimum: `@object-ui/core` and `@object-ui/data-objectstack` declare `^17.2.0`, `@object-ui/plugin-detail` `^17.1.0`. ⛔ Raising a published range was previously ruled out for this branch (objectstack-ai#7685 §8, "Not raised here, as instructed") on the premise that the finding was old debt. The measurement above retires that premise, and the maintainer authorised the raise on this branch after seeing it. The lockfile moves by exactly one line — the recorded specifier. The RESOLUTION is unchanged at `17.3.0(ai@7.0.65(zod@4.4.3))`, so no dependency moves and `ci-cd-pipeline-doc.test.ts`'s backend.env/lockfile equality still holds. Gates on this tree: `check:spec-floors -- --cross-check` 0 (was 1), `check-changeset-presence` / `-no-major` / `-fixed` 0, `check:phantom-deps` 0, `check:control-bytes` 0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114Ytxr5sM1vdW19Y9WAx6E --------- Co-authored-by: os-sam <sam@objectstack.ai> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Fixes #8176
mainthat moved under itThe original commit was authored against base
fb1a60663. While it sat, objectui#8186 landed objectui#7712's declaration (0ead1f62a):filteris now a declared{ type: 'array' }input on the fourplugin-kanbanand twoplugin-calendarregistrations.origin/mainis merged in (merge commit, never a rebase — AGENTS.md §9), and this widened gate is the first thing in the repo that can see those two keys, so it went red four ways on the merged tree.Measured here, on the merged tree, before anything was changed —
Tests 4 failed | 194 passed (198):carries no stale unpublished-key exemption — a published key must lose its entryexpected [ 'object-kanban.filter', 'object-calendar.filter' ] to deeply equal []judges a non-vacuous member-shape census — every covered block, every array/object inputexpected [ 'object-calendar.filter', 'object-kanban.filter' ] to deeply equal []object-calendar pins the member shape of every array/object input it declaresexpected [ 'object-calendar.filter' ] to deeply equal []object-kanban pins the member shape of every array/object input it declaresexpected [ 'object-kanban.filter' ] to deeply equal []Both halves of the ledger fired, and that is the finding worth recording: the stale-exemption direction and the member-pin direction each caught the same landing from their own side. Nothing was silent.
What that red is, and what it is answered with
object-kanban.filter/object-calendar.filtermoved from "undeclared, with an exemption naming objectui#7712 as its cover" to "declared, array-armed, with no member pin". Two different obligations came due at once and both are discharged:1. The two
UNPUBLISHED_EXEMPTIONSentries are deleted. This file's own rule — "a key the renderer honours gets DECLARED at its registration site, and the entry goes stale in the same change" — and the first time it has been observed round-tripping on a real landing rather than only asserted. Theobjectui#8176 backlog has a ceilingassertion ratchets with them: 18 to 16, in both directions (it is atoBe, deliberately, so a landing card cannot bank the headroom its own fix frees).2. Both keys get a REAL MEMBER PIN — route (a), not more ceiling. The alternative was to raise
MEMBER_PIN_EXEMPTION_CEILINGagain and extend the exemption set, and it is refused on this PR's own terms: the assertionthe ceiling correction admits exactly the four keys objectui#8176 made visibleexists precisely so a fifth and sixth cannot ride in on that headroom, andfilteris a key declared after objectui#8068's census rather than one it could not see. SoMEMBER_PIN_EXEMPTION_CEILINGis unchanged at 62 andNEWLY_JUDGED_UNPINNED_MEMBERSis unchanged at four. The population grew by two and both were answered with pins:object-calendar.filterpackages/plugin-calendar/src/__tests__/ObjectCalendar.filterIsNotAConfigSlot-7711.test.tsx(already on disk)dataSource.findas$filterby identity (toBe), and that the retiredfilter.calendarmember spelling yields NO configuration. That is a constraint on what is read INSIDE the members.object-kanban.filterpackages/plugin-kanban/src/__tests__/ObjectKanban.filterMembersReachTheWire-8176.test.tsx(new)columns(this block's own configuration key) stays a filter; both member forms pass through identically; and a control — an unauthoredfilterarrives asundefined, not as a fabricated default.Why "pass-through" is a member claim rather than the absence of one
Measured, not assumed:
ComponentPropsMap['object-kanban'].filterand['object-calendar'].filterare bothz.unknown().optional(). The contract constrains the value not at all, so it cannot be what a member pin compares against. What constrains the members is the wire —ObjectKanban.tsx:363andObjectCalendar.tsxhand the authored value to the query as$filter, verbatim. The member contract offilteris therefore ObjectQL's$filterelement contract, and each block's whole obligation is to add nothing to it and subtract nothing from it.The negation is concrete and this repo has shipped it twice: objectui#4034 (
ObjectMapprobed members for amapkey — true for every array, viaArray.prototype.map) and objectui#7711 (ObjectCalendardid it withcalendar, while the same object still went to$filter: one authored key read twice with two incompatible meanings). Both are defects INSIDE the members of an array-armed input that every other direction of this gate reads as green — which is exactly the class objectui#8068 built this direction for.The neighbouring
filterIsDeclaredInput-7712.test.tsfiles do not cover this and could not: their spec row is a KEY verdict (filteris absent fromunrecognized_keys), which is the right assertion for discoverability and the wrong one for a member claim.Ablation — both pins are proven able to fail
Two legs, each mutating one line of renderer source, each proven on disk before the run by an anchored count plus a
git hash-objectthat differs from the HEAD blob (never by an editor's exit code), each restored by state.A — the new kanban pin.
$filter: schema.filterbecomes a normalising copy (Array.isArray(...) ? [...schema.filter] : ...): members equal, array not the same object.forwards the authored array BY IDENTITY, not merely by value/treats a condition on a field named columns as a FILTER, never as configuration/passes the array-of-arrays member form through identically, all threeAssertionError: ... to be ... // Object.is equality.Tests 3 failed | 1 passed (4).toBeovertoEqual: atoEqualpin would have passed the mutation.B — the registered calendar pin. objectui#7711's retired arm is reintroduced into
getCalendarConfig(probeschema.filterfor acalendarkey, return it as theCalendarConfig).refuses a schema whose only calendar config is stashed under filter.calendar/does not let filter.calendar shadow the canonical calendar container/passes filter: { calendar: ... } to $filter untouched and reads config from calendar.Tests 3 failed | 4 passed (7).object-calendar.filter's pin really constrains member reads; it does not merely contain the words the locator greps for.Restore, both legs:
git hash-objectequal togit rev-parse HEAD:PATH,git diff HEADempty,git status --shortempty. Each script carriedtrap '...' EXIT INT TERMwith absolute paths. No build stands between either mutation and the code under test:vitest.config.mts:420/:425still alias@object-ui/plugin-kanbanand@object-ui/plugin-calendarto theirsrc.The assertion count did NOT move, and that is checkable
198 passed (198), the same number this PR stated before the rebuild. It is not a coincidence and not a stale figure: this gate's test count is
covered.length(theit.eachlegs) plus its fixed assertions, and this change moves neither.coveredis unchanged at 29; what changed is ledger data — two exemption entries deleted, twoMEMBER_PINSentries added, one ceiling constant lowered. A change that added or removed a judged block would move the number; this one cannot.The member-shape population did move, and its prose is corrected at the constant: 81 array/object-armed inputs across 24 blocks with 19 pinned and 62 exempt becomes 83 across 24, 21 pinned, 62 exempt. 21 + 62 = 83, and the exemption count — the one the ceiling reads — is untouched.
Defects the widened gate now sees — recorded, NOT fixed here
Corrected. The previous revision of this section said the two
filterkeys were "objectui#7712, already open on exactly them". That is no longer true: objectui#7712's declaration landed as objectui#8186 while this PR was open, which is what made those two entries stale. The backlog is now 16 keys, two owners:object-kanban— 13 spec keys, 3 discoverable (objectNamecolumnsfilter), ten not:groupBydatacardTitletitleFieldcardFieldsswimlaneFieldgroupingquickAddcoverImageFieldconditionalFormattingobject-calendar— 9 spec keys, 3 discoverable (objectNamecalendarfilter), six not:defaultViewsortdatastaticDatalocaleloading(The previous revision wrote these as "publishes 3 of 13 / 3 of 9" with eleven and seven not published — arithmetic that did not close on either line. It closes now: 3 + 10 = 13 and 3 + 6 = 9, and the split is the one the 16 ledger entries actually spell.)
Ownership:
object-calendar.sortis objectui#8171. The remaining fifteen are objectui#8201. Each entry still says "a declaration someone owes" rather than "a ruled carve-out", and the stale check is what deletes it — now demonstrated end to end.objectui#8223 declares
{ name: 'sort', type: 'array' }on the same twoplugin-calendarregistrations and its diff (measured: 4 files) does not touch this gate file. So it cannot land for free in second position, in either direction:registry-inputs-spec-parity.test.ts, spelled out in a comment above theobject-calendar.sortentry so nobody discovers it in a merge-queue rebuild: (1) delete the now-staleobject-calendar.sortexemption; (2) lower the backlog ceiling 16 to 15 (it is atoBe); (3) add aMEMBER_PINSentry forobject-calendar.sort— not an exemption, whichthe ceiling correction admits exactly the four keys objectui#8176 made visiblerefuses by name.sortis the same pass-through kind of key asfilter, so the calendar pin next door is the shape to copy.maingate is blind toobject-calendar, so objectui#8223 is green on it as written.MEMBER_PINSentry for an undeclared key dangles, andevery member pin names a key that is still array/object-armed on a covered blockreddens on it. The rider has to travel with the declaration.Recommendation: land objectui#8223 first, then re-merge
mainhere and absorbsortin the PR that owns the ledger — it keeps a small feature PR free of console-gate edits. Either order works as long as it is chosen rather than discovered.MEMBER_PIN_EXEMPTION_CEILINGstill reads 58 to 62, with the full argument at the constant: the 58 was measured "over this file's owncoveredset", and this card is the finding thatcoveredwas wrong, so the raise admits four PRE-EXISTING declarations the census could not see (object-calendar.calendar/.dataSource,object-kanban.columns/.dataSource) and nothing else. That is the judgement call to review, and this paragraph is where to object.What this rebuild adds is a demonstration rather than another exception: two genuinely new array keys arrived, and they got pins, not room. The ceiling is the same 62 it was.
Where the fix belongs — gate, registration surface, or both
Mostly the gate, and now one pin beside a renderer. The console's
registerLazycalls are correct (they are why the heavyobject-*chunks stay out of the initial bundle) andgetConfigis correct (its docblock is explicit that it answers "can I render this right now"). Neither is the defect; the defect was a test that built its population from whatever happened to be loaded. No runtime, renderer, registration or spec file is modified — the one new file is a test.Verification
Everything below was run on the merged tree, at
4020372unless stated.apps/console/src/__tests__/registry-inputs-spec-parity.test.ts— 198 passed (198),VERDICT command-exit 0under the shared verify lock.@object-ui/consolevitest project — 89 files, 1069 passed (1069). This closes the previous revision's declared narrowing: the earlier run could not get the lock, this one did. (Note for the next reader:pnpm --filter @object-ui/console testfinds zero test files, because every project'sexcludecarriesapps/**; the working spelling ispnpm exec vitest run --project @object-ui/consolefrom the root. That is a pre-existing repo quirk, loud rather than silent — it exits 1.)packages/plugin-kanbanfull suite — 27 files, 141 passed (141), with the new pin in it.pnpm --filter @object-ui/console run type-check— exit 0;pnpm --filter @object-ui/plugin-kanban run type-check— exit 0 (tsc --noEmit && tsc -p tsconfig.test.json). Both afterturbo run buildover the two dependency closures (34 successful, 34 total). Proven to COVER the edited files rather than assumed to:tsc --listFilesnames each of them in its own program.pnpm --filter @object-ui/console run lint— exit 0, 0 errors (208 warnings, pre-existing).pnpm --filter @object-ui/plugin-kanban run lint— exit 0, 0 errors (133 warnings). The new file carries 6no-explicit-anywarnings, the same idiom as its neighbourfetchGate.objectDef-6271.test.tsx.node scripts/check-lint-coverage.mjs— "46/46 packages linted, 0 with outstanding errors (0 total)"; file counts read fromeslint . --no-inline-config --format jsonin each changed package — console 191 files, plugin-kanban 41 files, both changed files 0 errors; and invariance —eslint.config.jsextendstseslint.configs.recommendedwith noparserOptions.project/projectService, so type-aware linting is off and this diff cannot move the verdict on any file it does not contain. (That harsher invocation surfaces 3 pre-existingreact-hooks/static-componentserrors inapps/console/src/pages/settings/, in files this PR does not touch; CI runsturbo run lint, which is the 0-error reading above.)node scripts/check-changeset-presence.mjs— exit 0, and it now sees 2 released packages' source files against 1 empty-frontmatter changeset, which it accepts by name.check:control-bytes·check:phantom-deps(@object-ui/reactis a declared dependency ofplugin-kanban) ·check:self-import·check:side-effects-array·check:unreferenced-sources·check:vi-mock-specifiers·check:vi-mock-inherit— all exit 0. Plus a self-scan for control bytes over the three changed files, with a control that fires.node scripts/check-type-check-coverage.mjs— exit 0 (42/42 packages compile their tests).node scripts/check-lint-coverage.mjs— exit 0.check:eager-closureandcheck:sdui-registration-pins— first exit 2 (PREREQUISITE NOT MET, read as NOT MEASURED rather than as red), then exit 0 both against a realpnpm --filter @object-ui/console build. 518 chunks weighed, all 16 promised registrations present.node scripts/check-governed-queue-guard.mjs --teston both changed paths — NOT GOVERNED.turbo ls --affectedpackages (app-shell,runner,site, three examples). They are affected at PACKAGE granularity only — neither changed file is imported anywhere, proven by an import-statement grep over the tree returning zero with a control grep that fires on a file that IS imported. CI runs the full farm.Accept-set note (clause 2)
Unchanged in kind from the previous revision:
specTopLevelKeys,authorableShapeKeysand every schema-reading helper are untouched, and no renderer, registration or spec file is modified. What moved is the population those unchanged readers are applied to, plus the ledger entries that population requires. The one new file is a test that pins existing, correct behaviour — it fixes nothing and is not a behaviour change.🤖 Generated with Claude Code
https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S