Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(app-shell,plugin-list): emit the spec-canonical kanban lane key, and let the capability gate see it (objectui#8193) - #8227

Merged
os-justin merged 3 commits into
mainfrom
claude/issue-8193-objectview-canonical-groupbyfield
Sep 7, 2026
Merged

os-justin merged 3 commits into
mainfrom
claude/issue-8193-objectview-canonical-groupbyfield

Conversation

@os-justin

@os-justin os-justin commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #8193

Session: session_01YBWFb5YgMU5dw8p2VKj16S (in prose — a body edit downgrades the footer's session URL).

What changed

ObjectView (app-shell) built the view-level kanban config it hands to its list-view and wrote the deprecated alias groupField — never groupByField, the key @objectstack/spec's KanbanConfigSchema actually declares — even though it already READ the canonical key first. Its sibling producer in the same package, defaultKanbanFromObject in InterfaceListPage, had migrated long before and left the reasoning next to itself ("that read-site now prefers the spec key, so one key is enough"). The twin twelve hundred lines away was not carried along, so one producer surface spoke two vocabularies for one concept depending on which entry point you arrived through — and because ObjectView writes into options.kanban, which normalizeListViewSchema's alias fold deliberately does not reach, nothing corrected it downstream.

The expression is now the exported kanbanViewOptions, the fifth member of the timelineViewOptions / calendarViewOptions / ganttViewOptions / galleryViewOptions family it had been the odd one out of. That is what makes both app-shell producers observable, which is what the anti-fork pin needs.

⛔ No alias READ was removed and the alias is not retired. Stored metadata still authors groupField; every read site still resolves it. ListView already preferring the canonical key is exactly why the sibling could drop the alias write.

⚠️ This is a two-part fix, and the second part is not optional

The card asked for a one-line producer change. Measurement said that alone ships a regression.

ListView.availableViews consulted the options.kanban bag for the legacy spelling only — schema.options?.kanban?.groupField, with no canonical twin. The render branch one screen down merges the bag and resolves groupByField || groupField, so the gate recognized strictly less than what renders. That hole cost nothing while the only producer writing into that bag wrote the alias. Moving the producer onto the canonical key turns it into a live defect.

Measured on the real component, before touching the gate — viewType: 'grid' so the "always allow the schema's own viewType" rung cannot mask it:

emission into options.kanban Kanban offered in the switcher?
{groupBy, groupField} — today true
{groupBy, groupByField} — producer fix alone false
neither lane key (negative control) false
declared top-level groupByField (positive control) true

Both controls fire, so both readings carry information. Shipping only the producer change would have removed the Kanban toggle from every object view in the product, silently, with the board still rendering correctly if you reached it another way.

So the gate gains the canonical rung the bag never had. This is the same one-question-two-sites repair objectui#5042 made for map and objectui#7544 for chart, a third time. It is an addition — all three original rungs are untouched. The PM has ruled this rung stays.

Clause-② — does this move an accept set?

Yes, and in both directions, which is why both halves are here. The producer change alone narrows the accept set (the table above). With the gate rung, the accept set widens by exactly one previously-unreachable combination: a canonical lane key in the options bag, which is precisely what the render branch has always been willing to render. Net effect on what the product offers: unchanged. What changed is that the gate and the seam now answer the same question, rather than the gate answering a narrower one by accident.

⚠️ Zone 2 — the card's explicitly unmeasured question, answered

The card said plainly it had not measured whether the spec's own kanban config declares the view-level groupBy the same expression writes, and asked for that before deciding whether it is a second alias or a legitimate key.

Measured at runtime against KanbanConfigSchema from @objectstack/spec/ui (strict), resolved version 17.2.0, with a control on the same call:

declared keys: groupByField, summarizeField, columns

SUBJECT  { groupByField, groupBy }     -> unrecognized_keys: ["groupBy"]
CONTROL  { groupByField, zzzBogusKey } -> unrecognized_keys: ["zzzBogusKey"]
CONTROL2 { groupByField } alone        -> NO unrecognized_keys

CONTROL shows the schema can refuse an unknown key by name on this exact call shape; CONTROL2 shows it can accept one. So the refusal is about groupBy specifically. ⇒ groupBy is not a spec key at view level. The spec even names the other relationship itself — probing { groupField } returns "Did you mean groupField to groupByField?", so upstream already treats the alias as an alias.

⛔ Not folded here, exactly as the card directed. groupBy is read by ListView's projection collectors, so retiring it needs a producer census. Filed as objectui#8213 and left untouched in this PR. The measurement is pinned in the test suite so the answer cannot be lost, including a tripwire on the spec's declared key set (objectui#7685 is in flight to move the resolved spec version).

CI follow-up — the objectui#7322 alias-site pin was a stale literal

CI run 34075243231 was red on one test: packages/types/src/__tests__/object-kanban-group-by-limit-7322.test.ts. That pin asserts, off disk, that ListView.tsx still reads the VIEW-LEVEL groupField alias — the objectui#7322 tombstone being node-local — and it does so by matching a verbatim snapshot of the capability-gate expression. The fourth rung above changed that expression's text, so the snapshot stopped occurring.

Verified independently before touching the test. The alias is still read in ListView.tsx at four sites — the two projection collectors (:1536, :1890), the preserved alias rung in the gate (:2179), and the render branch's lane resolution (:2535) — and the other two pinned sites (normalize-list-view.ts, plugin-view/ObjectView.tsx) are untouched. So this was a stale literal, not a regression.

The pin's own update note is conditional: "If a site stops reading groupField, the retirement's stated boundary has moved and the docblocks on both faces are wrong: re-derive, do not widen the tombstone on the way past." That antecedent is false here, so only the re-derivation applies — the boundary has not moved, the docblocks on both faces are still correct, and the tombstone is neither widened nor narrowed.

Re-derived, not weakened: the entry now matches the four-rung expression verbatim, indentation included. Both alias rungs remain inside the pinned text, so the pin still reddens if a site stops reading the alias — proved by ablation, not assumed (below).

Measured vs claimed anchors

The card was written on a915064e; measured on ecf8e726e, with objectui#8188 landed into the target file since. Line numbers were treated as hints and matched on text.

anchor card measured premise
ObjectView producer 2409-2415 2476-2485 holds (drifted)
InterfaceListPage precedent comment 157 157 holds
normalize-list-view fold 191 191 holds — declared path only
fold-boundary pin test 361 361 holds
ListView lane resolution 2495 2518 holds (drifted)
ListView capability gate 2165 2165 holds

All three Zone 2b premises confirmed: the fold still refuses the options.* twin, its pin still says so deliberately, and ListView still resolves groupByField || groupField || detectStatusField(...).

Reverse verification

Direction predicted before running, then observed. Every mutation was committed-then-mutated, proven to reach disk with anchored fixed-string counts in both directions, and restored by state (git hash-object equal to git rev-parse HEAD:PATH, empty git diff HEAD), never by an exit code.

  • Producer reverted to groupField — canonical anchor 1 to 0, legacy 0 to 1. Pin: 6 failed / 9 passed. The ADR-0085 lane-resolution arms and the spec controls stayed green in both worlds, because this defect never changed which field was chosen, only the key it was filed under. A test asserting the lane value alone would have passed against the unfixed producer.
  • Gate rung removed — rung 1 to 0, legacy rung still 1. Pin: 2 failed / 7 passed, exactly the two canonical-bag arms; every legacy-bag, declared-path and refusal control stayed green.
  • objectui#7322 pin, stale literal restored — reproduces CI exactly: 1 failed / 28 passed, failing test named packages/plugin-list/src/ListView.tsx still reads the view-level alias.
  • objectui#7322 pin, re-derived, with a real alias rung deleted from ListView.tsx — legacy-bag rung 1 to 0, pin 1 failed / 28 passed, failing by name. The re-derived literal can still fail for the reason it exists.

Tests

  • pnpm exec vitest run packages/plugin-list/ packages/app-shell/ — 711 files, 7033 passed, 1 skipped, 0 failed (pre-merge)
  • pnpm exec vitest run packages/types/ — 137 files, 2589 passed, 0 failed (post-merge)
  • object-kanban-group-by-limit-7322.test.ts — before 1 failed / 28 passed, after 29 passed
  • Both new pins re-run post-merge alongside it — 3 files, 53 passed
  • type-check — green for app-shell, plugin-list and types (script is type-check with a hyphen; a typecheck filter matches zero scripts and exits 0)
  • Gates: check:control-bytes, check:spec-symbols, check:self-import, check:unreferenced-sources, check:changeset-presence, check:changeset-no-major, check:governed-queue-guard — green (this diff is not governed surface)
  • check:readme-exports — NOT MEASURED locally, a prerequisite failure rather than a red gate: it needs every package's dist/*.d.ts and reports "run pnpm build first" for 84 self-imports across packages this PR does not touch. It has its own CI workflow that builds first.

Two new pins, both of which redden against the unfixed code:

  • packages/app-shell/src/views/ObjectView.kanbanLane-8193.test.tsx — 15 arms. ⭐ Includes the anti-fork arm, which names neither spelling and instead asserts the two app-shell producers agree, with a control proving the agreement is not two empty sets.
  • packages/plugin-list/src/__tests__/ListView.kanbanOptionsBagCanonical-8193.test.tsx — 9 arms, including four refusal arms so the gate fix cannot degrade into "offer kanban whenever whitelisted", which would be worse than the bug.

origin/main merged in (merge, never rebase — the branch is pushed).

Out of scope, deliberately

  • objectui#8213 — the view-level groupBy, measured above and filed rather than folded.
  • Not objectui#7773 (landed as 6712930f7) and not objectui#7772; both concern the retired node-level key. This one is view-level and live.
  • packages/plugin-list/README.md view-level config examples left alone — still valid.
  • The brittleness of verbatim source-text pins as a mechanism is deliberately NOT addressed here; it is reported for the PM to file as its own card.

Draft on purpose: the PM lands this.

…and let the gate see it (objectui#8193)

ObjectView built the view-level kanban config for the list-view it hands down
and wrote the deprecated alias `groupField` — never `groupByField`, the key
`@objectstack/spec`'s KanbanConfigSchema declares — despite already READING the
canonical key first. Its sibling in the same package, `defaultKanbanFromObject`,
had migrated long before and left the reasoning in a comment; the twin twelve
hundred lines away was not carried along. ObjectView writes into `options.kanban`,
which normalizeListViewSchema's alias fold deliberately does not reach, so the
legacy spelling was what actually drove the lanes.

The expression becomes the exported `kanbanViewOptions`, the fifth member of the
timeline/calendar/gantt/gallery `*ViewOptions` family it had been the odd one out
of, so both app-shell producers are observable and can be pinned against drift.

ListView's kanban capability gate changed with it, and had to. It consulted the
`options.kanban` bag for the LEGACY spelling only, so a producer writing the spec
key into the bag was invisible to it while rendering correctly — the render branch
merges the bag and resolves `groupByField || groupField`. Measured before and
after: `{groupBy, groupField}` offered Kanban and `{groupBy, groupByField}` did
not, so the producer change alone would have removed the Kanban toggle from every
object view. Same one-question-two-sites repair as objectui#5042 (map) and
objectui#7544 (chart).

No alias READ was removed and the alias is not retired: stored metadata still
authors `groupField`, and ListView already preferring the canonical key is why
the sibling could drop the alias write. Only what this one face WRITES changed,
plus one added rung on the gate.

The view-level `groupBy` in the same bag is measured but deliberately not folded:
the strict KanbanConfigSchema refuses it by name, but ListView's projection
collectors read it, so retiring it needs its own producer census — objectui#8213.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3189.7 KB 3191.4 KB
Main entry chunk (gzip) 143.9 KB 350 KB
Entry file index-D_9o2BPF.js —
Status PASS —

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

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 15.67KB 5.75KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 498.00KB 113.91KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 189.11KB 52.55KB
fields (index.js) 243.04KB 61.36KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 6.57KB 2.76KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.94KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 5.12KB 1.74KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 15.16KB 3.68KB
plugin-calendar (index.js) 47.67KB 13.25KB
plugin-charts (index.js) 70.62KB 19.71KB
plugin-chatbot (index.js) 193.54KB 46.04KB
plugin-dashboard (index.js) 131.41KB 34.43KB
plugin-designer (index.js) 213.21KB 43.63KB
plugin-detail (index.js) 247.68KB 63.49KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 131.01KB 32.32KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 208.58KB 56.63KB
plugin-kanban (index.js) 52.83KB 14.63KB
plugin-list (index.js) 113.38KB 27.73KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.33KB 3.25KB
plugin-view (index.js) 84.46KB 20.80KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.55KB 2.45KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 13.64KB 4.59KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Collaborator Author

PM ruling on the open question: A — keep the added gate rung. Ship as built.

The dispatch fenced packages/plugin-list/src/ListView.tsx:2165 as an alias READ not to be touched, and this PR touched it. Ruling A, on three grounds, in order of weight.

1. The fence's stated reason is not violated. It exists because stored metadata still authors the legacy spelling, so alias reads must survive. This change adds a rung and removes none — all three original rungs are intact and stored metadata still resolves groupField. A fence against removal does not forbid an addition that leaves the protected read in place. Had the alias read been deleted, the answer would be the opposite.

2. Without it the card's own fix is a live regression, and that is measured rather than argued. On the real component with viewType: grid (chosen so the "allow the schema's own viewType" rung cannot mask the result):

options.kanban Kanban offered
{groupBy, groupField} (legacy) TRUE
{groupBy, groupByField} (canonical — what this PR now emits) FALSE
neither key — negative control FALSE
declared top-level groupByField — positive control TRUE

Both controls fired, so the FALSE is a reading and not a dead query. availableViews recognised strictly less than the render branch resolves (groupByField || groupField) — a latent hole the producer change converts into the Kanban toggle disappearing from every object view. Shipping the producer change alone would trade one spec-conformance defect for a visible product regression.

3. It is the third instance of a settled precedent, not a new judgement. objectui#5042 (map) and objectui#7544 (chart) made exactly this repair when a capability gate and its render seam answered the same question differently. The rule those established — a gate and the seam it guards must answer one question — is what this applies.

On the alternatives, so the record shows they were weighed:

  • B (split the rung into its own PR) buys literal atomicity and costs a window in which main carries the regression. The producer change cannot land first without it, so B is A with the two halves landed in the opposite order — the same diff, plus a red window. Rejected.
  • C (emit both keys from the producer) keeps the gate untouched but re-introduces the deprecated spelling this card exists to retire, and contradicts the sibling defaultKanbanFromObject precedent that one key is enough. Rejected — it would make the card self-defeating.

Also credited: raising this as a deviation rather than shipping it quietly is the right call and is why it could be ruled on the measurements instead of discovered in review. The ablation legs — producer reverted (canonical 1→0 and legacy 0→1 measured in both directions, 6 failed / 9 passed) and the canonical rung deleted (rung 1→0 with legacy still 1, exactly the two canonical-bag arms failing) — each prove the new pins can fail, and restore was proven BY STATE rather than by an exit code.

Zone 2 correctly left alone. The view-level groupBy third spelling is filed as objectui#8213 with its own measurement (strict KanbanConfigSchema refuses it by name, zzzBogusKey control fired, {groupByField}-alone control clean). Retiring it needs a producer census and is not this card's work.

⚠️ One item stays on the PM: check:readme-exports exited 1 and is recorded as NOT MEASURED, not red — a prerequisite failure needing every package's dist/*.d.ts, printing run pnpm build first for 84 self-imports in packages this PR does not touch. That reading is accepted; CI's own workflow builds first and owns the verdict. It will be checked against CI before this is landed, not waved through.

No change requested. Holding as draft for the PM to flip and land once CI converges.


Generated by Claude Code

…after the gate gained its canonical rung

The objectui#7322 pin asserts, off disk, that `ListView.tsx` still reads the
VIEW-LEVEL `groupField` alias — the tombstone being node-local. It matches a
verbatim snapshot of the capability-gate expression, and objectui#8193 widened
that expression with a fourth rung (the canonical spelling for the `options`
bag), so the snapshot stopped occurring.

Re-derived, not weakened. The pin now reads the four-rung expression verbatim,
indentation included, exactly as it read the one-line form before; both alias
rungs are still inside the pinned text, so a site that stopped reading the alias
still reddens it.

The pin's own update note is conditional — "If a site stops reading `groupField`,
the retirement's stated boundary has moved and the docblocks on both faces are
wrong". That antecedent is FALSE here: `ListView.tsx` still reads the view-level
alias at four sites (the two projection collectors, the gate rung, and the render
branch's lane resolution), and the other two pinned sites are untouched. So the
boundary has not moved, the docblocks on both faces are still correct, and the
tombstone is neither widened nor narrowed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3189.8 KB 3191.4 KB
Main entry chunk (gzip) 143.9 KB 350 KB
Entry file index-Bj1BQ7eY.js —
Status PASS —

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

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 15.67KB 5.75KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 5.13KB 2.35KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 498.00KB 113.91KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 189.11KB 52.55KB
fields (index.js) 243.04KB 61.36KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 6.57KB 2.76KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.94KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 11.71KB 4.29KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 5.12KB 1.74KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 15.16KB 3.68KB
plugin-calendar (index.js) 47.67KB 13.25KB
plugin-charts (index.js) 70.62KB 19.71KB
plugin-chatbot (index.js) 193.54KB 46.04KB
plugin-dashboard (index.js) 131.41KB 34.43KB
plugin-designer (index.js) 213.21KB 43.63KB
plugin-detail (index.js) 247.68KB 63.49KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 131.01KB 32.32KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 208.58KB 56.63KB
plugin-kanban (index.js) 52.83KB 14.63KB
plugin-list (index.js) 113.38KB 27.73KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.33KB 3.25KB
plugin-view (index.js) 84.46KB 20.80KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.55KB 2.45KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 13.64KB 4.59KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.74KB 1.41KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants