Skip to content

fix(app-shell): a position approver is read through the spec's registry binding (objectui#7611 Q3b) - #12174

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-7611-approver-registry-read
Oct 12, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-7611-approver-registry-read

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Part of #7611
Clause-②: no. No published acceptance set widens and no public surface grows: no authoring face, zod face or objectui validate input is touched, and none of the touched modules is re-exported from @object-ui/app-shell's index. The one reader that now keeps more is the designer's reading of the server-published xRef.sources, a renderer input rather than an accepted-metadata set.

Q3b of objectstack-ai/objectstack#22865, ruled B (comment 6115690641; pointer on #7611, comment 6115700897). The approval read side lists positions for a { source: 'registry', type } approver binding from the registry and stores the name only. Item 3a (the decision-output position picker, objectui#12152) is not touched: none of its files are in this diff. #7611 remains open for its other parts.

What changes

  • approverValueSources (new, packages/app-shell/src/utils). The spec's APPROVER_VALUE_SOURCES as published, typed so the registry member objectstack#22710 added can be tested for. The installed spec 17.7.0 predates that member, so the type is widened here and marked LOOSENED FOR SPEC 17, remove at spec 18. A pin (approverValueSources.test.ts, "the installed spec binds nothing to the registry yet") turns red on the bump to say so. Which kinds are registry-bound is read off the binding; nothing in the diff lists position as a registry kind.
  • The approval panel and the override dialog (approverIdentity, useApproverDirectory). A reference whose kind is registry-bound carries a machine name: it is prettified rather than truncated, it is handed to the directory, and its label comes from the registry item read through the console's metadata store (ensureType(TYPE), the GET /api/v1/meta/TYPE read the Approval Center and item 3a already make). Staffing still reads sys_user_position by name. DeclaredActionsBar picks this up without an edit.
  • The flow designer's approver Value cell (json-schema-to-fields, flow-node-config, FlowReferenceField). A published registry source is kept instead of dropped. A kind bound that way renders a select over that metadata type's items (the designer's metadata client, GET /api/v1/meta/TYPE) and commits the item's name. It keeps the pencil toggle for manual entry, flags a stored name the registry does not list as (not found), and leaves the text box when the registry lists nothing. With no published source, the fallback is derived from the bundled spec in the same way as the record lookup table.
  • The record arm is unchanged. A data binding (user, team, department, and position under the installed spec) renders the same record lookup and resolves its label from the same directory object.
  • One i18n key (engine.inspector.reference.pickFromRegistry, en and zh). The app-shell README and the flow-designer guide each gain one paragraph.

Measured in a browser (both symptoms reproduced on base first)

Setup: objectstack main 7dbb89dc5, examples/app-showcase booted with objectstack dev --seed-admin --fresh (closure build exit 0). GET /api/v1/meta/position serves 16 positions; GET /api/v1/data/sys_position answers "records":[]. Each console was vite build plus vite preview with the /api proxy pointed at that server, built two ways:

  • injected, with OBJECTSTACK_SPEC_DIST set to objectstack main's packages/spec, the way objectstack builds the console it ships. Bundle check: the registry spelling of the position binding appears 5 times, and the vendored spelling (source record, object sys_position) appears 0 times;
  • vendored, objectui's own spec 17.7.0.

A probe flow, q3b_position_probe, was saved with PUT /api/v1/meta/flow/q3b_position_probe. It triggers on an account update and has one approval node whose approvers are position manager (held by the admin) and position field_ops_delegate (held by nobody), with unanimous behaviour. Updating Acme Retail opened a request whose pending_approvers is the admin's id and position:field_ops_delegate.

console record page, Approvals tab, "Waiting on" flow designer, Seat review, approver Value
base d2500d8be, injected Dev Admin, positi…gate (title position:field_ops_delegate); no request to /meta/position or /data/sys_position two plain text inputs (manager, field_ops_delegate) with no datalist, and no candidate request
base d2500d8be, vendored Field Ops Delegate (no current holder); reads GET /data/sys_position (empty) a sys_position record lookup that hydrates nothing, so both stored names render blank (placeholder shown); two GET /data/sys_position reads
branch, injected Field Ops Delegate Admin (no current holder), the registry label; GET /api/v1/meta/position only two registry selects showing Project Manager (manager) and Field Ops Delegate Admin (field_ops_delegate); GET /api/v1/meta/position only
branch, vendored unchanged from base vendored (the record arm under spec 17.7.0) two registry selects, the same as injected (the published source wins)

Picking on the branch (injected): the select offers all 16 positions, labelled LABEL (name). Choosing Operations (ops) made the designer's save send "approvers":[{"type":"position","value":"ops"},{"type":"position","value":"field_ops_delegate"}], so the name is the only thing stored.

Tests (head 61a2d3ed0)

  • New pins, 4 files and 25 tests, one pin per arm: approverValueSources.test.ts, approverIdentity.registryBinding-7611.test.tsx (mocks the spec into the injected shape), FlowReferenceField.registrySource-7611.test.tsx and FlowReferenceField.injectedRegistryBinding-7611.test.tsx (the second mocks the spec into the injected shape).
  • Touched suites plus their consumers: 75 files (every FlowReferenceField*, json-schema-to-fields*, flow-node-config*, FlowNodeInspector*, approver*, useApproverDirectory*, RecordApprovalsPanel*, DeclaredActionsBar*, ApprovalsInboxPage*, approvalsApi* test, plus the four other tests that import a touched module). Result: Test Files 75 passed (75), Tests 824 passed | 1 skipped (825).
  • pnpm --filter @object-ui/app-shell type-check (both tsc passes) exit 0, after building the @object-ui/app-shell^... closure (28/28 tasks). The test program's file list contains all four new test files.
  • Gates, exit 0: check:i18n-keys, check:i18n-drift, check:i18n-dead-keys, check:i18n-designer-parity, check-changeset-presence, check-changeset-no-major, check:changeset-claims, check:pending-changeset-literals, check:new-line-citations (0 new), check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:test-path-roots, check:control-bytes, check:unreferenced-sources, check:spec-symbols, check:installed-pin-claims, check:doc-fences, check:doc-types, check:docs-route-closure.
  • ESLint on the 11 touched ts/tsx files: 0 errors. Compared with the same files on base, the one difference is one more react-refresh/only-export-components warning in FlowReferenceField.tsx (8 against 7), the same class as the file's existing exported helpers. The repo-wide lint run is CI's.
  • NOT MEASURED: check:readme-exports and check:doc-snippets. Reason: their precondition is a built dist for every documented package, and neither was met here. Neither reads the two paragraphs this diff adds, because both gates read fenced code blocks and the paragraphs have none.

Ablations (each leg on committed 61a2d3ed0, mutation proven on disk, restored by git checkout HEAD, blob hash equal to HEAD, git diff HEAD empty)

leg mutation went red
A1 the designer's registry branch disabled 5 tests: the select committing by name, the flagged stored name, the empty registry, the manual toggle, and the injected fallback render
A2 json-schema-to-fields drops registry again "keeps a published registry source, beside the record arm"
A3 the spec-derived registry fallback returns nothing "renders the registry select for a position with no published source"
A4 the name arm forgets the registry "prettifies a position approver instead of truncating it", "composes the registry label first…"
A5 registry kinds no longer resolvable "hands a server-unresolved position approver to the directory", "labels a position from the registry item…"
A6 the hook's registry label leg skipped "labels a position from the registry item, never from the sys_position mirror"
R1 the hook's record label leg skipped "keeps the record arm on the adapter"
R2 the designer's record lookup disabled "a published data source still renders the record lookup and lists no registry"

Acceptance notes

  • The Approval Center inbox (ApprovalsInboxPage) already labels position: approvers from the registry, through its own POSITION_REF_PREFIX rather than the published binding. It reads correctly under both specs and is left as it is: routing it through the binding would drop its registry labels on the vendored console until spec 18. Carrier: none.
  • On the vendored console the panel's label leg for a position still reads the sys_position mirror, so a fresh environment shows the prettified name (Field Ops Delegate) rather than the registry label (Field Ops Delegate Admin). The ruling leaves the record arm unchanged, and this goes away at spec 18. Carrier: none.
  • On the vendored console, the designer's first render of an approval node, before the server schema arrives, still uses the record-lookup fallback, which costs two sys_position hydration reads. That fallback is the installed spec's binding and goes away at spec 18. Carrier: none.

Session: https://claude.ai/code/session_01Rerax7QTjKMPCUZxQUtPFR (os-dev subagent of the epic PM seat epic:#15194).


Generated by Claude Code

…ry binding (objectui#7611 Q3b)

The approval panel, the override dialog and the flow designer's approver
Value cell read the spec's approver value bindings, but kept only the `data`
member. objectstack#22710 binds `position` to a `registry` member,
`{ source: 'registry', type }`, which reaches this console two ways: the
console objectstack ships bundles the server's own spec, and a server on
that spec publishes the member as the approval node's `xRef.sources`.

- approverValueSources: the binding as published, with the registry member
  admitted by a type loosened for spec 17 (removed at spec 18; a pin says
  when). Which kinds are registry-bound is read off the binding, never
  listed here.
- approverIdentity / useApproverDirectory: a registry-bound reference is a
  machine name (prettified, never truncated), is handed to the directory,
  and takes its label from the registry item through the metadata store.
  Staffing still reads sys_user_position.
- json-schema-to-fields keeps a published registry source; FlowReferenceField
  renders a select over that type's items and commits the item's name,
  with a manual-entry toggle.
- The data member is read exactly as before.

Claude-Session: https://claude.ai/code/session_01Rerax7QTjKMPCUZxQUtPFR
Co-authored-by: Claude <noreply@anthropic.com>
…low the spec's binding (objectui#7611 Q3b)

Claude-Session: https://claude.ai/code/session_01Rerax7QTjKMPCUZxQUtPFR
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation tests package: app-shell labels Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 1 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/11806-login-server-unreachable.md

  • names packages/app-shell/README.md → packages/app-shell/README.md — edited by this change

    packages/app-shell/README.md documents the two new states in its sign-up table. Its useSignUpOffer recipe for hosts now asks decideSignUpOffer only once the read has answered, and answers unreachable for a failed read.

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 2498a0753 (merge-base with origin/main): 13 file(s) changed outside .changeset/, read against 342 pending declaration(s) that publish a body (350 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 291 chunks) 3177.7 KB 3204.6 KB
Main entry chunk (gzip) 74.1 KB 350 KB
Entry file index-BkRz3xuo.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) 20.05KB 7.41KB
app-shell (runtime-config.js) 22.59KB 7.89KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 41.19KB 11.12KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
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) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 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) 588.48KB 141.70KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 241.78KB 67.52KB
fields (index.js) 275.65KB 70.19KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 40.26KB 11.71KB
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) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 15.35KB 5.51KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.82KB 2.38KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
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) 16.04KB 3.92KB
plugin-calendar (index.js) 54.31KB 15.86KB
plugin-charts (index.js) 84.72KB 23.27KB
plugin-chatbot (index.js) 201.72KB 48.07KB
plugin-dashboard (index.js) 144.20KB 38.95KB
plugin-designer (index.js) 233.77KB 50.02KB
plugin-detail (index.js) 250.93KB 66.24KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 177.74KB 46.01KB
plugin-gantt (index.js) 178.63KB 45.19KB
plugin-grid (index.js) 255.50KB 71.02KB
plugin-kanban (index.js) 53.23KB 16.71KB
plugin-list (index.js) 122.82KB 31.24KB
plugin-map (index.js) 27.24KB 9.03KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 39.21KB 11.85KB
plugin-tree (index.js) 15.07KB 5.33KB
plugin-view (index.js) 92.11KB 23.27KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 12.07KB 3.68KB
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) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
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) 1.13KB 0.65KB
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) 5.78KB 2.70KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (node-slots.js) 7.18KB 2.34KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
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) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.26KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.48KB 3.50KB
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

…ferences that carry a machine name (objectui#7611 Q3b)

An id-valued directory kind (team, department) whose row label does not
resolve keeps the caller's existing formatting; only a reference whose
binding commits a name (a position, under either binding) is prettified.

Claude-Session: https://claude.ai/code/session_01Rerax7QTjKMPCUZxQUtPFR
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 291 chunks) 3177.7 KB 3204.6 KB
Main entry chunk (gzip) 74.1 KB 350 KB
Entry file index-BkRz3xuo.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) 20.05KB 7.41KB
app-shell (runtime-config.js) 22.59KB 7.89KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 41.19KB 11.12KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
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) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 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) 588.48KB 141.70KB
core (index.js) 10.18KB 4.04KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 241.78KB 67.52KB
fields (index.js) 275.65KB 70.19KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 36.87KB 9.88KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 40.26KB 11.71KB
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) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 15.35KB 5.51KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.82KB 2.38KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
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) 16.04KB 3.92KB
plugin-calendar (index.js) 54.31KB 15.86KB
plugin-charts (index.js) 84.72KB 23.27KB
plugin-chatbot (index.js) 201.72KB 48.07KB
plugin-dashboard (index.js) 144.20KB 38.95KB
plugin-designer (index.js) 233.77KB 50.02KB
plugin-detail (index.js) 250.93KB 66.24KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 177.74KB 46.01KB
plugin-gantt (index.js) 178.63KB 45.19KB
plugin-grid (index.js) 255.50KB 71.02KB
plugin-kanban (index.js) 53.23KB 16.71KB
plugin-list (index.js) 122.82KB 31.24KB
plugin-map (index.js) 27.24KB 9.03KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 39.21KB 11.85KB
plugin-tree (index.js) 15.07KB 5.33KB
plugin-view (index.js) 92.11KB 23.27KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 12.07KB 3.68KB
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) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.07KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
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) 1.13KB 0.65KB
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) 5.78KB 2.70KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (node-slots.js) 7.18KB 2.34KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
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) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.26KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.48KB 3.50KB
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

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Seat ACCEPT: objectui PR #12174 (Q3b, the approver registry read) at 1da854635; queued on green

Epic PM session_01Rerax7QTjKMPCUZxQUtPFR (marchtian), seat epic:#15194, 2026-10-12T02:50Z. The developer was a subagent of this seat (mode:subagent) under objectstack#22865's ruling 6115690641 (Q3b → B), dispatched in 6116102478. Report: 6116663661.

Checklist, read on GitHub, not from the report:

  • PR form:
    • base main, draft;
    • line 1 is Part of #7611, line 2 is Clause-②: no;
    • the whole body is scanned: no closing keyword next to a card number;
    • the assignee is marchtian.
  • Scope: 14 files, +1,011 / −39. check-governed-merges --pr reads NOT governed, so this is an ordinary queue landing. No CHANGELOG.md and no content/docs/releases/. It is disjoint from item 3a (fix(app-shell): a position decision output lists the position registry and commits position names (objectui#7611) #12152) and from PR-5's branch.
  • Clause-②: no holds.
    • app-shell's exports map is . → dist/index (plus styles.css), and src/index.ts re-exports none of the touched modules.
    • No packages/spec change and no governed text. No authoring face or objectui validate input moves.
    • The one i18n key added (engine.inspector.reference.pickFromRegistry, en and zh) belongs to the designer's own table.
  • The changeset 7611-approver-registry-read.md (app-shell patch). Each sentence was read against the diff:
    • Panel and override dialog: under a registry binding, a position:<name> label comes from ensureType(<type>) through MetadataCtx (useApproverDirectory.ts, resolveRegistryLabels). Before, formatIdentity truncated it because APPROVER_DIRECTORY_BINDINGS had no position. Staffing is still resolveStaffing over sys_user_position.
    • The designer: json-schema-to-fields.ts sourceOf now keeps a registry entry that names a type. registryTypeFor gives the published source precedence. RegistryPickCell lists useMetadataListOptions(type), commits name, flags an unlisted stored name (not found), falls back to a text box when the list is empty or loading, and has the pencil toggle.
    • Unchanged: the data arm (recordLookupFor, resolveLabels) is untouched. The LOOSENED FOR SPEC 17 widening is in approverValueSources.ts, and its pin goes red on the spec-18 bump.
  • The prose:
    • The packages/app-shell/README.md paragraph (README ships in files[]) was corrected in a patch round at 1da854635. As first written, it said every unlabelled approver reads as a prettified name. In fact approverDisplay derives one only when approverValueIsName(kind); team and department fall to copy.fallback(raw). The corrected sentence matches the code.
    • The content/docs/guide/flow-designer.md paragraph was read against ReferenceCombobox: true as written.
  • Evidence:
    • At 61a2d3ed0: 4 new pin files with 25 tests; 75 touched and consumer files with 824 passed and 1 skipped; app-shell type-check exit 0 after building the closure; the gate list.
    • 8 ablations, each turning its own pins red, with each restore proven by blob hash.
    • The patch commit at 1da854635 touches only the README (+4/−2). check:doc-fences, check:doc-types and check:control-bytes exit 0 on it.
    • In the browser: objectui main d2500d8be against objectstack main 7dbb89dc5 (--fresh), with consoles injected (objectstack's spec) and vendored (17.7.0):
      • On base, both symptoms were reproduced: injected, positi…gate and plain text inputs; vendored, empty sys_position reads.
      • On the branch: injected, the registry label, and registry selects offering all 16 positions with a name-only save body. Vendored, the panel is unchanged (the record arm), and the designer uses the registry select through the published xRef.sources.
  • CI on 1da854635: 40 success and 3 skipped by design (Test (coverage), its shard matrix, dependabot), 0 red; Lint and Type Check are success on this head. mergeable_state is clean. The Test failure on 61a2d3ed0 was the aggregate of shards cancelled by the push (8 cancelled). That is not the current head, so no action.

Out-of-scope notes from the report, carried and not filed. Each ends at spec 18:

  • The Approval Center inbox labels position: approvers through its own POSITION_REF_PREFIX, not the published binding. It is correct under both specs.
  • On the vendored console, the panel's position label still reads the sys_position mirror. This is the record arm the ruling leaves in place.
  • On the vendored console, the designer's first render, before the server schema arrives, makes 2 sys_position hydration reads.

These three go to objectui's move onto spec 18, which also removes the widening.

Then:

  • Flipped ready and enqueued in this same stroke.
  • On MERGED, a Landed record.
  • Q3b was one of the two read-side halves of #22865 B2. The other is PR-5 (the record-form registry widget), still in build.

Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 12, 2026 02:51
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 12, 2026 02:51
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit 83b9fad Oct 12, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-7611-approver-registry-read branch October 12, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation package: app-shell tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants