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

feat(core,app-shell): execute the declarative row-level operation: 'update' action - #9972

Merged
os-tesla merged 2 commits into
mainfrom
claude/issue-7551-action-operation-update-executor
Sep 19, 2026
Merged

os-tesla merged 2 commits into
mainfrom
claude/issue-7551-action-operation-update-executor

Conversation

@os-tesla

Copy link
Copy Markdown
Collaborator

Fixes #7551

Executes the declarative row-level operation: 'update' action — the objectui half of objectstack#14092, consuming @objectstack/spec 17.3.0's ActionSchema.operation / patch (spec half: objectstack PR #15077).

Note on spelling: this body writes TypeScript generics with square brackets (Record[RunnableActionType, …]) instead of angle brackets, including inside the one verbatim quote below. GitHub's body sanitizer eats short angle-bracket-shaped fragments, so the transliteration is there to keep the quote readable rather than half-swallowed. The source says angle brackets.

Step zero — the install probe, which is this card's release criterion

Comment 5555380342 pins the criterion by name: installability, not upstream merge, and forbids the other reading in as many words. The claiming seat could not take the probe (the shared checkout has no install — the control zod was empty too, so the zero was a broken instrument, not an absence). Taken here, in a worktree that installs, after pnpm install --frozen-lockfile.

Resolved from packages/core, which declares @objectstack/spec at ^17.3.0 (the repo root does not resolve it). Installed version 17.4.0.

leg input verdict
SUBJECT { name, label, operation: 'update', patch: { status: 'done' } } ACCEPTED
CONTROL A { name, label, type: 'script', target: 'handlers/ping' } ACCEPTED — the schema works at all
CONTROL B { …, operation: 'BOGUS_CONTROL' } REFUSED (invalid_value at operation) — the probe discriminates

Parsed subject: {"name":"mark_done","label":"Mark Done","type":"script","operation":"update","patch":{"status":"done"},"refreshAfter":false}, and ActionType.options reads ["script","url","modal","flow","api","form"] — no new member, exactly as the card relays.

Two corrections to the relay, both found by re-deriving rather than trusting it:

  • Control A's first spelling was wrong and the probe said so. { type: 'script', script: … } is REFUSED — script is not a key, and execute (the obvious second guess) is a spec-17 tombstone whose refusal prescribes the rename. The handler slot is target. A control that fails is not a control; the leg above is the corrected one.
  • A first sweep of the refusal clauses was contaminated by a fixture whose name was too short, so every leg came back REFUSED for a reason that had nothing to do with the key under test. Re-derived with a valid name.

With that fixed, every clause the card relays reproduces against the installed schema: target, body, method, bodyExtra, bodyShape, recordIdParam, recordIdField, onSuccess, opensInNewTab, newTabUrl each REFUSED beside operation: 'update'; list_toolbar REFUSED in locations (a custom refinement) while list_item / record_header / record_more / record_related / record_section are accepted; type: 'script' accepted and every other explicit type refused; patch without operation refused; operation with neither patch nor params refused.

Executor contract

1. operation is read before type. The dispatch in ActionRunner.execute now branches on operation === 'update' ahead of both the registered-handler lookup and the built-in table. The card's key argument is checkable and the file states it itself — verbatim from the comment above the builtinExecutors declaration:

Built-in dispatch, one entry per runnable action type.

A table rather than a switch because the type annotation is the guard: Record[RunnableActionType, …] stops compiling the moment @objectstack/spec adds an ActionType this runner has no executor for. That is the whole Tier-2 failure class for actions — a spec name that validates at save and then does nothing at run time (#2942) — converted into a build error.

Because ActionType did not move, that Record compiled unchanged across this bump — which is precisely why the key needs its own branch: by the time type is consulted, an update action is indistinguishable from any other script action.

2. The write is performed by the platform action route. The runner composes { recordId, params } and hands it to the registered script dispatch, which POSTs /api/v1/actions/{object}/{action}. One re-location worth recording: the card says to POST "the same route executeScript already posts", but on this base executeScript does not post anything — it evaluates client-side, and names the route only in its refusal text, prescribing createServerActionHandler. That factory is what owns the POST, and app-shell registers it under script (handlers: { api, flow, script: serverActionHandler, modal }). Routing through it is what makes "the same route" true. A consumer with no such dispatch registered gets a loud refusal naming the remedy — never a client-side dataSource.update(), and never the silent fall-through to executeActionSchema.

3. Forward sites — enumerated by the gate, not by hand: 4. Making the runner read the two keys moved the gate's runtime-read set from 39 to 41 and each declared surface's owed count from 25 to 27, and it then named exactly four surfaces: action:button, action:icon, action:group, action:menu. All four now forward the pair. element:button is not among them and needed no entry — its contract is spec's InlineActionSchema pick list, so the gate derives an inline owed set that does not carry these keys. The spread-based hosts (DeclaredActionsBar, RelatedRecordActionsBridge, ObjectGrid, page:header's dispatchHeaderAction) carry the keys through by construction; each was read rather than assumed. The two app-shell bodyExtra sites are deliberately unchanged: they are readers inside the type: 'api' handlers, and that path's client-side dataSource.update is exactly what clause 2 forbids for this key.

patch merges under the collected params, per the spec's own wording. With undoable: true the Undo affordance captures prior values of exactly the fields written — the collected params included, since restoring only part of an edit while reporting a full undo is worse than offering none.

The in-tree note recording the 2026-09-05 maintainer ruling on the 17.3.0 bump ("record both as justified omissions now; forward only the key a runtime actually reads, once its semantics are read from upstream — no speculative forwarding") is updated rather than left standing: its condition is now met, and it claimed in the present tense that no runner branch reads the keys and no surface forwards them.

Verification

All figures below are from runs at the final head acee73257. Type-checks and vitest ran behind scripts/pm/os-verify-lock.sh.

check verdict
type-check — types, core, components, app-shell exit 0 (all four)
vitest packages/core/src/actions/ exit 0 — 25 files, 437 tests
vitest packages/components/src/renderers/action/ exit 0 — 19 files, 299 tests
vitest components __tests__ + app-shell metadata-admin inspectors exit 0 — 269 files, 2955 tests (one file failed on first run, fixed, see below)
node scripts/check-action-forward-parity.mjs (objectui#4050) exit 0 — 5 surfaces, 41 runtime-read keys, 19 justified, 7 known gaps
node scripts/check-governed-queue-guard.mjs --test over the final 11 files exit 0
pnpm check:control-bytes exit 0 — 8038 tracked text files
pnpm check:spec-floors exit 0 (see the prerequisite note below)
node scripts/check-changeset-presence.mjs exit 0 — 10 source files of 4 released packages, 1 changeset
pnpm check:new-line-citations exit 0 — 0 new citations
pnpm check:installed-pin-claims · pnpm check:action-ref-convention exit 0

Governed-queue guard verdict, verbatim:

✅ NOT GOVERNED — 11 path(s) checked against 5 governed surface(s); none matched.
   An ordinary pull request: the normal review and merge-queue route applies.

check:spec-floors first exited 1 with four no-artifact findings — packages with no build output for it to judge. That is a prerequisite failure, not a finding: the gate says in its own words that it refuses to return "nothing to inspect, therefore clean". It is directly relevant here (this change makes packages/components and packages/app-shell read 17.3.0 keys while both declare ^17.0.0), so the packages were built and it was re-run for a real reading: green, because it judges by exported symbol names and these two are property names, which move no floor.

Ablation

Mutation: the operation-first branch deleted from ActionRunner.execute, through ablation-replace.mjs so the write is verified against the disk rather than against an exit code.

anchor   x1 -> x0
blob     946ab814ae3e1830a3e639c4f145aeae8b3dcce3 -> 5470faea208f1b5229851fb5306f930abbcccff6
ok mutation landed: anchor 1 -> 0, blob 946ab814ae3e -> 5470faea208f

Predicted direction before running: red. Observed: 5 failed | 5 passed of 10.

The inputs the two implementations disagree about are chosen so the disagreement is the defect, not a signature change. The sharpest is the request body: ablated, the action still reaches the route (its type is script), and the POST carries

  {
    "note": "typed by the user",
    "recordId": "rec_2",
-   "status": "done",
  }

— the route asked to write a record, handed no field values, answering success for having written nothing. The second is an action carrying no type at all (a sys_metadata row rehydrated unparsed): ablated, it lands in executeScript and reports No script provided for script action.

The 5 that stayed green are the reverse pins and the no-undoable case — a script action without operation is byte-for-byte unaffected. That asymmetry is the evidence the ablation was targeted rather than broad.

Restore proven on both legs:

blob after restore  946ab814ae3e1830a3e639c4f145aeae8b3dcce3
blob at HEAD        946ab814ae3e1830a3e639c4f145aeae8b3dcce3
git diff HEAD       empty

No ablation artefact remains and no permanent test file was added for it. The subject resolves through a relative source import (../ActionRunner), not through the package's exports, so no dist preflight applies — stated because the absence of one is otherwise indistinguishable from a forgotten one.

One pin needed updating, and why that is not a weakened gate

action-forward-precedence.test.tsx enumerates the exact key set and order action:button / action:icon compose. It went red with + operation, + patch and nothing else moved. The declared lists gain the two names in the position the forwards occupy (beside bodyExtra / bodyShape, which shape the same request). The reading the pin exists to give is unchanged: the list is compared whole, so an insertion that genuinely reordered its neighbours would still surface as several moved names rather than two added ones.

Lint narrowing, declared

Narrowed to the 10 changed .ts/.tsx files: exit 0, 0 errors, 79 warnings (all pre-existing @typescript-eslint/no-explicit-any and react-refresh/only-export-components, which are warnings and do not fail).

  • Population — read from eslint.config.js itself, not guessed: the selector is files: ['**/*.{ts,tsx}'] and the ignores block removes dist, .next, node_modules, public, .source and three literal untracked build artefacts. Over tracked files that is 4986.
  • Count — 10, read from the --format json output's own length, not from my file list.
  • Invariance — type-aware linting is not enabled: the config extends tseslint.configs.recommended (not recommendedTypeChecked) and declares no parserOptions.project or projectService anywhere, and no rule in eslint-rules/ reads another file from disk. Each file's verdict is therefore a function of that file plus the shared config; this diff touches no config and no shared rule, so it cannot move the verdict of any of the 4976 untouched files.

One methodological correction: the first narrowed run used --no-inline-config and reported 5 errors. That flag was mine, not this repo's — the lint script here is a plain eslint . per package — and it manufactured those errors by disabling eslint-disable comments that legitimately exist in two of the renderers. The reading above is the one taken as the repo actually lints.

Scope and delivery

Draft, deliberately, and left that way. objectui AGENTS.md:330 tells a green non-governed PR author to self-merge; that clause conflicts with this dispatch, the conflict is filed as objectstack#19128, and until it is ruled this acts on the stricter side. No label is applied (this repo names no dev-applied label; needs:contract-review is the seat's). No ready flip, no auto-merge, no CI wait.

The claim comment carries no Clause-②: line to copy into this body — recorded rather than invented. Check Changeset reads this body and the changeset is present and green on its own gate.

Acceptance notes

Observations made while working, filed nowhere and not fixed here:

  • The card's executor contract cites executeScript as the thing that "already posts" the action route. It does not, on any base in this repo's recent history — the POST has lived in createServerActionHandler since objectui#2904. The card's line numbers are from 3e01cb55 and were re-located rather than trusted, as instructed.
  • The spec's undoable description says "patch names exactly the fields whose prior values are captured", while an update action may also write collected params. This implementation captures the union (every field actually written), on the ground that a partial restore reported as a full undo is the worse failure. For a patch-only action — the shape the sentence describes — the two readings are identical. Worth a spec-side word if the narrower reading was meant.

Generated by Claude Code

os-tesla and others added 2 commits September 18, 2026 22:55
…ction

`ActionSchema.operation` / `patch` (@objectstack/spec 17.3.0) parsed, published
and read as honoured while nothing consumed them. Dispatch now branches on
`operation` ahead of `type` — it has to, because the spec materializes
`type: 'script'` here and `ActionType` gained no member, so by the time `type`
is consulted an update action is indistinguishable from any other script action
and its `patch` never reaches the request.

The write is performed by the platform action route, never client-side: the
runner composes `{ recordId, params }` and hands it to the registered `script`
dispatch, which POSTs /api/v1/actions/{object}/{action} as the caller, so the
permission floor, hooks and validations all fire. With no such dispatch
registered the action refuses loudly instead of falling through to
`executeActionSchema`. A route refusal surfaces with its own code and message
rather than a green success toast.

`patch` merges under the collected params, per the spec's wording. `undoable`
captures the prior values of exactly the fields written. The four declared
action renderer surfaces forward both keys — `check:action-forward-parity`
enumerates them — and the Studio action inspector authors the pair on a second
axis beside `type`, mirroring the spec's refusal set.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018HrVaotisyhgmot9o2MLRq
…der pin

`action-forward-precedence` enumerates the exact key set and order each of
`action:button` / `action:icon` composes. The two new forwards sit with
`bodyExtra` / `bodyShape` because they shape the same request, so the declared
lists gain them in that position. The reading the pin exists to give is
unchanged: the list is compared whole, so a failure still shows the added names
against a sequence of pre-existing keys whose relative order did not move.

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

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 10 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/6306-action-icon-type-resolution.md

  • names action-button.tsx → packages/components/src/renderers/action/action-button.tsx — edited by this change

    Scope is this one renderer. type: schema appears in exactly two files under renderers/action/ — action-button.tsx (already correct) and action-icon.tsx; action:group and action:menu compose their members differently and are untouched.

  • names action-icon.tsx → packages/components/src/renderers/action/action-icon.tsx — edited by this change

    Scope is this one renderer. type: schema appears in exactly two files under renderers/action/ — action-button.tsx (already correct) and action-icon.tsx; action:group and action:menu compose their members differently and are untouched.

.changeset/6329-actionparam-one-authority.md

  • names ActionDefaultInspector.tsx → packages/app-shell/src/views/metadata-admin/inspectors/ActionDefaultInspector.tsx — edited by this change

    ActionParam has one authority again (objectui#6329). The name was declared three times, not twice as the card counted: @object-ui/types publishes it — derived from the spec's ActionParamSchema input, with its own parity suite — and ActionDefaultInspector.tsx and ActionPreview.tsx each carried a module-local interface of the same name. app-shell already read the published one elsewhere (utils/resolveActionParams.test.ts), so both locals were shadows. They are deleted, not reconciled against each other, under the 2026-08-25 family ruling 甲A1.

.changeset/6349-types-internal-name-collisions-batch-1.md

  • names ui-action.ts → packages/types/src/ui-action.ts — edited by this change

    ActionSchema — renamed, because the two shapes are unrelated. crud.ts and ui-action.ts both declared it. Measured member-by-member they share 9 keys out of 28 each: crud.ts extends BaseSchema and pins type: 'action' (a UI node — a button in a component tree), ui-action.ts extends nothing and types type as ActionType (a spec-v2 action definition, with name, locations, params, target). Re-pointing either at the other would silently hand a consumer a different type, so this took the rename branch (objectui#5044 is the precedent for choosing the surviving name). ui-action.ts's declaration is now spelled UIActionSchema — the name src/index.ts has always PUBLISHED it under, via export type { ActionSchema as UIActionSchema }, which is now a plain re-export. The package's public surface is unchanged: ActionSchema still means crud.ts's legacy shape and UIActionSchema still means ui-action.ts's, exactly as before. Nothing outside ui-action.ts imported the old spelling — there is no ./ui-action subpath in exports, so the old name was never reachable from outside the package.

.changeset/8318-jsdoc-default-tag-corrections.md

  • names core/src/actions/ActionRunner.ts → packages/core/src/actions/ActionRunner.ts — edited by this change

    • CRUDDialogSchema.size / .closeOnOutsideClick / .closeOnEscape / .showClose — there is no register('crud-dialog' anywhere, so no node of that type ever reaches a renderer. Recorded once on the interface. Per key, the name census differs: two spellings occur nowhere outside the declaration and its zod twin, and showClose's one other occurrence (renderers/overlay/drawer.tsx:38) belongs to DrawerSchema. - ActionSchema.level — type: 'action' is not a rendered node type, and core/src/actions/ActionRunner.ts, which is what makes method / chainMode / reload / close live, does not read level. - CardSchema.variant — card IS registered, twice, and neither registration reads it: the ui route forwards the key to ui/card.tsx, which spreads onto a div and mentions variant nowhere, and the page route forwards only its designer props. - PageNodeSchema.isDefault — page IS registered, and PageRenderer neither reads the key nor forwards it: the wrapper element gets toDomProps(props), an allow-list that does not carry it.

.changeset/action-callback-retired-7068.md

  • names ui-action.ts → packages/types/src/ui-action.ts — edited by this change

    Where the live meaning lives. Post-success navigation is the spec's onSuccess block, { navigate, openIn }, declared on UIActionSchema (ui-action.ts) and forwarded to the runner (objectui#5934). A success or failure notice is successMessage / errorMessage — adjacent keys on the same legacy ActionSchema, NOT retired, and still accepted on both faces.

.changeset/action-keys-warning-text-5642.md

  • names ActionRunner.ts → packages/core/src/actions/ActionRunner.ts — edited by this change

    Both halves of the message's tail had outlived the change they described. It told the author the key was warned about rather than rejected because ActionDef "still carries [key: string]: any" — objectstack#4075 step 3 deleted that index signature, and actionKeys.pin.test.ts pins the deletion in the opposite direction ({ ActionDef: false, ActionContext: true }), while actionDef-closed-surface.test.ts pins that tsc now rejects exactly such a key at the construction site. And it prescribed promoting the key to an explicit field on ActionDef "(packages/core/src/actions/actionKeys.ts)" — that file holds the INVENTORY (ACTION_DEF_KEYS); the interface is in ActionRunner.ts. The wrong pointer had teeth: an author who followed it edited the inventory alone, which is precisely the half-change the pin test reddens on, since it re-derives the inventory from the interface's AST.

.changeset/host-dispatch-action-keys-5611.md

  • names actions/actionKeys.ts → packages/core/src/actions/actionKeys.ts — edited by this change

    Adds an exported HOST_DISPATCH_ACTION_KEYS (sole member overrideNotice) to actions/actionKeys.ts and unions it into KNOWN_ACTION_KEYS, which is the fourth input to that set and the first one that is not an authored-surface mirror. Measured before and after on the exact dispatch the bar composes: the warning went from one call naming overrideNotice to none, KNOWN_ACTION_KEYS grew by exactly one member, and an action carrying a real typo alongside it still warns — naming targt only.

.changeset/i18nlabel-inverted-pin-5612.md

  • names ui-action.ts → packages/types/src/ui-action.ts — edited by this change

    The I18nLabel "inverted pin" now watches the premise it claims to watch, and ui-action.ts no longer imports a symbol it never uses (objectui#5612, objectui#5613).

.changeset/param-dialog-title-fallback-4282.md

  • names ui-action.ts → packages/types/src/ui-action.ts — edited by this change

    title is declared on no action surface in the ecosystem: it is absent from @objectstack/spec's ActionSchema (44 keys walked at spec 17.0.0), from @object-ui/core's ActionDef and its pinned ACTION_DEF_KEYS / SPEC_ACTION_KEYS inventories, and from @object-ui/types' renderer view (ui-action.ts) and crud.ts ActionSchema / BaseSchema. None of the four action renderers — action:button, action:icon, action:group, action:menu — forwards it either. So the right-hand side of that || could not be reached by authored metadata: a fallback that cannot fire, which is the "declared is not enforced" shape objectstack#4075 exists to reduce. Nothing a user hits changes; the line now reads exactly one key, matching the description line directly below it.

.changeset/record-detail-param-dialog-title-5610.md

  • names ui-action.ts → packages/types/src/ui-action.ts — edited by this change

    title is declared on no action surface in the ecosystem: it is absent from @objectstack/spec's ActionSchema (44 keys walked at spec 17.0.0), from @object-ui/core's ActionDef and its pinned ACTION_DEF_KEYS / SPEC_ACTION_KEYS inventories, and from @object-ui/types' renderer view (ui-action.ts) and crud.ts ActionSchema / BaseSchema. None of the four action renderers — action:button, action:icon, action:group, action:menu — forwards it either. So the right-hand side of that || could not be reached by authored metadata: a fallback that cannot fire, which is the "declared is not enforced" shape objectstack#4075 exists to reduce. Nothing a user hits changes; the line now reads exactly one key, matching the description line directly below it.

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with 99c4eb890 (merge-base with origin/main): 10 file(s) changed outside .changeset/, read against 1195 pending declaration(s) that publish a body (1748 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3053.3 KB 3104.5 KB
Main entry chunk (gzip) 145.7 KB 350 KB
Entry file index-CT4h-TuM.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) 545.95KB 130.77KB
core (index.js) 8.94KB 3.59KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 216.90KB 60.15KB
fields (index.js) 249.62KB 63.02KB
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) 5.52KB 2.10KB
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.92KB 14.22KB
plugin-charts (index.js) 71.73KB 20.08KB
plugin-chatbot (index.js) 195.35KB 46.52KB
plugin-dashboard (index.js) 132.96KB 35.17KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 254.30KB 66.21KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 137.11KB 34.36KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 213.44KB 58.21KB
plugin-kanban (index.js) 48.10KB 14.94KB
plugin-list (index.js) 113.42KB 27.95KB
plugin-map (index.js) 21.48KB 6.99KB
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) 10.58KB 3.72KB
plugin-view (index.js) 85.05KB 21.01KB
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) 108.85KB 36.01KB
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) 4.11KB 2.06KB
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

@os-tesla
os-tesla marked this pull request as ready for review September 18, 2026 23:41
@os-tesla
os-tesla added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit feac439 Sep 19, 2026
38 checks passed
@os-tesla
os-tesla deleted the claude/issue-7551-action-operation-update-executor branch September 19, 2026 00:01
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Oct 7, 2026
…t moved (objectui#10979) (objectstack-ai#11046)

Fixes objectstack-ai#10979
Clause-②: no — release-note prose only; no accept set or public surface
changes.

## What this does

Eleven pending changesets were named on the card as stating a
present-tense repository count that is false on `main`. Each count was
re-derived here on `main` at `2eaf5be27` (the commit the PM read at
dispatch), with the query printed below and, as its positive control,
the same query at the entry's own landing commit or base.

- **Nine entries re-derive false on `main`.** Each gets one dated note
(2026-09-29), placed directly after the paragraph that holds the counted
sentence. That is the objectui#10877 / PR objectui#10891 form. The note
quotes the sentence, gives the reading at the entry's own landing commit
(or base), names what moved it and in which PR, and gives the
re-measured reading at `2eaf5be27` in the past tense. Two of the nine
(`5134`, `7497`) do not re-derive even at their own base, and their
notes say so instead of claiming the sentence was ever true.
- **Two entries are left untouched** (`9187`, `3965`). Their sentences
re-derive true on `main`; the reasons are in the table.
- Frontmatter is byte-identical in all eleven files, and no existing
line is edited or deleted: `git diff --numstat 2eaf5be HEAD` is 98
insertions, 0 deletions, over 9 files.
- **No new changeset.** The diff is `.changeset/` only, and
`check-changeset-presence` says none is owed (output below).

## The ruling this write relies on

On 2026-09-29, in the `domain:spec @ objectui` seat's chat, the
maintainer chose 「Allow the appended note (Recommended)」. Recorded on
this card as comment `5883370240` (the same text is `5883360525` on
objectui#4356):

> You allow developers to append dated correction notes to pending
.changeset files (appended only, no existing line or frontmatter
edited). ... The same permission also unblocks objectui#10974 and
objectstack-ai#10979, which I dispatch straight away.

## Per entry

Readings are over tracked files at a named commit. "Base" means the
parent of the squash commit, the commit the change landed on.

| Entry | Counted sentence (quoted) | Reading at landing | Reading on
`main` `2eaf5be27` | Query | Outcome |
|:--|:--|:--|:--|:--|:--|
| `7561-filter-builder-operator-trigger-label` | "the spec's alias table
`gt` / `lt` / `eq`, which three schema-catalog entries author today" | 3
catalog files at `9ae871d00` | 0 files; control: the same 3 fixtures
carry `equals` / `less_than` / `greater_than` | Q1 | **Noted.** True at
landing; objectui#6939 (PR objectstack-ai#9558) respelled all seven operators. |
| `component-meta-converge-and-deprecate-alias-5893` | "In-repo,
`PluginComponentMeta` has exactly one occurrence — its own export line"
| 1 line in 1 file at the base `575b71c850`; 13 lines in 5 files at the
landing commit `6d1c15536` itself | 19 lines in 7 files; 1 importing
`.ts` file, this change's own pin | Q2 | **Noted.** True at its base.
Its own pins and prose moved it, then objectui#5674 (PR objectstack-ai#10826) added
more. |
| `6296-conditionbuilder-subject-vocabulary` | "all five files that
mount it today — six mount sites" | 6 sites in 5 files at `88b15fddc` |
7 sites in 6 files | Q3 | **Noted.** objectui#6226 (PR objectstack-ai#6668) mounted it
in `FlowNodeConfigField`, a flattened-scope site. |
| `6487-visibility-advice-per-tier` | "All three in-repo call sites pass
their tier explicitly" | 4 calls in 3 files at `c71e14d1c`, from 3 gates
| 5 calls in 3 files, from 4 gates; all 5 pass a tier | Q4, plus each
call's sixth argument read by hand | **Noted.** objectui#6445 (PR objectstack-ai#6510)
added the `disabled` / `disabledOn` enablement gate. True at landing
only when counting gates; the note says so. |
| `9187-record-highlights-layout-two-values` | "every in-tree `layout:
'grid'` belongs to a different component" (names 3 files) | 8 files at
`96919a459`, 3 of them this change's own | 13 files | Q10 | **Not
noted.** The sentence states no count, and its claim re-derives true:
every hit belongs to `detail-view`, `ai-recommendations`, the
`SchemaForm` tests' form-layout parameter, or this change's own pin and
prose. The parenthetical was already non-exhaustive at landing
(`ai-zero-read-members-retired-8178.test.ts` and
`SchemaForm.gridCellNaming.test.tsx` carried the literal and are not
named), so nothing went false after landing. |
| `list-view-nested-aria-label-i18n-5134` | "the resolver four other
in-repo read sites already use" | 10 other files importing it, 17 call
lines, at the base `e40b8579bd` | 14 other files, 27 call lines | Q5 |
**Noted.** False at its own base too; the note does not claim otherwise.
|
| `3965-mint-box-neutral-container` | "the catalog's 25 remaining
`div`-authoring fixtures (80 nodes) migrate to it" | 86 `div` nodes in
28 files at the base `19f363736e`, and 6 in 3 at `a04d7c65c`: 80 nodes
in 25 files migrated | 6 nodes in 3 files, unchanged | Q11 | **Not
noted.** The figure describes this change's own migration and re-derives
exactly. The residue (the exempt `components-basic-div` pair, 5 nodes,
plus one test string) is unchanged since landing. |
| `queryparams-closed-keys-7497` | "packages, apps, examples, e2e and
scripts trees (4,362 files)" | At the census base `7dcda9cd4` that the
commit message names: 5,203 tracked files, 4,344 TS/JS sources. No
tracked-file reading gives 4,362. | 6,700 tracked files, 5,819 TS/JS
sources | Q6 | **Noted.** False on `main` by any tracked-file reading.
The note does not claim the figure held at its base. The census's zero
was not re-run. |
| `6837-reference-to-arm-deletion` | "`normalizeSchemaReferenceKeys`,
which has exactly two production call sites" | 2 at `045d20ba8` | 3 (2
in `MetadataProvider`, 1 in `ObjectStackAdapter.getObjectSchema`) | Q7 |
**Noted.** objectui#7650 (PR objectstack-ai#8868) added the by-name serve path call. |
| `8450-inspector-select-placeholder` | "13 of the 45 call sites" and
"all 45 call sites, none of which passes a placeholder of its own" | 45
mounts in 13 files at `0c4694437`, 0 passing `placeholder` | 47 mounts
in 13 files, 1 passing `placeholder` | Q8, plus an element scan for a
`placeholder=` attribute | **Noted.** objectui#6830 (PR objectstack-ai#9110) gave the
flow-node select its own placeholder. objectui#7551 (PR objectstack-ai#9972) and
objectui#7597 (PR objectstack-ai#10527) each added a mount that offers a `''` row. The
13 / 32 split is not re-classified, and the note says so. |
| `7415-action-type-input-rename` | "517 JSON files (433 of them the
schema catalog)" | At the base `6411def250`: 433 catalog schema JSON
files, and the control is 127 plain `button` nodes, matching the
sentence. 517, 4,797 and 2,410 do not re-derive from tracked files. |
432 catalog schema JSON files; control 119; the zero still 0 | Q9 |
**Noted.** The re-derivable figure moved (433 to 432). The note names
the base commit and scopes out the rest. |

## Queries, as printed

Each line below was re-run in exactly this form. REV is the commit named
in the table. A match on a tag-shaped name is spelled `\x3c`, because
the body sanitizer eats a literal opening angle bracket.

```bash
# Q1
git grep -lE '"operator"\s*:\s*"(gt|lt|eq)"' REV -- examples/schema-catalog | wc -l
git grep -lE '"operator"\s*:\s*"(equals|less_than|greater_than)"' 2eaf5be -- examples/schema-catalog/src/schemas/components-complex-filter-builder | wc -l
# Q2
git grep -h -c PluginComponentMeta REV | paste -sd+ | bc; git grep -l PluginComponentMeta REV | wc -l
git grep -lE 'import[^;]*PluginComponentMeta' 2eaf5be -- '*.ts' '*.tsx' | wc -l
# Q3
git grep -nP '\x3cConditionBuilder\b' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md'
# Q4
git grep -nE 'reportUnresolvableVisibilityPredicate\(' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' ':!packages/react/src/utils/visibilityDiagnostic.ts'
# Q5
git grep -lE 'import \{[^}]*\bresolveI18nLabel\b' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' ':!*.mdx' ':!packages/plugin-list/src/ListView.tsx' | wc -l
git grep -nE '\bresolveInlineI18nLabel\(' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md' ':!*.mdx' ':!packages/plugin-list/src/ListView.tsx' | grep -vE '^[^:]+:[^:]+:[0-9]+:\s*(\*|//)' | wc -l
# Q6
git ls-tree -r --name-only REV -- packages apps examples e2e scripts | wc -l
git ls-tree -r --name-only REV -- packages apps examples e2e scripts | grep -cE '\.(ts|tsx|js|jsx|mjs|cjs|mts|cts)$'
# Q7
git grep -nE '\bnormalizeSchemaReferenceKeys\(' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md'
# Q8
git grep -nP '\x3cInspectorSelectField\b' REV -- ':!*.test.*' ':!**/__tests__/**' ':!*.md'
# Q9
git ls-tree -r --name-only REV -- examples/schema-catalog/src/schemas | grep -cE '\.json$'
git grep -hoE '"type"\s*:\s*"button"' REV -- ':(glob)examples/**/*.json' ':(glob)apps/console/**/*.json' ':(glob)content/docs/**/*.json' ':(glob)packages/**/*.json' | wc -l
git grep -hoE '"type"\s*:\s*"action:(button|icon)"' REV -- ':(glob)examples/**/*.json' ':(glob)apps/console/**/*.json' ':(glob)content/docs/**/*.json' ':(glob)packages/**/*.json' | wc -l
# Q10
git grep -lE "layout['\"]?\s*:\s*['\"]grid['\"]" REV -- ':!**/CHANGELOG.md'
# Q11
git grep -h -cE '"type"\s*:\s*"div"' REV -- examples/schema-catalog | paste -sd+ | bc
```

At its landing commit or base, each query reproduces the sentence it
tests (the "Reading at landing" column). That is the positive control.
The exceptions are `5134` and `7497`, where no reading reproduces the
figure, and the table says so. The checkout is shallow (boundary
2026-07-20). Every commit named above is inside that window: the landing
commits date from 2026-08-21 to 2026-09-12, and each supersession
ordering was read with `git merge-base --is-ancestor`, which returned
exit 0.

## Verification (head `b9a21e2e4`)

Frontmatter md5 (first 8 hex digits), identical at `2eaf5be27` and at
head for all eleven entries:

| Entry | Frontmatter md5 |
|:--|:--|
| 7561 | `3d9e2a1e` |
| 5893 | `ecedb10c` |
| 6296 | `4cdeb4c7` |
| 6487 | `02817e1c` |
| 9187 (untouched, whole file `64351ea9` at both) | `ecedb10c` |
| 5134 | `c9a085e4` |
| 3965 (untouched, whole file `0dded8e3` at both) | `125d3a04` |
| 7497 | `ecedb10c` |
| 6837 | `9f3f1cc6` |
| 8450 | `4e8ce550` |
| 7415 | `3d9e2a1e` |

- Added lines: 0 angle brackets, 0 control bytes, 0 model identifiers
and 0 line addresses. Every citation is a quoted sentence, a symbol or a
file name.
- `node scripts/check-changeset-presence.mjs` exited 0: "9 file(s)
changed, 0 of them published source … 0 changeset(s) added. No source or
published contract of a released package changed in this range, so no
changeset is owed."
- `node scripts/check-changeset-no-major.mjs` exited 0. `node
scripts/check-changeset-fixed.mjs` exited 0.
- `node scripts/check-changeset-claims.mjs` exited 0. The
self-contradiction reading covers these 9 bodies, and nothing is
negated.
- `node scripts/check-changeset-overwrite.mjs` exited 0 (report-only).
It lists the 9 modified entries, and each one's "declared at base"
equals its "declares now".
- `pnpm check:pending-changeset-literals` exited 0. `pnpm
check:control-bytes` exited 0.
- `pnpm check:new-line-citations` exited 0: "VERDICT
new-cross-file-line-citations: 0 new citation(s)".
- `pnpm check:installed-pin-claims` exited 0.
- `node scripts/check-governed-queue-guard.mjs --test` over the 9 paths
exited 0: "NOT GOVERNED".
- `pnpm exec vitest run` over
`scripts/__tests__/check-changeset-{claims,fixed,no-major,overwrite,presence}.test.ts`,
`check-pending-changeset-literals.test.ts` and
`changeset-polarity-census.test.ts`: Test Files 7 passed (7), Tests 292
passed (292).
- The adjacent suites that walk `.changeset/` (`body-dialect-census`,
`dollar-dialect-alias-census`, `check-installed-spec-pin-claims`,
`check-control-bytes`, `quick-reference-current-release-4143`,
`render-changeset-claims-comment`): Test Files 6 passed (6), Tests 164
passed (164). No test names any of the nine files.

## Acceptance notes

These are observations only. None is filed.

- `6837-reference-to-arm-deletion` carries other present-tense counts
that the card does not name ("Eleven of the sixteen sites", "Three
readers"). They are not measured here.
- `8450`: the "13 of the 45" / "The other 32" classification is not
re-derived. The note says it stays the reading of that change.
- `3965`: "the catalog ratchet closes to zero tolerance for
JSON-authored `div`" reads as absolute, while the `components-basic-div`
exemption (2 fixture files, 5 nodes) stands. This is unchanged since
landing.
- `5134`: at its base, a search for the unaliased `resolveI18nLabel(`
returned four lines, all doc comments. This is recorded as an
observation, not as the source of the figure.

Session: `https://claude.ai/code/session_012UwY3ahMixEFkfTUxMVkYm`
(`domain:spec @ objectui` seat, `mode:subagent` dev run).

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

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

1 participant