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

test(console,plugin-detail): pin the five one-key record:* panel members, ceiling 46 -> 41 (objectui#8071 slice 6) - #8935

Merged
os-warren merged 1 commit into
mainfrom
claude/issue-8071-member-pins-slice-6
Sep 10, 2026
Merged

os-warren merged 1 commit into
mainfrom
claude/issue-8071-member-pins-slice-6

Conversation

@os-warren

Copy link
Copy Markdown
Collaborator

Refs #8071 — objectui#8071 slice 6. This card does not close: 41 member-pin exemptions remain.

Converts the five record:* detail-panel blocks that each carried exactly one unpinned array/object key into real per-block member pins, deletes their five MEMBER_PIN_EXEMPTIONS entries, and lowers MEMBER_PIN_EXEMPTION_CEILING 46 -> 41 in the same commit.

key pin file new or promoted
record:activity.types recordActivityFeed.test.ts promoted
record:alert.action recordAlertActionMembers-8071.test.tsx new
record:chatter.feed recordChatterFeedMembers-8071.test.tsx new
record:discussion.feed recordChatterFeedMembers-8071.test.tsx new (same file, same renderer)
record:path.stages recordPathStagesMembers-8071.test.tsx new

Why this batch

Selection criterion 1 was "a block you can close outright". This batch closes five — the first slice to close more than one — and the batch is a stateable RULE rather than a pick: every block whose remainder was exactly one key. All five live in packages/plugin-detail, off every live branch.

record:chatter.feed and record:discussion.feed are one key on one renderer: RecordChatterRenderer is registered under both names against the same CHATTER_INPUTS, so both rows point at one file that runs every case against both names — the shape slice 3 used for record-picker-label-placeholder-i18n.test.tsx.

⛔ object-kanban.columns / object-kanban.dataSource were not touched: NEWLY_JUDGED_UNPINNED_MEMBERS is unchanged at 2 and LAZY_REGISTERED_BLOCKS needed no edit.

Promotion discipline

recordActivityFeed.test.ts (955 lines) was read end to end before being credited, not trusted on its greps. It already asserts the allow-list's member semantics directly on applyFeedConfig — the call record-activity.tsx makes on every render — including objectui#5841's three distinct ways an authored list can name nothing (types: [], an all-unrecognised list, a non-array types) and why none of them means "no filter".

The other three are new files because every existing candidate was read and rejected: the six record:path suites use stages[] as a FIXTURE for accessible names / container label / inertness / cross-row agreement and none would fail if value, label and terminal swapped roles; the six record:alert suites reference action only inside a props bag whose subject is resultDialog or the visible predicate; the one record:chatter suite is about the host's loading signal and never authors feed.

AST ledger — re-derived on this branch's own head, not inherited

ts.createSourceFile -> VariableDeclaration -> PropertyAssignment, object boundaries from AST node spans. ⛔ Not brace counting, ⛔ not a bare regex.

before (bbe285ee7) after
MEMBER_PIN_EXEMPTIONS 46 41
MEMBER_PIN_EXEMPTION_CEILING 46 (:2686) 41 (:2747)
MEMBER_PINS 44 49
NEWLY_JUDGED_UNPINNED_MEMBERS 2 2 (untouched)

Cross-check, anchored on the KEY as instructed. Key-anchored regex inside the AST span read 46 before and 41/49 after — agreeing with the AST in every case. The value-anchored form read 43, disagreeing by 3, and the disagreement is reported rather than smoothed: AWAITING_A_PIN\b misses the one NO_READ_SITE_TO_PIN key AND the two AWAITING_A_PIN_NEWLY_JUDGED keys (\b does not match before _). Same trap slice 5 hit from a different angle.

Only one symbolic assertion carries this ceiling, as corrected at comment 5604719868. No second one was hunted for and none was added.

Verification — every exit code captured BEFORE any pipe (cmd > out 2>&1; RC=$?)

run exit reading
vitest run apps/console/src/__tests__/registry-inputs-spec-parity.test.ts 0 198 passed
pnpm --filter @object-ui/plugin-detail lint 0 977 problems (0 errors, 977 warnings)
pnpm --filter @object-ui/console lint 0 212 problems (0 errors, 212 warnings)
type-check (both packages) 0 zero error TS; plugin-detail also runs tsc -p tsconfig.test.json, so the new files are type-checked
node scripts/check-control-bytes.mjs 0 7130 tracked text files scanned
node scripts/check-changeset-no-major.mjs 0 no major bump declared
pnpm --filter @object-ui/plugin-detail test 0 158 files, 1457 passed
pnpm --filter @object-ui/console test 0 98 files, 1132 passed

⭐ The lint step is the instrument slice 5 lacked, and it was read for the word error, not merely for a zero exit: both packages report 0 errors. Both logs echo the script name (> @object-ui/console@17.6.0 lint), which is what rules out the "filter matched zero scripts, exits 0, nothing ran" reading.

⚠️ The first type-check run exited 2 with ~200 Cannot find module '@object-ui/…' rows. That is NOT MEASURED, not red: the sibling packages were unbuilt, so tsc never reached its body. Re-run after pnpm --filter 'PKG^...' build (exit 0) it is a real 0.

Ablations

Every one: mutate -> prove the mutation on disk before reading any result (grep counts on the removed and injected text, plus a git hash-object differing from the HEAD blob) -> run -> restore via git checkout HEAD -- ABSOLUTE_PATH from a trap … EXIT INT TERM -> prove restoration by blob hash, never by an exit code.

A. The gate mechanism — re-add one deleted exemption, leave the ceiling alone

registry-inputs-spec-parity.test.ts c5e76b6b… -> b338f228… (injected-text 0 -> 1). 3 red, 195 green, exactly:

  • carries no stale member-pin exemption — a pinned key must lose its entry
  • judges a non-vacuous member-shape census — every covered block, every array/object input
  • the member-pin exemption list only ratchets DOWN

That third row is the one that proves the ceiling moved with the list: at a ceiling left on 46 it would have stayed green. Restored to c5e76b6b….

B. One ablation per new pin — each fails for its own reason

All four run the whole set of four pin files, so neighbour independence is visible rather than asserted.

pin mutation blob red neighbours
record:path.stages drop if (s.terminal) return s.terminal; 844c7441… -> ccfbd2bf… 2 — both terminal OUTRANKS legs. Their two CONTROLs stayed green, which is what shows the heuristic was pointing the other way 3 files green
record:alert.action ignore the authored label in the ladder a11b10f9… -> 22410551… 3 — the override leg + both translation-map legs. The ActionDef and NAME fallback legs stayed green 3 files green
record:chatter.feed / .discussion.feed deep-merge feed instead of letting the spread displace it 8292defa… -> 39d8eb29… 4 — both displacement cases, under both registered names, so the record:discussion.feed row is non-vacuous in its own right. The explicit per-member legs stayed green 3 files green
record:activity.types restore objectui#5841: "nothing survived" reads as "no filter" 5ab2ef32… -> 5bb7827a… 4 — the three narrow-vs-widen legs + the distinguishing leg. types that is not a list at all stayed green, because that refusal returns from a different branch 3 files green

Every target restored to its HEAD blob, verified by hash and by an empty git diff HEAD for the path; git status is clean.

⚠️ Honest note on one instrument: grep -cF with a multi-line pattern treats the newline as an alternation, so it counts matching LINES, not occurrences of the whole block. For ablation A that reads 2 -> 0, and for B3 — where the injected text is a superset of the removed text — the removed count stays 2 -> 2. In both the load-bearing proof is the blob hash change plus the injected-text count, and the exact-occurrence check is a separate str.count(...) == 1 assertion that aborts the run when it fails.

Out-of-scope finding, filed not fixed

objectui#8934 — feed is declared "same shape as record:activity", but only the five AFFORDANCE members reach RecordActivityTimeline. The FILTER members (types, limit, showCompleted, unifiedTimeline) are applied by applyFeedConfig, whose only non-test call site is record-activity.tsx — so they are silently discarded nested inside feed, with no diagnostic even for a correctly spelled value. Category (c): a trap that leads an author to write metadata the runtime drops. The pin records this as a stated LIMIT rather than freezing "this member is dead", which is the reasoning NO_READ_SITE_TO_PIN already carries for record:related_list.actions.

Landing

⛔ Stays draft. The governed-surface guard reports NOT GOVERNED — 5 path(s) checked … none matched, so the ordinary self-merge route would apply, but this slice's dispatch reserves landing to the PM seat. No auto-merge, no enqueue, no ready flip.

Test-only: every touched file is a __tests__ file plus one changeset. No published runtime source, no publish-contract field, no behaviour change.


🤖 Generated with Claude Code

https://claude.ai/code/session_01Jmxdo7bmeqCQHLSfmLVX9w


Generated by Claude Code

…ers (objectui#8071 slice 6)

Convert the five `record:*` detail-panel blocks that each carried exactly ONE
unpinned array/object key into real per-block member pins, delete their five
`MEMBER_PIN_EXEMPTIONS` entries, and lower `MEMBER_PIN_EXEMPTION_CEILING`
46 -> 41 in the same commit.

  record:activity.types     record:alert.action     record:path.stages
  record:chatter.feed       record:discussion.feed

All five blocks now carry zero exemptions. This is the first slice to close
more than one block outright; the batch is stateable as a rule rather than a
selection — every block whose remainder was exactly one key, all in
`packages/plugin-detail`.

`record:chatter.feed` and `record:discussion.feed` are one key on one renderer:
`RecordChatterRenderer` is registered under both names against the same
`CHATTER_INPUTS`, so both rows point at one file that runs every case against
both names.

`record:activity.types` PROMOTES the pre-existing `recordActivityFeed.test.ts`,
read end to end before being credited: it already asserts the allow-list's
member semantics directly on `applyFeedConfig` — the call the renderer makes on
every render — including objectui#5841's three distinct ways an authored list
can name nothing and why none of them means "no filter". The other three files
are new, because every existing candidate uses the key as a FIXTURE for a
different subject and would stay green if the members swapped roles.

The `feed` pin records a LIMIT rather than claiming the key is uniform: only the
five affordance members reach `RecordActivityTimeline`. `record:activity`'s
filter members are applied by `applyFeedConfig`, which only `record-activity.tsx`
calls, so they are inert nested inside `feed` — filed as objectui#8934 rather
than frozen into the pin.

Test only; no published runtime source and no behaviour change.

Refs #8071

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

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3487.9 KB 3512.7 KB
Main entry chunk (gzip) 144.1 KB 350 KB
Entry file index-D-Zj0MGr.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) 500.20KB 114.67KB
core (index.js) 7.48KB 2.96KB
create-plugin (index.js) 28.04KB 9.46KB
data-objectstack (index.js) 200.01KB 55.77KB
fields (index.js) 246.97KB 62.30KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 6.57KB 2.76KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.94KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 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.03KB 13.93KB
plugin-charts (index.js) 71.39KB 19.92KB
plugin-chatbot (index.js) 194.54KB 46.34KB
plugin-dashboard (index.js) 132.41KB 34.84KB
plugin-designer (index.js) 215.68KB 44.27KB
plugin-detail (index.js) 252.45KB 65.33KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.79KB 34.19KB
plugin-gantt (index.js) 166.96KB 40.93KB
plugin-grid (index.js) 210.86KB 57.28KB
plugin-kanban (index.js) 57.58KB 16.47KB
plugin-list (index.js) 112.54KB 27.65KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.42KB 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) 83.34KB 27.61KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 2.71KB 1.35KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 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

@os-warren
os-warren marked this pull request as ready for review September 10, 2026 04:53
@os-warren
os-warren added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit b97129e Sep 10, 2026
35 checks passed
@os-warren
os-warren deleted the claude/issue-8071-member-pins-slice-6 branch September 10, 2026 05:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant