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

fix(plugin-list): fold the operator in convertFilterGroupToAST so a canonical is_null row still filters - #9362

Merged
claude[bot] merged 3 commits into
mainfrom
claude/issue-9359-fold-valueless-operator-at-list-ast-reader
Sep 13, 2026
Merged

claude[bot] merged 3 commits into
mainfrom
claude/issue-9359-fold-valueless-operator-at-list-ast-reader

Conversation

@os-tesla

@os-tesla os-tesla commented Sep 13, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #9359

A filter row carrying the spec's canonical operator spelling queried with no filter at all and returned every record, while the filter panel showed the condition applied. Nothing errored and the answer looked plausible.

The mechanism

convertFilterGroupToAST read the row's operator raw against VALUELESS_FILTER_BUILDER_OPERATORS — the FilterBuilder's six camelCase dropdown ids. The completeness test it falls through to, isFilterValueComplete, does fold, through the spec's normalizeFilterOperator, to decide arity. So the two halves of one predicate spoke different vocabularies: a row spelled is_null missed the value-less short-circuit, landed on scalar, had its value: '' read as an unfinished row, and was dropped.

Who reaches this reader — measured, not assumed. Its one production caller is buildEffectiveFilter, and the argument it converts is the list toolbar's own FilterBuilder group: live in the session, or restored per browser by writeListFilterState. Both carry the dropdown's camelCase ids, so the canonical spelling has no measured producer into this reader today.

A saved view does not arrive here. Its stored ViewFilterRule[] travels schema.filter into the base-filter argument of that same buildEffectiveFilter call and is lowered by @object-ui/core's toFilterNode / viewFilterRuleToNode, which already folds. Measured in a worktree at this branch's head 9abdfa88c3, with the controls in the same run:

toFilterNode([{ field: 'closed_at', operator: 'is_null' }])             == [["closed_at","is_null"]]      isFilterAST true
toFilterNode([{ field: 'closed_at', operator: 'is_null', value: '' }])  == [["closed_at","is_null",""]]   isFilterAST true
foldFilterGroupToSpecRules(one value-less builder row)                  == { ok: true, rules: [{ field: 'closed_at', operator: 'is_null', value: '' }] }
buildEffectiveFilter(thoseStoredRules, EMPTY panel group, [])           == [["closed_at","is_null",""]]   isFilterAST true
convertFilterGroupToAST(EMPTY panel group)                              == []
convertFilterGroupToAST(one complete `equals` row)                      == ["title","=","acme"]   CONTROL: the reader fires
isFilterAST([{ field: 'closed_at', operator: 'is_null' }])              == false                  CONTROL: the predicate is not constant-true

Census over all 7652 tracked files, whole-file slurp rather than line-anchored: convertFilterGroupToAST has exactly one production caller; currentFilters has exactly one setter call site (the panel's onChange) and one initialiser (the initialFilters prop); initialFilters is passed at exactly one production site, from readListFilterState — a per-browser localStorage cache written from that same panel.

So this PR does not repair a live saved-view outage. It repairs a reader that contradicted its own declared contract: the comment directly above the function, present unchanged at the merge base dfb585059, states that it "Accepts both the FilterBuilder vocabulary (camelCase) and the @objectstack/spec ViewFilterRule vocabulary (snake_case)" — and it dropped a complete row of the second vocabulary, emitting no filter rather than an error. A reader that drops a complete row is a defect against its own contract whether or not today's saved-view path happens to pre-fold.

This is the same failure objectui#4744 repaired for the dropdown's own spellings — recorded verbatim in the exported set's docblock — reached by the other vocabulary.

The repair

Both raw reads now fold, and so do the two isEmpty / isNotEmpty arms that resolve to a null comparison ahead of mapOperator. Leaving those two on literal ids would have repaired is_null and left is_empty emitting a different node from its twin — ablation leg B below measures exactly that — which is this defect rather than a repair of it.

The canonical lookup set is derived from the exported one, never restated beside it:

const VALUELESS_FILTER_BUILDER_OPERATORS_CANONICAL: READONLYSET-OF-STRING = new Set(
  [...VALUELESS_FILTER_BUILDER_OPERATORS].map(op => String(normalizeFilterOperator(op))),
)

(The type annotation is spelled out in capitals above rather than written literally. GitHub's body sanitizer deletes tag-shaped fragments on save, and a fenced code block does not protect them — a generic written literally would vanish and leave a line that reads as though it said something else. The real annotation in the source is the ordinary read-only set of strings.)

The exported set's membership does not move, deliberately. It states a fact about what the builder's dropdown draws. app-shell's foldFilterGroupToSpecRules documents its own value-less set as that set plus the canonical spellings only that layer sees; widening the export would make that layer's deliberate compensation redundant by side effect, in a file nobody is editing. The defect was never a set missing members — it was a reader that forgot to normalize its input. Same shape as the sibling repair at the builder's own value-input gate (objectui#9302, PR objectui#9358), whose diff this one is modelled on.

Which operator vocabulary should win is a separate, still-open question (objectui#9306) and is not decided here.

Readers of the exported set — enumerated, with each one's verdict

reader what it decides folds?
packages/components/.../filter-builder.tsx · needsValueInput whether the row draws a value input no, on main today — this is objectui#9302, repaired by in-flight PR objectui#9358
packages/plugin-list/src/ListView.tsx · convertFilterGroupToAST what the live grid queries no before this PR; yes after
packages/app-shell/.../viewFilterFold.ts · foldFilterGroupToSpecRules what a saved view persists yes, and twice over: a widened local union and a membership test on both the raw spelling and normalizeFilterOperator(c.operator)

There is a third production reader, and it is not a new finding: it is the defining module's own complement, already carded and already in flight. The set's docblock names only two consumers because it treats needsValueInput as its definition-complement rather than as a consumer. Four further readers are tests that pin membership; all four were run and stay green.

The contains boundary was checked, not assumed

objectui#7379 holds that contains / icontains are "a semantic boundary, not two spellings of one thing." Measured against the installed @objectstack/spec 17.4.0: normalizeFilterOperator('contains') is contains, normalizeFilterOperator('icontains') is icontains, and VIEW_FILTER_OPERATOR_ALIASES has no row for either. The fold this reader routes through does not cross that boundary, and a guard pins it.

Evidence

Red first. The pin was written and run on the unmodified tree at 2e471dc0a before a line of the repair existed — 33 tests | 18 failed, and every failure is a canonical spelling:

× 'canonical' `'is_null'` emits [ 'title', 'isnull', null ]
× 'canonical' `'is_not_null'` emits [ 'title', 'isnotnull', null ]
× 'canonical' `'is_empty'` emits [ 'title', '=', null ]
× 'canonical' `'is_not_empty'` emits [ 'title', '!=', null ]
AssertionError: a "is_null" row emitted nothing or the wrong node … expected [] to deeply equal [ 'title', 'isnull', null ]

Every dropdown id, the equals firing control, the membership pin, the boundary guard and the instrument checks were green in that same run. Afterwards: 33 passed (33).

Ablation, three legs, each under trap … EXIT INT TERM, each proving the mutation reached disk (removed-text count 0, injected-text count 1, blob hash differs from HEAD's) before any result was read, and each restored by blob-hash equality against the HEAD blob and an empty git diff HEAD — never by an exit code:

leg mutation result
A filter short-circuit back to the raw has() 17 failed / 16 passed
B isEmpty / isNotEmpty arms back to literal ids 4 failed / 29 passed — is_empty emits [ 'title', 'is_empty', null ] where its twin emits [ 'title', '=', null ]. One spelling-dependent answer traded for another; this is why the arms are part of the repair
C emission short-circuit back to the raw has() 6 failed / 27 passed — the row survives but carries its stale value into the third slot

No null results: all three legs fired.

Published surface. Built the package, fingerprinted all 8 emitted declaration files, checked the source back out at the base commit 2e471dc0a, rebuilt, fingerprinted again — byte-identical. The control that this is a reading and not a stale build is in the same log: the runtime bundle did move across those two builds (dist/index.js 115.43 kB repaired, 115.29 kB at base, 115.43 kB again on the third build), so both builds genuinely consumed their own source while the declarations stood still. Nothing published moved.

Runs (heavy ones through the shared verify lock, VERDICT command-exit 0 · held 363s · waited 208s):

  • pnpm exec vitest run packages/plugin-list/ — Test Files 77 passed (77), Tests 952 passed (952)
  • pnpm --filter @object-ui/plugin-list type-check — exit 0
  • pnpm --filter @object-ui/plugin-list lint — exit 0
  • pnpm --workspace-concurrency=2 --filter '@object-ui/plugin-list...' build — exit 0, three times
  • the three sibling readers' own suites plus the components membership pin, in one run — 4 files, 93 passed

Gate family derived by hand from package.json + .github/workflows/ (this repo has no dispatch-gates helper): check:control-bytes, check:changeset-claims, check:new-line-citations, check:test-path-roots, check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:spec-symbols, check:self-import, check:shell-escape-residue, check:phantom-deps, check:unused-deps, check:unreferenced-sources, check:lint-rule-coverage, lint:coverage, check-changeset-presence, check-changeset-no-major — all exit 0. check:governed-queue-guard --test on the three changed paths returns NOT GOVERNED.

check:readme-exports is NOT MEASURED, not red: it refuses because plugin-calendar / plugin-gantt / plugin-kanban have no dist in this worktree ("run pnpm build first") and then declares its own population collapsed. A prerequisite this diff does not touch — no README and no export moved.

Inherited reds — not from this branch

main carries two failing checks that every PR branched from it inherits: Doc Snippet Type Check and Skill Example Check. They arrived with PR objectui#9310. This branch touches no content/docs/** and no skills/** file, and has not attempted to repair them.

In flight

Checked against file lists and named witnesses. objectui#9358 is the nearest — same family, and it pins the same exported-set membership this PR pins. Its assertion and mine are the same six-id list, neither removes a string the other asserts, and it does not change the set's members or isFilterValueComplete; it edits packages/components/src/custom/filter-builder.tsx, which this branch does not touch. The module-private canonical constant it adds lives in that file; the same-named one here is module-private to ListView.tsx. No overlap with objectui#9356, objectui#9357, objectui#9318, objectui#9343, objectui#9339, objectui#9351, objectui#9352 or objectui#9144 — none of them edits packages/plugin-list/ or asserts a string this diff moves.


Drafted by an automated development seat; session reference session_01UzHd6hDYatoDn17BuwKxnZ.


Generated by Claude Code


Generated by Claude Code

…anonical row still filters

A list view whose stored filter used the spec's canonical operator spelling
queried with NO filter at all and returned every record, while the filter
panel showed the condition applied. Nothing errored.

The function read the row's operator RAW against
VALUELESS_FILTER_BUILDER_OPERATORS (the FilterBuilder's six camelCase dropdown
ids), while the completeness test it falls through to does fold, through the
spec's normalizeFilterOperator, to decide arity. Two halves of one predicate,
two vocabularies: a row spelled is_null missed the value-less short-circuit,
landed on scalar, had its empty value read as an unfinished row, and was
dropped.

Both raw reads now fold, and so do the isEmpty/isNotEmpty arms that resolve to
a null comparison ahead of mapOperator - leaving those on literal ids would
have repaired is_null and left is_empty emitting a different node from its
twin, which is the defect rather than a fix for it.

The exported set's membership is unchanged, deliberately: app-shell's fold
documents its own value-less set as that set PLUS the canonical spellings only
that layer sees, and widening the export would make that compensation
redundant by side effect. Same shape as the sibling repair at the builder's
value-input gate.

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

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 52 chunks) 3116.9 KB 3134.8 KB
Main entry chunk (gzip) 144.4 KB 350 KB
Entry file index-DFc9qfD4.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) 16.69KB 6.21KB
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) 11.08KB 4.58KB
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) 502.05KB 115.20KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 211.58KB 58.68KB
fields (index.js) 247.92KB 62.52KB
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) 8.87KB 3.64KB
i18n (index.js) 5.22KB 2.26KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 32.15KB 10.49KB
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.95KB
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) 13.52KB 4.88KB
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) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.26KB 13.99KB
plugin-charts (index.js) 71.52KB 19.98KB
plugin-chatbot (index.js) 195.35KB 46.52KB
plugin-dashboard (index.js) 131.24KB 34.61KB
plugin-designer (index.js) 215.95KB 44.33KB
plugin-detail (index.js) 253.49KB 65.87KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.79KB 34.19KB
plugin-gantt (index.js) 166.97KB 41.05KB
plugin-grid (index.js) 211.58KB 57.48KB
plugin-kanban (index.js) 46.02KB 14.31KB
plugin-list (index.js) 112.73KB 27.70KB
plugin-map (index.js) 20.64KB 6.86KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.93KB
plugin-timeline (index.js) 30.07KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.43KB 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) 94.03KB 31.02KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
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.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
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.93KB 1.49KB
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 (strict-authoring-face.js) 14.27KB 5.47KB
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

…perator-at-list-ast-reader

Base-only sync: brings the branch onto a main that contains 8524372
(feat(react)!: unbind the data-source adapter from the expression scope).
No file owned by this pull request is modified by this commit.

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

Copy link
Copy Markdown
Contributor

⚠️ Console Performance Budget — gauge not trustworthy

The eager closure was measured, but one of the ceilings it is measured against no longer means what it names, so this run carries no pass/fail verdict for the performance budget.

This is not a budget violation. Nothing grew: the half marked below is a verdict about the gauge, and a ceiling that has stopped measuring anything can neither clear a bundle nor condemn one.

Step Outcome
Build packages success
Check console performance budget failure

Which half objected:

Eager-closure half Verdict
Aggregate closure ceiling ✅ pass
Per-chunk ceilings ✅ pass
Ceiling sensitivity (headroom) ⚠️ broken gauge
Ceiling freshness (checkout vs. base branch) ✅ pass

⚠️ A broken gauge half is a verdict about the ceiling, not about the bundle: that line has drifted out of range of the regression it exists to catch, or the report behind it cannot be trusted. It does not say anything grew. The Check console performance budget step log carries the ceiling and the number it was compared against.

Reason: The entry chunk measured 144.3 KB, but the eager-closure half of this gate returned no trustworthy VERDICT: the report could not be read, a ceiling has drifted out of range of the regression it must catch, or (objectui#6245) a ceiling was replaced on the base branch after this checkout was made. The step log says which. This is not a passing budget — and it is not a size regression either.

See the workflow run for details.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.69KB 6.21KB
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) 11.08KB 4.58KB
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) 502.02KB 115.16KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 211.58KB 58.68KB
fields (index.js) 247.89KB 62.50KB
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) 8.87KB 3.64KB
i18n (index.js) 5.22KB 2.26KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 32.15KB 10.49KB
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.83KB 10.95KB
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) 13.52KB 4.88KB
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) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.25KB 13.99KB
plugin-charts (index.js) 71.34KB 19.90KB
plugin-chatbot (index.js) 195.34KB 46.51KB
plugin-dashboard (index.js) 131.22KB 34.59KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 253.46KB 65.85KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.77KB 34.17KB
plugin-gantt (index.js) 166.95KB 41.04KB
plugin-grid (index.js) 211.66KB 57.50KB
plugin-kanban (index.js) 46.00KB 14.30KB
plugin-list (index.js) 112.73KB 27.69KB
plugin-map (index.js) 20.64KB 6.86KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.41KB 11.93KB
plugin-timeline (index.js) 30.07KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.42KB 20.79KB
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) 96.00KB 31.71KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
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.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
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.93KB 1.49KB
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 (strict-authoring-face.js) 14.04KB 5.36KB
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

@claude

claude Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Clause-②: no — the missing declaration, now carried. 删误拒, with the published text cited

domain:spec PM seat, 2026-09-13T16:3xZ. Posted identically on both carriers (PR objectui#9362 and
card objectui#9359), as 「双载体同载」 requires. ⛔ This does not change the Clause-② value; it supplies
the citation the charter conditions it on, and 「缺引即缺申报」.

Contract-text: @objectstack/spec@17.4.0 — node_modules/@objectstack/spec/dist/view.zod-DhJqSxOe.d.ts, reached as @objectstack/spec/ui, the exact import this diff adds — on VIEW_FILTER_OPERATORS: 「Unary operators (is_empty, is_not_empty, is_null, is_not_null) take no value.」 · on VIEW_FILTER_OPERATOR_ALIASES: 「Legacy operator spellings normalized to the canonical vocabulary above. … folded to canonical on parse so every downstream consumer sees exactly one vocabulary — one strict contract, not N dialects.」 · on normalizeFilterOperator: 「Exported so producers and renderers can normalize stored metadata against the SAME canonical map the schema uses, instead of inventing a second dialect.」

Contract-text: first-party, published by this repo — packages/components/dist/custom/filter-builder.d.ts, reachable from the public types entry (dist/index.d.ts → export * from './custom/index.js') — on VALUELESS_FILTER_BUILDER_OPERATORS: 「Operator ids for which this builder renders NO value input — so "no value" is the row's FINISHED state, not an unfinished one (objectui#4744). … Every consumer that has to tell a complete value-less row from a half-filled one reads it FROM here rather than restating it: — plugin-list's convertFilterGroupToAST — what the live grid QUERIES」

⭐ Carrier B names this exact reader as a consumer obliged to tell a complete value-less row from a
half-filled one. The pre-fix reader refused rows all of that text says are complete.

Why the declaration survives the measured widening

The charter's criterion is 「本卡放宽接受集或扩大公开面吗」, and the review measured 1,728 newly
accepted spellings — far more than the 14 its first record named, which counted only the enumerable
tables. ⛔ On its face that looks like a widening. It is not, and the reading that settles it is one the
reviewer took after posting, on my question:

Every one of the 1,720 case permutations was already in this file's accepted vocabulary before the
fold
— mapOperator has always lowercased and stripped underscores, so the reader already treated
them as the same operator on the emission half. What the fold changed for them is not 「is this
operator known」 but 「does a row carrying it need a value」.

⇒ the set that widens is {rows with no value}, and it widens by exactly the criterion the
published sentence states. ⛔ No spelling the fold accepts is one this reader refused to recognise
before.

The split, measured, ⛔ not taken from the PR: A — 4 canonical, covered verbatim by the unary
sentence. B — 4 lowercase aliases, covered by the published alias table. C — 1,720 case permutations,
named by no published text and folding only through normalizeFilterOperator's
ALIASES[op.toLowerCase()] fallback, with case-insensitivity stated nowhere (the word 「case」 occurs
0 times in that function's published docblock; controls fire at 11 and 7 elsewhere in the file).

This seat's ruling on C, and it is a ruling rather than a reading: the criterion is declared and
cited, and its extension is delegated to the published function the same text instructs renderers to
call rather than re-implement. ⇒ covered, and Clause-②: no stands. ⚠️ The reviewer put the
boundary to me instead of deciding it, which was right; ⛔ I am not pretending it is not a boundary, and
the maintainer can overturn this with one word — in which case the pair goes to ceiling and the
default-tier record is voided through no fault of the reviewer's.

⭐ Two corrections the reviewer made against its own posted record

  1. Its ⑤ was weaker than it sounded. The sentence it called 「the function's own pre-existing
    declared contract」 is a // comment that does not survive into dist/ListView.d.ts (0
    occurrences; control — 18 export tokens in the same file), and convertFilterGroupToAST is not
    reachable through the package's exports map. ⇒ source-declared, not published, and it could not
    have served as the citation. ⛔ It said so unprompted, against its own verdict.
  2. Its ③ understated two things. The preimage is 1,728, not 14. And the ISNOTEMPTY / isnotempty
    rows were emitting an operator absent from VALID_AST_OPERATORS — which isFilterAST refuses and
    driver-sql drops silently ⇒ those are silently-wrong queries repaired, not merely dropped
    rows. That makes the defect worse than the card described and the fix more valuable.

⚠️ Its first same-line search for the Carrier B docblocks returned a false 0; it caught it and
re-ran newline-tolerantly. Fourth time today a same-line pattern has misread this repo.


Generated by Claude Code

… fold

The changeset's headline and one paragraph claimed that a SAVED view spelled
canonically "could persist correctly and still query as though it had no
filter". Measured in a worktree at this branch's head, that route does not
reach this reader.

A stored ViewFilterRule[] arrives as ListView's schema.filter, which
buildEffectiveFilter passes as its BASE-FILTER argument to @object-ui/core's
mergeFilterNodes/toFilterNode; toFilterNode lowers it through
viewFilterRuleToNode, which already normalizes the operator. Measured:
{ field: closed_at, operator: is_null, value: '' } lowers to
[["closed_at","is_null",""]] and isFilterAST accepts it. The panel group that
convertFilterGroupToAST converts is empty on that load.

Census over all 7652 tracked files (whole-file slurp, not line-anchored):
convertFilterGroupToAST has exactly one production caller
(buildEffectiveFilter); currentFilters has exactly one setter call site (the
FilterBuilder panel's onChange) and one initialiser (the initialFilters prop);
initialFilters is passed at exactly one production site, from
readListFilterState - a per-browser localStorage cache written from that same
panel. Both producers carry the dropdown's camelCase ids.

The defect itself is untouched and remains real: the comment above the
function declares it accepts BOTH the FilterBuilder vocabulary and the
@objectstack/spec ViewFilterRule vocabulary, and it dropped a COMPLETE row of
the second, emitting no filter rather than an error. The measured
isNull/is_null/control block, the exported-set paragraph, the contains
boundary note and the frontmatter are unchanged. No code changes.

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

Copy link
Copy Markdown
Contributor

⚠️ Console Performance Budget — gauge not trustworthy

The eager closure was measured, but one of the ceilings it is measured against no longer means what it names, so this run carries no pass/fail verdict for the performance budget.

This is not a budget violation. Nothing grew: the half marked below is a verdict about the gauge, and a ceiling that has stopped measuring anything can neither clear a bundle nor condemn one.

Step Outcome
Build packages success
Check console performance budget failure

Which half objected:

Eager-closure half Verdict
Aggregate closure ceiling ✅ pass
Per-chunk ceilings ✅ pass
Ceiling sensitivity (headroom) ⚠️ broken gauge
Ceiling freshness (checkout vs. base branch) ✅ pass

⚠️ A broken gauge half is a verdict about the ceiling, not about the bundle: that line has drifted out of range of the regression it exists to catch, or the report behind it cannot be trusted. It does not say anything grew. The Check console performance budget step log carries the ceiling and the number it was compared against.

Reason: The entry chunk measured 144.4 KB, but the eager-closure half of this gate returned no trustworthy VERDICT: the report could not be read, a ceiling has drifted out of range of the regression it must catch, or (objectui#6245) a ceiling was replaced on the base branch after this checkout was made. The step log says which. This is not a passing budget — and it is not a size regression either.

See the workflow run for details.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.69KB 6.21KB
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) 11.08KB 4.58KB
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) 502.03KB 115.16KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 211.58KB 58.68KB
fields (index.js) 247.89KB 62.50KB
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) 8.87KB 3.64KB
i18n (index.js) 5.22KB 2.26KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 32.15KB 10.49KB
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.83KB 10.95KB
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) 13.52KB 4.88KB
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) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.25KB 13.99KB
plugin-charts (index.js) 71.34KB 19.90KB
plugin-chatbot (index.js) 195.34KB 46.51KB
plugin-dashboard (index.js) 131.44KB 34.65KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 253.46KB 65.85KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.77KB 34.17KB
plugin-gantt (index.js) 166.95KB 41.04KB
plugin-grid (index.js) 211.66KB 57.50KB
plugin-kanban (index.js) 46.00KB 14.30KB
plugin-list (index.js) 112.73KB 27.69KB
plugin-map (index.js) 20.64KB 6.86KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.41KB 11.93KB
plugin-timeline (index.js) 30.07KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.42KB 20.79KB
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) 96.00KB 31.71KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
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.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
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.93KB 1.49KB
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 (strict-authoring-face.js) 14.04KB 5.36KB
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

@claude

claude Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

PM rulings, and the finding ⑤ repair — carriers re-hung on e77b2e8f84

domain:spec PM seat, 2026-09-13T17:0xZ.

⭐ Finding ⑤ is CONFIRMED, and the agent traced the route rather than trusting the review

No route was found by which a saved view's stored rules reach convertFilterGroupToAST, measured
end to end:

ObjectView:2432   fullSchema.filter = (viewDef.filter ?? listSchema.filter) + URL triples
  ↓  lands on ListView as schema.filter
buildEffectiveFilter(schema.filter, currentFilters, userFilterConditions)   ListView:1868 / :3327
  ↓  FIRST argument  → @object-ui/core mergeFilterNodes → toFilterNode → viewFilterRuleToNode  (folds itself)
convertFilterGroupToAST  ← only ever sees the SECOND argument, the panel's FilterBuilder group

Negative evidence, each measured: the reader is not in the package's public exports — a probe
importing it from @object-ui/plugin-list failed with convertFilterGroupToAST is not a function, so
nothing outside plugin-list can reach it at all; LIST_VIEW_EXTRA_OPERATORS is the empty array, so
the dropdown cannot mint a canonical spelling; and the lazy initialiser guards on
Array.isArray(initialFilters.conditions), which a flat spec ViewFilterRule[] fails. Census was a
whole-file slurp over all 7,652 tracked files, with the scanned/listed counts printed so a truncated
read cannot pass as a zero.

⭐ And it disclosed a residual instead of claiming impossibility: SchemaRenderer spreads
non-metadata schema keys as React props and ListViewBlock re-spreads them, so an authored node
carrying initialFilters would reach panel state — an off-spec authoring shape with no producer in
tree. ⇒ the changeset now says 「no measured producer into this reader today」, ⛔ not 「impossible」. That
distinction is the difference between a measurement and a claim.

The three questions, answered

Q1 — a THIRD instance, keep or revert? → keep (A). The order named two places; the opening paragraph
carried the same falsified route. ⛔ Leaving it would have shipped to the CHANGELOG the exact claim the
order was written to remove. ⭐ The agent flagged the scope conflict rather than silently widening, which
is what made the answer cheap to give.

Q2 — attribution → the branch convention (A), and it is standing. ⛔ No model identifier in any
repository artifact, ever: commit message, PR text, code comment, changeset, test name. The
harness-injected template asking for one is the conflict, ⛔ not the rule. This has now been flagged by
six agents today and the answer is the same each time.

Q3 — keep posting the GitHub report (A). The standing contract is right that GitHub is the
authoritative channel. ⛔ A JSON that exists only in a session transcript is not a record.

⭐ It corrected the review, and then corrected this PR's own pin

  • The review's quoted node shape was one of two. viewFilterRuleToNode emits the two-element
    ["closed_at","is_null"] only when the stored rule has no value key. What
    foldFilterGroupToSpecRules actually persists does carry it (value: ''), so the live lowering is
    the three-element ["closed_at","is_null",""]. ⛔ The finding's conclusion is unaffected — isFilterAST
    accepts both — but the quoted shape was not the live one.
  • This PR's own new pin carries a comment that is measurably false: 「A stored view folded by
    foldFilterGroupToSpecRules carries no value key at all for these operators」. The same reading
    falsifies it. ⛔ Correctly left untouched — the order forbade touching pins and no assertion depends on
    it.

⚠️ Owed, and deliberately below the landing bar: that pin comment is a false record and it will be
repaired, ⛔ but it does not hold this landing. The line this seat has drawn all day is what ships:
a CHANGELOG entry, a README, a docs page, prose inside a shipped gate script — those have held landings
today. A stale comment on a passing internal test is a notch below that line, and ⛔ saying so plainly is
better than pretending the bar was always drawn here.

Platform reading — a sixth body-write observation, and it breaks my hypothesis

Sent 11,942 bytes, stored 12,000 (+58): GitHub appended a bare attribution footer to a body that
already carried the original seat's session-URL footer ⇒ a duplicate. stored.startswith(sent)
is True, one hunk, three added lines, zero removed.

⇒ ⛔ my 「normalise the block to exactly one」 hypothesis does not survive this: here it plainly
appended a second. Six observations now, and the only invariant holding across all of them is that a
write may alter the footer block and the body must be read back. ⭐ The agent took no action on
it — removing the duplicate needs another PATCH, which appends a third — which is the right call and the
reason the duplicate is recorded rather than chased.

⇒ carriers re-hung on both objectui#9362 and objectui#9359; a light re-review scoped to the moved
text follows. ⛔ Not a re-run of the PASS at 5654388156.


Generated by Claude Code

@claude

claude Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

⛔ The PASS at 5654896364 is RECEIVED but NOT ADOPTED — and this one shows the trap is structural

domain:spec PM seat, 2026-09-13T17:2xZ. ⛔ Carriers stay hung on both objectui#9362 and objectui#9359.

Why, by the line this seat published and must now apply against itself

At 5654677377 this seat wrote the rule out: content authored by the reviewing seat ⇒ broken, not
adoptable
; a base merge touching zero owned files ⇒ weak, stated, adoptable.

The reviewer stated its own pair exactly, unprompted:

the text under review was written by THIS seat … I wrote no byte of the code or tests, and every
byte of the prose reviewed
.

⇒ the prose is the reviewed content here, and this seat wrote it. ⛔ Not adoptable, by the same line
that made objectui#9358 and objectui#9351 adoptable. ⭐ A rule that bends when it is inconvenient was
never a rule.

⭐ The structural finding — the repair loop is what breaks the pairs

This is the part worth the maintainer's attention, because it is not bad luck:

objectui#9362's first review was clean-enough — the implementer was another session and this seat
had only base-merged. Then this seat dispatched a repair for that review's own finding ⑤. The repair
moved the head. The moved head is now this seat's content, so no review of it can be clean.

⇒ every repair this seat orders converts an adoptable pair into an unadoptable one. The better the
review, the more likely it finds something; the more it finds, the more certainly the PR becomes
unlandable. ⛔ That is a ratchet, and it now holds five PRs: objectui#9376, objectui#9399,
objectui#9343, objectui#9360 and this one. objectui#9279 is next by the same mechanism.

⚠️ ⛔ This seat is not treating that consequence as an argument for relaxing the rule. It is the
argument for the maintainer answering the protocol question, which is a different thing.

What the re-review established, regardless of adoption

⛔ Readings, not a cleared gate:

  • ① The narration is true, re-derived independently with line numbers rather than taken on faith:
    ObjectView.tsx:2432 → ListView schema.filter → buildEffectiveFilter at :1868/:3327 →
    ListView.tsx:623-636 converts only the second argument and passes baseFilter untouched →
    mergeFilterNodes → filter-converter.ts:1275 → :1237 toFilterNode → :981
    viewFilterRuleToNode, whose first statement is normalizeFilterOperator (:982) and whose tail
    (:1176-1180) returns the 3-tuple when value is defined.
  • ② The hedge is honest in both directions, and it earns its keep: besides the authored-node
    residual the repair disclosed, the reviewer found a second weaker route the same wording already
    covers — listFilterStorage.ts:62-73 returns parsed localStorage verbatim, with no operator
    validation
    . ⭐ 「no measured producer today」 was the right claim and 「impossible」 would have been
    false.
  • ③ The defect claim holds — the contract comment is md5-identical at merge base and head, and
    predates this PR by a long way (introduced in 5cdb0c9719, objectui#1678). ⚠️ One imprecision, PR
    body only
    : it says 「directly above the function」; the comment sits 337 lines above (:300-302
    vs :638). The changeset says 「the comment above it」, which is true.
  • ④ Nothing that should not have moved, moved — md5-identical on six blocks including the measured
    isNull/is_null/control block, the exported-set paragraph, the contains/icontains note and the
    frontmatter; exactly two hunks over exactly the three narration sites.

⭐ A new owed item, and the reviewer applied this seat's own line to it

The repaired narration survives in two code comments this PR added — ListView.tsx:342-347 and
:653-657, neither present at merge base.

⛔ Correctly not failed, and the reasoning is the one this seat published rather than a new one: the
comments did not move in the reviewed range, they were present at the PASS, and plugin-list publishes
files: [dist, README.md, CHANGELOG.md, LICENSE] ⇒ source comments do not ship. Same bucket as the
pin comment: owed, below the landing bar. ⭐ A reviewer reaching for the dispatching seat's published
line instead of inventing its own is the behaviour that makes a line worth publishing.

⑥, body-only: the 「Inherited reds」 paragraph is stale — Doc Snippet Type Check and Skill Example Check both report success at this head.

CI: 36 runs, 36 returned — 32 success, 3 skipped, 1 failure, 0 cancelled, 0 timed_out. The one
failure is Bundle Analysis, 「gauge not trustworthy」, also failing at the PASSed sha 9abdfa88c3
⇒ unchanged by this diff.


Generated by Claude Code

@claude

claude Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

维护者裁决 —— 独立复核对的判据改为「独立测量」,⛔ 不再是「session id 不同」

domain:spec PM 座位,2026-09-13T22:3xZ。本条是常设裁决,覆盖本板全部 PR。

维护者原话(今日 PM 会话,逐字)

新起的子代理算干净

判据随之改为:复核员是否用自己的仪器独立测量,⛔ 而不是它的 Claude-Session trailer 是否与实现方相同。

这条裁决推翻了什么

本席此前在 5654677377 自定的那条线 —— 「内容由复核席写过 ⇒ 对是坏的、不可采纳」—— 作废。⛔ 那条线是本席在没有裁决时的保守自限,不是章程条文;维护者现在给了条文,条文优先。

依它被压住的记录一并解冻:

PR 记录 此前压住的理由
objectui#9399 5654270820 天花板档 PASS 全分支 6 个提交都是本席 session
objectui#9376 5654235635 PASS 修复提交动了 3 个自有文件中的 2 个
objectui#9362 5654896364 轻量重审 PASS 被复核的散文由本席撰写

⭐ 为什么这个判据比旧的更严,而不是更松

旧判据数的是身份,新判据数的是证据。今天板上最强的两份复核恰好都是「不干净」的对:

  • objectui#9399 —— 复核员自己跑了控制腿与 head 两次构建、独立复现字节数字,并在实现方⛔ 没做消融的地方自己做了两条腿的消融(恢复控制期 resolve-icon.ts ⇒ census exit 1 + vitest exit 1;删一条生成条目 ⇒ --check exit 1)。它还对着 emit 出的 chunk 证伪了被拒形态(1,781 个 vendor-icon-* 文件,每个恰好一次工厂调用)。
  • objectui#9358 —— 复核员自己做消融,并抓出实现方、changeset、pin 三处都只列了四个而行为覆盖八个的覆盖漏洞。

⇒ 一个偏向自己席位的复核员,不会跑去在自己席位的 PR 里找覆盖漏洞然后真找到一个。⭐ 独立性由它做了什么测量来证明,不由它的签名来证明。

从此刻起的执行规则

  1. 复核记录的独立性对行照实写:谁实现、谁复核、trailer 是否相同、复核员是否写过被判内容。⛔ 措辞不许粉饰 —— 今天有四份复核在这一行上各错一种,都被要求更正过。
  2. 采纳与否看测量:复核是否自己起了工作树、自己跑了消融、自己带了会响的对照。⛔ 「我读了对方的报告并同意」不算独立测量。
  3. ⛔ 相同 session 不再是拒绝采纳的理由,⭐ 但它仍是记录里必须出现的事实。

⚠️ 本席此前提出的那个结构性发现,仍然成立

在 5654907487 记过:修复循环本身会把对弄「脏」 —— 本席每派一次修复,被复核内容就变成本席的,下一次复核便不可能是旧判据下的干净对。那个 ratchet 在旧判据下会锁死五个 PR。

⇒ 新判据把它解开了,⛔ 但它当时是真的,也是促成这次裁决的读数。记在这里,免得日后有人以为那是杞人忧天。


Generated by Claude Code

@claude

claude Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

ADOPTED — the PASS at 5654896364 is adopted verbatim under the new pair judgement. Landing proceeds

domain:spec PM 座位,2026-09-13T22:3xZ。此前在 5654907487 以「被复核的散文由本席撰写 ⇒ 对是坏的」压住;维护者裁决「新起的子代理算干净」后解冻,⛔ 逐字采纳。

三道落地门

① 同形 PASS、档位对 ✅ 5654896364(轻量重审),head e77b2e8f84,default 档
② --pair exit 0 ✅ 现跑 --pair 9362 ⇒ EXIT=0
③ 全绿 ⚠️ 32 success / 3 skipped / 1 failure = Bundle Analysis,全板 ui-components 欠账;⭐ 它在被 PASS 的那个 sha 9abdfa88c3 上同样是红的 ⇒ 本 diff 未改变它。按维护者对继承红的常设豁免放行,且该行正由 objectui#9399 偿还(已入队)

这份重审凭什么算独立测量

它⛔ 没有采信修复方的追踪,而是自己把路径重导了一遍,带行号:

ObjectView.tsx:2432 → ListView schema.filter → buildEffectiveFilter(:1868/:3327)
  → ListView.tsx:623-636 只转换第二个参数,baseFilter 原样传下
  → mergeFilterNodes → filter-converter.ts:1275 → :1237 toFilterNode → :981 viewFilterRuleToNode
     其第一条语句就是 normalizeFilterOperator(:982),尾部(:1176-1180)在 value 有定义时返回三元组

⭐ 而且它找到了修复方没找到的第二条弱路径,并确认现有措辞已经覆盖它:listFilterStorage.ts:62-73 把解析出的 localStorage 原样返回、不做算子校验。⇒ 「no measured producer today」是对的说法,「impossible」会是假的。

④ 六个不该动的块逐一 md5 比对全部相同(含实测 isNull/is_null/对照块、导出集那段、contains/icontains 注、frontmatter),恰好两个 hunk 覆盖恰好三处叙述。

已知欠项,⛔ 不压落地(两条都不发布)

  • ⑤ 被修的叙述还活在这个 PR 新增的两处代码注释里(ListView.tsx:342-347 与 :653-657)。⭐ 复核员援引本席已公开的那条线判它在门槛之下:plugin-list 的 files 是 [dist, README.md, CHANGELOG.md, LICENSE] ⇒ 源码注释不发布。
  • 这个 PR 自己新 pin 上那句「carries no value key at all」同样可测为假(filter-converter.ts:1176-1180 在 value 有定义时返回三元组)。同一桶:欠着,⛔ 不压落地。
  • ⑥ 正文「Inherited reds」段陈旧(Doc Snippet Type Check / Skill Example Check 在此 head 均 success)。正文级。

⚠️ 本席对 C 组 1,720 个大小写排列的边界裁定(5654464675)未被推翻,维持。


Generated by Claude Code

@claude
claude Bot added this pull request to the merge queue Sep 13, 2026
Merged via the queue into main with commit c10bc4c Sep 13, 2026
37 of 38 checks passed
@claude
claude Bot deleted the claude/issue-9359-fold-valueless-operator-at-list-ast-reader branch September 13, 2026 22:53
@claude

claude Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Closing the owed item recorded three times on this PR (5654704509, 5654896364, 5656634548): the pin comment «carries no value key at all» now has a carrier — objectui#9446, filed bare for triage.

Holding it below the landing bar was right; it is narration and no assertion depends on it. What changed is that this PR merged at 2026-09-13T22:53:44Z, so the sentence is on main rather than in one PR's debt, and no open PR touches that file — which is what makes a card the honest carrier instead of an acceptance note.

⚠️ One correction carried into the new card: two of those three records cite the falsifying code as filter-converter.ts:1176-1180. On merged main that path is packages/core/src/utils/filter-converter.ts, a different file; foldFilterGroupToSpecRules lives at packages/app-shell/src/views/viewFilterFold.ts:179, and the line that writes the key is :205. Re-measured on origin/main, with the pin file's own 4 hits of the symbol as the lit control.

⛔ Nothing here reopens this PR or reverses its landing.


Generated by Claude Code

akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Sep 17, 2026
…ionDefs` exemption (objectstack-ai#9470)

Fixes objectui#8653.

That closer is deliberate and it is the only one in this body: both of
the card's items are answered and pinned here — item 1's exit is chosen
by measurement, item 2's exemption is confirmed and given the pin the
card asked for. Question 2 at the bottom is where to say so if the seat
reads item 1 as still open.

`needs:contract-review` is on the card and this PR is written to be
judged: every accept-set change and every public-surface change is
enumerated below, one by one, and every published claim here was
executed before it was written down.

---

## 1. Premise verdicts — the card measured at `origin/main` `154fe2a`,
and that surface has moved

Branch base: `e3cb47624e`. `ListView.tsx` has taken several merges since
`154fe2a` (the dispatch names six), so every line number, count and "is
read undeclared" claim on the card was re-derived here before anything
was edited. Declaredness was measured with the **TypeScript checker**
(`checker.getPropertyOfType` over emitted declarations — the
`partial-schema-collapse-pin.test.ts` instrument), never a grep
(objectui#8410).

| # | Card premise | Verdict | Measurement |
|---|---|---|---|
| P1 | PR objectui#9362 has landed on `main`, so the file is free |
**TRUE** | `git log --oneline --grep='objectstack-ai#9362' origin/main` names
`c10bc4c89e`; control `--grep='objectstack-ai#9366'` names the branch base
`e3cb47624e`. |
| P2 | `title` is read at `ListView.tsx:3122` | **FALSE (stale line)** |
Re-located BY SYMBOL, not by line: the read sits in the export-filename
builder, as `viewLabel` taking `schema.label` OR-ed with `(schema as
any).title`. |
| P3 | `title` is **not a declared member** of `ListViewSchema` |
**TRUE** | Checker: `title` resolves to no property symbol on
`ListViewSchema`. The probe is a one-shot reading, so it carries its
controls with it: `label`, `objectName`, `columns`, `rowActions`,
`bulkActionDefs` all resolve; `zzqx_no_such_key` does not; an
index-signature-free control type resolves `title`. |
| P4 | it "compiles only through the string index signature" | **FALSE**
| The site is an `as any` CAST, at `154fe2a` too (`git show 154fe2a:...`
prints the identical line), so the index signature never carried it. The
checker also reads that signature as `unknown`, not `any` — a bare
`schema.title` would **not** have compiled into a `string` slot. ⭐ This
matters: the cast was laundering a real defect (§3). |
| P5 | `rowActionDefs` is read at `ListView.tsx:1970`, ONE site |
**FALSE (stale line AND stale count)** | There are **two** read sites:
the `listViewPredicates(...)` harvest and the relay into the child
`object-grid` node. Both re-located by symbol. |
| P6 | `rowActionDefs` is not declared on `ListViewSchema` | **TRUE** |
Same checker probe; also absent from `ObjectGridSchema`, which is why
both renderers cast. |
| P7 | the `rowActionDefs` read site carries **NO docblock** | **TRUE**
| Neither site did. Both do now. |
| P8 | the `rowActionDefs` read site carries **NO pin** | **TRUE, and
measured rather than asserted** | The only thing in the tree that names
this read is a REASON STRING in `app-shell`'s
`ObjectView.relayRungCensus-7559.test.ts` `WRITE_EXCEPTIONS`. That
census re-derives what the PRODUCER writes, not that the READER reads.
Ablation leg D below deletes **both** `ListView` reads and the census
still passes 24/24, exit 0. |

---

## 2. The exit each key takes, and why the contract chose it

The objectui#8327 family triage ruled that `packages/types` is a
**mirror**: declaring a key here that the platform does not declare
makes this repo accept what the platform refuses. So the exit is decided
per key by the contract. Measured against `@objectstack/spec` 17.4.0, as
KEY verdicts over otherwise-legal fixtures:

| key | spec `ListViewSchema` | spec `ObjectGridPropsSchema` |
|---|---|---|
| `title` | **REFUSED by name** (`unrecognized_keys: ['title']`) |
**ACCEPTED** |
| `rowActionDefs` | **REFUSED by name** | **REFUSED by name** |
| `label` (positive control) | accepted | accepted |
| `bulkActionDefs` (positive control) | accepted | accepted |
| `zzqx_no_such_key` (nonsense control) | refused | refused |

Both controls fire in the same run, so the refusals are readings. All
five rows are re-derived every test run in §1 of the new pin — ⛔ nothing
above is a number this PR asks you to trust.

### `title` ⇒ **retire the read** (the objectui#7129 route, as at
objectui#7623)

- **Declare is off the table.** The platform refuses `title` on the list
surface while accepting it on the grid surface. That asymmetry is
exactly why objectui#6639 could take the *declare* branch for
`ObjectGridSchema.title` in 2026-08-29 and this site cannot: declaring
it here would publish a key the save gate rejects.
- **Route-to-producer is not warranted either.** The platform already
publishes `label` for this job on the list surface, and the reader
already read it first. Asking the platform to add a deprecated alias to
a closed schema would widen the platform's accept set for zero authors.
- **Retiring costs no author a filename.** objectui#6639 chose *declare*
because authored `object-grid.title` nodes existed. Here they do not: a
parse-based, order-agnostic sweep of `apps/ examples/ content/` and
`packages/` found **zero** `list-view` nodes authoring `title`. The same
instrument, in the same runs, reproduced objectui#6639's own reading on
the grid population (its two `content/docs/api/schema-reference.md`
hits) and returned zero for a nonsense key. ⚠️ That census is a ONE-SHOT
reading taken on this branch and **nothing re-derives it** (AGENTS.md
objectstack-ai#9) — it is recorded as the reason the branch was chosen, never as a
live fact, both here and in the source docblock.
- `ObjectGrid`'s own two `title` reads are **untouched**. They remain
declared, ruled and read.

### `rowActionDefs` ⇒ **the objectui#5091 exemption extends; pin it here
the way the grid's is pinned**

The card's question, answered on five legs — the grid's three plus two
this site adds:

1. Same producer: `app-shell`'s `ObjectView` derives it from
`objectDef.actions` filtered by `locations.includes('list_item')` and
writes it onto a `fullSchema: ListViewSchema`; `plugin-view`'s
`ObjectView` composes the same key onto a `list-view` node.
2. The platform refuses it by name on **both** surfaces ⇒ declare is off
the table on either.
3. `@object-ui/types` declares it on **neither** mirror ⇒ that is why
both renderers cast.
4. ⭐ **This reader RELAYS it** into the child `object-grid` node, where
the data-table surface does declare it. `baseProps` is an explicit
picklist, so that one line is the only way a host's composed row actions
reach the row menu.
5. ⭐ **This reader also feeds the projection.** The defs carry `visible`
/ `disabled` CELs and `recordIdField`; deleting the read returns rows
whose predicate operand was never selected — objectui#3501's fail-closed
CEL fault arriving with a success receipt.

---

## 3. The defect the cast was laundering — repaired in the same
expression

`viewLabel` is `string`. `ListViewSchema.label` is `string | I18nLabel`
(the spec's inline locale map, published since objectui#4580's revised
Q1). `X || any` collapses the whole expression to `any`, so an inline
locale-map `label` reached `sanitizeFileNameBase` **unresolved**:

```
account-[object Object]-20260914-063843.csv
```

That string is the verbatim red-first reading below, taken on the
unmodified tree. The read now goes through the spec's own
`resolveI18nLabel` against the display locale — the same resolver, same
argument order, `ObjectGrid` already used at its twin site.

---

## 4. Accept-set and public-surface changes, enumerated

- **Accept set — unchanged, both directions.** Neither key is declared,
retired, widened or narrowed on any face by this diff. `packages/types`
is not touched at all: no interface member, no zod shape, no `.d.ts`.
What a document may contain is byte-for-byte what it was.
- **Published type surface — unchanged.** No export added, removed or
re-typed. `pnpm --filter @object-ui/plugin-list type-check` covers both
`tsc --noEmit` and `tsc -p tsconfig.test.json`; exit 0, zero `error TS`
lines.
- **Runtime behaviour — one deliberate change.** A `list-view` node
authoring only `title` (no `label`) no longer contributes a view segment
to the export filename; it exports as OBJECTLABEL dash TIMESTAMP dot
EXT. Migration: write `label`, the declared slot on both faces. Nothing
in the measured corpora has to change.
- **Runtime behaviour — one bug repaired.** An inline locale-map `label`
now resolves instead of stringifying (§3).
- **Everything else is comment and test.** Two docblocks at the
`rowActionDefs` sites, one at the retired site, and one new test file.

The claim `Clause-②` was filed conservatively because *declare* was one
of three available exits at claim time. The measured exits are *retire*
and *pin*, and **neither widens the accept set** — which is the review's
question, answered with the table in §2.

---

## 5. Red-first — the pin was written and run BEFORE the repair

Run on the unmodified tree at `e3cb47624e` (the pin file added,
`ListView.tsx` untouched): **2 failed | 10 passed**, verbatim:

```
AssertionError: expected 'account-Quarterly Review-20260914-063843.csv' not to contain 'Quarterly Review'
AssertionError: expected 'account-[object Object]-20260914-063843.csv' not to contain '[object Object]'
```

After the repair: **12 passed (12)**. Both runs from the repo ROOT with
`--reporter=verbose` (objectui#3378); `apps/console` occurs **0** times
in each log.

---

## 6. Ablation — four legs, each proved on disk and restored by hash
equality

Every leg: mutate, count the anchor occurrences before and after,
compare the on-disk `git hash-object` against the HEAD blob, run,
restore with `git checkout HEAD -- PATH`, and verify the restore by
**hash equality plus an empty `git diff HEAD`** — ⛔ never by an exit
code. All under `trap ... EXIT INT TERM` with absolute paths. HEAD blob
for `ListView.tsx`: `17ff6add4af9dd38743f6ec7acd12621cd067dc6`; every
leg restored to exactly that.

| leg | mutation | on-disk hash | result |
|---|---|---|---|
| A | delete the `listViewPredicates` read | `4eecde37a5` | §4 SITE 2
(projection) RED — 1 failed / 11 passed |
| B | delete the relay read | `2b7149eec4` | §4 SITE 1 (relay) RED — 2
failed / 10 passed |
| C | restore the OR-ed `(schema as any).title` arm | `04f7e2d16c` |
both §3 `title` assertions RED — 2 failed / 10 passed |
| D | delete **both** `rowActionDefs` reads | `5dc6180788` | see below |

⭐ **Leg D is the one that measures the card's "NO pin" claim.** On the
same mutated tree, in the same run:

- `app-shell`'s `ObjectView.relayRungCensus-7559.test.ts` — baseline
**24 passed, exit 0**; mutated **24 passed, exit 0**. The only thing in
the tree that names this read does not notice it is gone.
- the new pin — **3 failed / 9 passed, exit 1**.

Leg B also reddens §3's "`title` is inert" case, and that is the control
doing its job rather than a leak: that case uses `rowActionDefs`
reaching the stub as its in-fixture proof that the stub received a real
composition, so removing the relay removes the control. The test says so
at the assertion.

---

## 7. Verification

Run from the repo root. Heavy runs went through
`scripts/pm/os-verify-lock.sh` in argv form; exits read from the
wrapper's own `VERDICT command-exit` line.

| check | exit |
|---|---|
| `pnpm exec vitest run packages/plugin-list/` (whole package) | 0 —
**78 files, 964 tests passed**; `apps/console` 0 occurrences |
| `pnpm --filter @object-ui/plugin-list type-check` | 0 — after `pnpm
--filter '@object-ui/plugin-list^...' build` (exit 0). ⚠️ The first
attempt died with `TS2307 Cannot find module '@object-ui/types'` before
its dependency closure was built: that is NOT MEASURED, neither a pass
nor a red, and it was re-run. |
| `eslint --no-inline-config` on the two changed source files | 0 — **0
errors**; the new test file reports 0 warnings, `ListView.tsx` 185
pre-existing ones (`no-explicit-any` / `react-refresh`, none
introduced). Counts read from `--format json`. The universe is narrowed
deliberately: the config declares **no** `projectService` and **no**
`parserOptions.project`, so type-aware linting is off and this diff
cannot move any untouched file's verdict. |
| `check:control-bytes` | 0 — plus a direct `grep -naP` over the three
changed files (no hit; a planted control byte in a scratch file makes
the same instrument fire) |
| `check:new-line-citations` | 0 |
| `check:changeset-claims` | 0 |
| `check:test-path-roots` | 0 |
| `check:vi-mock-specifiers` / `vi-mock-override-shape` /
`vi-mock-inherit` | 0 / 0 / 0 |
| `check:handler-key-reads` | 0 |
| `check:metadata-write-doors` | 0 |
| `check:shell-escape-residue` | 0 |
| `check:unreferenced-sources` | 0 |
| `check-changeset-presence.mjs` | 0 — 1 published source file, 1
changeset |
| `check-changeset-no-major.mjs` | 0 |
| `check-governed-queue-guard.mjs --test` on all three paths | 0 — `NOT
GOVERNED`, 3 paths against 5 governed surfaces, none matched |
| `check:sdui-registration-pins` | **NOT MEASURED** — exit 2, `No
console build to weigh at apps/console/dist/assets`, which that script
itself prints as "not a pass". It is owned by `performance-budget.yml`,
which builds the console; this diff touches no registration array. |

---

## Acceptance notes

Observed while measuring, ⛔ not filed and ⛔ not repaired here:

- `packages/types/src/objectql.ts` and `zod/objectql.zod.ts` both
describe `ObjectGridSchema.title` as read at `viewLabel: schema.label ||
schema.title`. The live `ObjectGrid.tsx` spelling has had the i18n
resolver wrapped around `schema.label` for some time, so the quoted
expression is prose drift, not a defect: the two sites, their count and
their `label`-first semantics are all still accurate. Noted, not filed —
a doc nit with a named successor: the next card that touches
`ObjectGridSchema.title` or that ledger entry.
- `ListView`'s export-filename `label` argument (the OBJECT label,
distinct from the view label this PR touched) is still handed through
without the inline-locale resolver. It is a different argument on a
different key with a different producer, and `resolveObjectLabel`
already handles the translated case ahead of it. Noted, not filed;
carrier: any card that revisits `buildExportFileName`'s callers.

## Open questions for the in-seat contract review

1. **Is `retire` the right exit for `title`, or does the seat want
route-to-producer?** The measurement says the platform refuses the key
on this surface and no author writes it, and §2 argues route-to-producer
would widen the platform for zero authors. If the seat disagrees, the
objectstack-side card would have to ask `@objectstack/spec`'s
`ListViewSchema` to declare a deprecated `title` alias — and this PR's
`ListView.tsx` hunk would revert to the cast plus a pin, exactly the
objectui#8652 / objectstack#17987 shape.
2. **Is `Fixes` right, or should this be `Part of`?** Both card items
are answered and pinned, which is why `Fixes` is used. If the seat
treats item 1's exit as still open pending (1), say so and it becomes
`Part of`.

---

Session: `session_01L5xpA5q533BgTTNADibEFt`

---
_Generated by [Claude
Code](https://claude.ai/code/session_01L5xpA5q533BgTTNADibEFt)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants