Skip to content

Console first screen: the eager JS closure (1.95 MB, same 120 chunks on every page) is ~2 s of LCP; slim what the shell imports eagerly #37572

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: maintainer ruling on #37444 at 2026-11-26 13:43Z (「先做最小一刀,其余立卡排队」: slice C rides #37444, the other seams queue as their own cards) · Source: fleet (production re-measure on #37444, comment 7193730951)

What happens

Reading on a production build (objectstack 021524cd, brotli on, Lighthouse 13.6.0 desktop config, 5 runs per page; full method in #37444 comment 7193730951): the median LCP is Home 3626 ms, Object list 4611 ms, Record 4223 ms, against a 2500 ms threshold.

Bytes are about 2 s of every page. 2.2–2.7 MB is transferred before LCP, and 1,951 KB of it is the eager JS closure: the same 120 chunks on every page, the login page included. The largest eager chunks (gzip) are vendor-objectstack 684 KB (@objectstack/spec zod modules for view/dashboard/object/flow/action, plus formula and client), ui-components 351 KB, index 131 KB, framework 89 KB, vendor-react 80 KB, i18n-locale-en 71 KB and vendor-radix 58 KB. With bandwidth unlimited (RTT 40) the pages drop to 1.7 / 2.4 / 2.1 s.

A probe build that marked zod builder calls pure (treeshake.manualPureFunctions: ['z']) saved only 13 KB. The spec code in the eager closure is reached, not dead, so it shrinks only by changing what the shell imports eagerly.

Expected

Not this card: route-level lazy chunks before LCP (slice C, in progress as Part of #37444), the serial boot API rounds, render CPU (sibling cards).

Related: #37444, #37398.

Category ①: a user-visible experience defect with a named place and a repeatable reading (every console user waits 3.6–4.6 s on the first screen).
Priority: p2 — the grade of parent #37444; slow but working, on every first screen, not a wrong-data or security case.
Business reason: everyone who opens the console waits on the first screen every session; without this seam the pages can't reach the 2.5 s threshold #37444 sets.
Reader: seat 2 area s2-ux (repo:objectstack#2) picks it from the queue after slice C lands on #37444.
Dedupe: console eager chunk first screen 22 hits, vendor-objectstack chunk 41 hits; open overlap only #37444 (the parent; this card is its queued seam). Closed neighbours #25925 (spec subpath duplication, fixed) and #26131 / #34927 (budget check) are earlier, different seams.

Activity

  1. added
    bug
    priority:p2
    domain:ui
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:queue · size L; rationale: the console's eager JS closure (1.95 MB, the same 120 chunks on every page) costs about 2 s of first-screen LCP. Queued as its own seam under the maintainer's 13:43Z ruling on #37444 (「先做最小一刀,其余立卡排队」). Slow but working, so p2, like the parent.

  3. added
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-27T01:09Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUFcdpjgtgSfn3qZuv
    Account: os-sales
    Branch: claude/project-thread-575qr3
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: s2-ux
    File surface: the Console shell's eager import closure (ui/apps/console, ui/packages/app-shell and the packages it pulls in at boot), lazy boundaries and their loaders, bundle-split config, pins on what the first screen loads, one changeset; exact files named in the thread's first report after the h2 baseline
    Container & model: L, mode:thread (card thread implements, no os-dev), model: default — no path-derived mandate, effort: high
    Clause-②: no expected (load order only; what the Console shows does not change) — the PR states its own
    Metadata-protocol: none
    Responsibility: objectui console (the first screen loads ~1.95 MB of eager JS, the same ~120 chunks on every page, about 2 s of LCP) | none | every Console user on first load; reachable today
    Thread-read: none
    Premise: holds (#37444's production reading 7193730951 and the HTTP/2 reading under ruling 7205984444; the thread re-takes the h2 baseline on main first)
    Serial constraints cleared: #37722 merged (sidebar cascade, Part of #37575); #37725 in the merge queue (docs and checklist only); the thread re-runs overlap-check before its first push
    Relation: the PR says Part of #37444 (and Fixes #37572 only if the eager-closure card is delivered whole); this thread also holds #37444 and #37575 from the previous thread

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed (part) and handed back · 2026-11-28T14:08Z

    Answers the triage knock 7240430074 on this seat's mailbox. PR #37786 merged at 2026-11-27T05:16Z (Part of #37572): the Console's eager first-load closure went from 1,996,960 to 1,899,348 bytes gzipped; #37826 back-filled the budget baseline. The list and record pages are still over the 2500 ms target of #37444. The next measured cut, exporting the narrow sub-schemas the first screen reads, is card #37805.

    Release: this seat's area:ux partition is closed (maintainer, 2026-11-27 15:43Z: 「ux 区 可以下班了」), so this card goes back to pm:queue for the area:ux seat with nothing in flight, and the claim 7207061751 (thread session session_01L6bhgUFcdpjgtgSfn3qZuv) ends here. Branch claude/project-thread-575qr3 holds only merged work.

  7. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 28, 2026
  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibx7DSQZnugnuX8CpCM
    Account: os-tesla
    Branch: claude/project-thread-ciejge (after PR #38360 merges; W0 pushes nothing)
    Worktree: objectstack-issue-37572
    Domain: ui
    Area: o3-ux (area:ux p2, the zone thread)
    Seat: repo:objectstack#3
    Seat rulings on the pre-claim report (/mnt/project-files/objectstack-seat3/o3-ux-37572-preclaim.md):

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  10. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibx7DSQZnugnuX8CpCM
    os-dev-report
    Read at 2026-11-28T18:35Z

    W0 reading: the Console eager closure at main 1cd47961c (measurement only, no commit, no PR)

    Method. One dependency build (turbo run build --filter='@object-ui/console^...', 8m27s under the verify lock), then Console production builds with CI=true pnpm exec vite build (12 to 17 s each) through a wrapper config that loads the Console's own vite.config.ts unchanged and adds one plugin dumping chunks, per-module rendered bytes and the static module graph. Totals are the gate's own report (dist/eager-closure.json, then check-eager-closure-budget.mjs). Package and module bytes are a proportional share of the chunk gz by rendered bytes. Each candidate cut was a probe edit, one rebuild, the gate, then reverted. Files: /mnt/project-files/card-37572/ (reading, attribution JSON, scripts, probe diffs).

    Totals.

    build eager gz eager chunks
    BASELINE 003fde60 1,899,348 123 of 2,616
    main 1cd47961c 2,226,558 147 of 2,633

    The gate passes on main (headroom 176.4 KB, 0.25x of the 695 KB regression line), so the +327,210 went unflagged. 308,737 of it is plugin-chatbot (236,909), plugin-markdown (69,180) and 12 icon chunks, which joined the closure after BASELINE. The other 18,473 is spread over many chunks (per-commit split NOT MEASURED).

    Largest non-spec eager chunks (gz): ui-components 359,539 · plugin-chatbot 236,909 · index 135,852 · framework 91,630 · vendor-react 81,656 · i18n-locale-en 70,838 · plugin-markdown 69,180 · vendor-radix 59,723 · src (app-shell) 42,090 · infrastructure 38,254 · data-adapter 28,345 · vendor-react-markdown 23,930. Spec (out of scope): @objectstack/spec 508,143 share in vendor-objectstack 660,290.

    Why plugin-chatbot is eager. plugin-chatbot/src/core.ts re-exports hitlContinuation and chat/questionSkip, and the plugin-chatbot-core chunk group in ui/apps/console/vite.config.ts does not list them (its comment says every module core.ts re-exports belongs in the list). They land in the plugin-chatbot chunk, which plugin-chatbot-core then imports statically. Adding both drops the chunk. Adding either one alone does not (probes p1h, p1q).

    Ranked cuts (none touches spec's entry points).

    # cut gz saved how known first screen needs it before LCP
    1 add the two modules to the plugin-chatbot-core group (one regex, vite.config.ts) 308,737 measured no. The dock loads its body on open and home reads only /core. The first chat open fetches about 306 KB on demand
    2 auth and Dev pages behind lazy() in App.tsx 16,157 measured no for signed-in pages. /login waits for one more chunk
    3 qrcode by import() in RemediationOverlay.tsx and ActionResultDialog.tsx 8,711 measured no
    4 lucide dynamic icon map loaded lazily (lazy-icon.tsx, resolve-icon.ts) up to 32,426 measured as a stub icons pop in. The map is still fetched right after boot. Not counted
    5 dnd-kit lazy for sidebar favourites about 16,000 estimate the sidebar is on the first screen. Not counted
    6 markdown stack off the rich-text display path up to about 37,000 estimate needed before LCP wherever a rich-text field shows. Not counted
    7 CommandPalette off the first load (co-tenancy repair, then lazy()) about 6,000 to 11,000 estimate; lazy() alone was refused by declared-lazy-views no. Not counted

    Not cuts: i18n-locale-en (the default language and the fallback). @objectstack/formula + cel-js (76,743, via ExpressionProvider; the list and record pages evaluate expressions before they draw). Rare SDUI registrations made lazy (measured: 5,661, too small).

    Threshold (seat: the safe-together cuts save at least 100 KB): MEETS. Cuts 1+2+3 in one combined build: 2,226,558 to 1,892,939, -333,619 gz, 134 of 2,653 chunks, gate exit 0. Caveat: 308,737 of it repairs a regression that arrived after BASELINE, so the combined build sits only 6,409 under BASELINE. Without cut 1, the measured safe cuts total 24,882, which is SHORT.

    Re-pin by the gate's formula (measured + 711,680 / 2 = measured + 355,840).

    • As main is now: 2,226,558 gives 2,582,398. That is a raise of 175,161 over today's 2,407,237, which the gate reserves for a ruling.
    • After cuts 1+2+3: 1,892,939 gives 2,248,779, which is 158,458 under today's ceiling. For comparison, the delta convention of the last two re-pins gives 2,400,828.
    • The four per-chunk rows stay in range after the cuts. No per-chunk re-pin is forced.

    Lighthouse not run (LCP is re-read in the build PR).

    {"issue":37572,"status":"reading","verdict":"MEETS","safe_total_gz":333619,"safe_total_without_regression_repair_gz":24882,"main_eager_gz":2226558,"after_cuts_eager_gz":1892939,"repin_as_is":2582398,"repin_after_cuts":2248779,"security_findings":"none"}
  11. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
    2026-11-28T18:38Z · Claim amendment 1 to 7243573945, after the W0 reading 7243921076 (/mnt/project-files/card-37572/w0-reading.md).

    Seat rulings:

    • The threshold counts the regression fix. The 100 KB bar measures bytes a user downloads before first paint on today's main. main 1cd4796 carries 2,226,558 gz in 147 eager chunks, 327 KB over the perf(console): the first load no longer downloads spec schemas the Console never reads, nor the whole form package #37786 baseline, and 308,737 of that comes from the plugin-chatbot-core chunk group missing two re-exports. The three safe cuts measure 2,226,558 → 1,892,939 (−333,619), so the bar is met.
    • The cap is reset by the gate's own formula (measured plus half a regression allowance): 2,248,779, down from 2,407,237. The "under the bar, reset only" branch of the claim is void; that formula would raise the cap, and a raise needs a ruling.
    • A guard pins the chat chunks as lazy, so this regression cannot return silently.

    File surface (one PR):

  12. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibx7DSQZnugnuX8CpCM
    os-dev-report
    Read at 2026-11-28T20:45Z

    Build round report: draft PR #38384 at 809cfb890, CI green. The eager closure drops from 2,226,792 to 1,893,160 gz (-333,632); the gate exits 0 at head; LCP medians home -147, list -172, record -200 ms (reading on #37444, comment 7245504380). One open question for the seat: the native-shell test fix outside the file surface.

    {
     "issue": 37572,
     "status": "done",
     "branch": "claude/project-thread-ciejge",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/38384",
     "head": "809cfb890",
     "session": "session_01L9qibx7DSQZnugnuX8CpCM",
     "premise_still_valid": true,
     "summary": "Resumed round: the 4 commits (483eaa34b, a83cc5a15, 686c99934, 809cfb890) were verified against amendment 7243947617 and pushed unchanged; draft PR #38384 opened through the relay. The diff is the 8 files of the amendment surface; App.docsPortalLazy.test.tsx is read as the route table's own pin (its eager control was LoginPage, which cut 2 makes lazy) and is named in the PR. 809cfb890 only re-pins the gate constants (ceiling 2,249,000 = 1,893,160 + 355,840 by the formula at the measured head, 221 over the amendment's probe-based 2,248,779) and touches no bundler input, so the eager closure was not rebuilt; the gate re-run at 809cfb890 is byte-identical to the recorded reading. CI on 809cfb890 is green. Open item: a timing-dependent assertion in App.nativeShellMode-29039 failed once locally (1 in 9 runs); its fix sits outside the file surface and is NOT on any remote (see open_questions).",
     "eager_gz": {
      "before": "2,226,792 (147 of 2633 chunks, main eef1cbfe4)",
      "after": "1,893,160 (134 of 2653 chunks, branch 686c9993 = head 809cfb890 bundler inputs)",
      "delta": -333632
     },
     "gate_exit": "node scripts/check-eager-closure-budget.mjs at 809cfb890: exit 0, every half green incl. 'Chat chunks stay lazy' (1848.8 KB / 2196.3 KB budget); ablation of cut 1 (recorded earlier): exit 1 from the chat half alone",
     "browser_readings": "recorded on production builds (Chromium 1243, HTTP/2 front): /login renders on both builds and on the PR fetches LoginPage-*.js; chat chunks fetched by /login and by a signed-in page before chat opens: main plugin-markdown+plugin-chatbot, PR none; first Ask AI click on PR fetches plugin-markdown + plugin-chatbot and the drawer opens with its composer; 2FA QR (MFA remediation overlay): qrcode chunk not fetched before enrolment, fetched on submit, canvas 184x184 drawn with no error",
     "lcp_medians_ms": {
      "home": "2,214 -> 2,068 (-147)",
      "list": "2,734 -> 2,562 (-172)",
      "record": "2,510 -> 2,310 (-200)",
      "method": "#37444 method, 10 runs per arm, not re-run this session (no build-affecting change since)"
     },
     "tests": "All at 809cfb890. pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped; 5159 tests passed, 2 skipped (exit 0). app-shell RemediationOverlay* + ActionResultDialog: 7/7 files, 48/48 (exit 0). console App.docsPortalLazy + App.nativeShellMode-29039 + App.nativeShellOpenSet-29330: first run 1 failed / 21 passed ('posts ready once...': expected [] to deeply equal ['ready:login-page','route:/login']); nativeShellMode re-run 4x idle 17/17 each, 3x under synthetic CPU load 1/1 each. type-check exit 0 for @object-ui/console and @object-ui/app-shell. Full app-shell and console suites not run locally (CI Test UI 16/16 shards green). No ablation this session: no tested behaviour changed since the recorded one.",
     "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 809cfb890: 47 commands; --ran with exit-coded record: '47 derived famil(ies) accounted for - 45 run, 2 NOT-MEASURED'. 45 exit 0. NOT MEASURED: pnpm check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET, @objectstack/* not built here; CI Build Core green), pnpm check:type-check-debt (re-measure needs a full-repo build; CI Lint & Repo Gates green). overlap-check --branch=claude/project-thread-ciejge: VERDICT clean exit 0 vs origin/main 61cde6dc7. CI on 809cfb890: 58 check-runs, 47 success, 11 skipped, 0 failed; required: Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate all success; Check Changeset success.",
     "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "3 relay strokes (POST /repos/objectstack-ai/objectstack/dispatches): pr_create #38384; comment on #37444 (7245504380); os-dev-report comment on #37572. Plus 1 git push (claude/project-thread-ciejge). Denied, not executed: git push of claude/issue-37572-native-shell-ready-wait-wip.",
     "comment_ids": {
      "lcp_on_37444": 7245504380,
      "os_dev_report_on_37572": "this comment"
     },
     "deviations": [
      "PR body: line 1 the attribution comment, line 2 the closing-keyword line for this card, line 3 the Requested-by line. The order asked for the two attribution lines first; os-dev.md and the relay's first-line rule put the closing-keyword line right after the attribution comment, and os-dev.md wins a conflict.",
      "Pushed the branch before the gate sweep (AGENTS.md: push before every step that takes minutes), after the surface check passed.",
      "The LCP comment on #37444 is a 4th write beyond the dev budget of three; the order asked for it.",
      "Classifier denials, not retried another way: (1) git push -u origin claude/issue-37572-native-shell-ready-wait-wip [Destructive or Unwanted Actions]; (2) cp of the patch to /mnt/project-files/card-37572/ [Unsanctioned Communication]. The test fix therefore exists only as local commit 427483b50 on local branch claude/issue-37572-native-shell-ready-wait-wip in /home/user/objectstack-issue-37572, and as the patch file native-shell-ready-wait.patch in the session scratchpad issue-37572 folder.",
      "Worktree /home/user/objectstack-issue-37572 kept (not removed): it holds the unpushed local commit above."
     ],
     "open_questions": [
      {
       "question": "App.nativeShellMode-29039 failed once locally (1 in 9 runs) because, with LoginPage lazy, ready()/routeChanged run in passive effects that can land after findByTestId returns. Add the two native-shell test files to the file surface so the fix lands in #38384?",
       "options": [
        "A: amend the surface with App.nativeShellMode-29039.test.tsx and App.nativeShellOpenSet-29330.test.tsx; a patch round cherry-picks 427483b50 (five waitFor wraps on the event assertions, tested 3 files / 22 tests green, console type-check 0) and pushes it to the PR branch",
        "B: land #38384 as is (CI green) and file the flake as its own card",
        "C: drop it"
       ],
       "recommendation": "A, because this PR's change made the assertions timing-dependent and CI's Test UI shards run cold, where the one local failure occurred; the fix is test-only and five lines."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "class: a · reach: public UI - on a boot with OS_AUTH_TWO_FACTOR=true, Setup > Users > own record > Security tab does not render 'Enable Two-Factor Auth' on main eef1cbfe4 and on this branch; browser console: [ActionEngine] action \"enable_two_factor\" hidden: its visible predicate threw - CEL predicate failed to evaluate: (has(record.id) && record.id == ctx.user.id && has(record.two_factor_enabled) && record.two_factor_enabled != true) && features.twoFactor == true; the record shows Two-Factor Enabled: No and /api/v1/auth/config reports features.twoFactor: true · dedupe words: enable_two_factor, visible predicate threw, features.twoFactor, CEL predicate failed to evaluate"
     ]
    }
  13. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
    2026-11-28T20:49Z · Claim amendment 2 to 7243573945 (amendment 1: 7243947617), after the draft PR #38384 (head 809cfb89) and the dev report 7245527327.

    Seat ruling: the file surface adds two test files, in the same PR.

    File surface (added, same PR):

    • ui/apps/console/src/__tests__/App.nativeShellMode-29039.test.tsx
    • ui/apps/console/src/__tests__/App.nativeShellOpenSet-29330.test.tsx

    Why: making LoginPage lazy lets the ready / routeChanged events arrive after findByTestId returns. App.nativeShellMode-29039 failed 1 of 9 local runs at the PR head. CI shards start cold, so the flake comes from this change, not from an older test. The fix touches tests only: it wraps 5 assertions in waitFor, and it measured 22/22 green. It goes into the PR branch in the fix round, so no flaky test lands with the change.

    The rest of the claim and amendment 1 stand. Readings at the head that lands: eager gz before and after, the gate exit, lazy chat fetch, and LCP medians by the #37444 method (first reading 7245504380).

  14. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibx7DSQZnugnuX8CpCM
    os-dev-report
    Read at 2026-11-28T21:17Z

    Delta addendum to report 7245527327: fix round on PR #38384 under claim amendment 2 (7245569343).

    • New head ebc492296. It is the earlier test-only commit cherry-picked onto claude/project-thread-ciejge (same patch-id). It was pushed without force, from 809cfb890 to ebc492296. It touches only App.nativeShellMode-29039.test.tsx and App.nativeShellOpenSet-29330.test.tsx, wrapping the five event assertions in waitFor. The local backup branch was deleted and was never pushed.
    • CI on ebc492296: 58 check-runs, 47 success, 11 skipped, 0 failed. All 11 required contexts succeeded, and Test UI passed 16 of 16 shards. Check Changeset: success.
    • Test runs at ebc492296. The 3 console App files (App.docsPortalLazy, App.nativeShellMode-29039, App.nativeShellOpenSet-29330) passed 22/22 in 3 runs on an idle box and 22/22 in 3 runs under synthetic CPU load (6 busy loops on 4 cores), each exit 0. @object-ui/console type-check: exit 0. pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped; 5159 tests passed, 2 skipped. The derived gates are unchanged at 47 families. --ran reports 45 run, 2 NOT MEASURED (check:dual-build-cjs-loads, exit 3 because the packages are not built locally; check:type-check-debt, which needs a full-repo build); CI is green for both.
    • Eager closure. The new commit changes no bundler input, so the readings stand: 2,226,792 to 1,893,160 gz, gate exit 0, chat chunks lazy. LCP medians stand as recorded on Console first screen: home, object list and record page miss the 2.5 s LCP threshold (baseline 3.6 / 4.6 / 4.2 s); re-measure on a production build first #37444 (7245504380).
    • Widening: no. The PR adds or widens no exported symbol, component prop, function option or exports entry of a published package. The diff has zero added or removed export lines under ui/packages, App.tsx or vite.config.ts, and it changes no package.json.
      • @object-ui/app-shell exports has only . (./dist/index.js) and ./styles.css.
      • RemediationOverlay.tsx: export function RemediationOverlay() (line 39) is re-exported from the package entry (src/index.ts line 681), so it is reachable from exports .. Its signature is unchanged: it takes no props. The changed function is TotpQr (line 237), which is module-private.
      • ActionResultDialog.tsx: ActionResultDialog (line 84), ResultField (line 177) and ResultDialogState (line 54) are exported from the file, and src/views/index.ts line 12 re-exports ActionResultDialog. The package entry src/index.ts does not re-export it (its views block lists ObjectView to FlowRunner only), so it is not reachable from exports. The changed function is QrcodeBlock (line 415), which is module-private. No signature changed.
    • 2FA finding file: /mnt/project-files/card-37572/finding-2fa-button.md. It records the main sha, the verbatim console warning, the predicate's source, and where the features.twoFactor == true conjunct is appended: lowerRequiresFeature, public-auth-features.ts line 630, through action.zod.ts line 3319. It also gives the reproduction steps and what was not verified.
    {"issue":37572,"status":"done","pr":"https://github.com/objectstack-ai/objectstack/pull/38384","head":"ebc492296","ci":"58 runs: 47 success, 11 skipped, 0 failed; 11/11 required success","tests":"3 console App files 22/22 x3 idle + x3 loaded; console type-check 0; ui scripts 5159 passed 2 skipped","widening":"no","finding_file":"/mnt/project-files/card-37572/finding-2fa-button.md","wip_branch":"deleted locally, never pushed","security_findings":"none"}
  15. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
    2026-11-28T21:20Z

    L1-a: ACCEPT for PR #38384 (#37572) at ebc4922962b8319143f005c5672df01d92664438.

    Scope. 10 files, all inside the claim and its two amendments. Amendment 1 covers the threshold, the formula-based cap and the chat-lazy guard. Amendment 2 covers the two App.nativeShell test files.

    Clause-②: no holds, so no contract review is owed.

    • No export is added or removed. RemediationOverlay keeps its exported signature (no props).
    • TotpQr and QrcodeBlock are module-private. The only change inside them is that qrcode is now loaded with import() when a QR code first draws. A failed load shows its message in place of the code, the same way an encoding error does.
    • In App.tsx, the nine auth pages and the four dev harness pages become lazy() route components. Nothing that App.tsx exports changes.
    • vite.config.ts adds hitlContinuation and chat/questionSkip to the plugin-chatbot-core chunk group.
    • No packages/spec/src/** path, no governed path and no narrowing is touched, and Metadata-protocol: none is right. So no face applies: L1 only, no record.

    Changesets are patch everywhere they need to be.

    • @object-ui/console and @objectstack/console are published and both are patch.
    • @object-ui/app-shell is private, so its entry is harmless.
    • l1-face finds every touched published package covered.

    Behaviour. The auth pages take no <Suspense> of their own and suspend into ConsoleShell's boundary. That boundary also holds NativeShellRouting, so the mobile shell's ready() still waits for the first route. Each dev page keeps its own boundary behind ProtectedRoute. The eager-closure gate gains evaluateLazyChatChunks, which fails when the chat or markdown chunk is eager. The cap is reset by the gate's formula, with headroom equal to 0.5× the regression it must catch.

    Evidence.

    CI and landing.

    • CI at this head: 47 success, 0 failed, 0 pending. Mergeable is clean.
    • landing-k against main at 23c311e8ff: K = 1 against a hold of 15, so it is OK. No new locale pack, and no shared budget book moved on main.

    Nit N1 (no action needed). In the changeset and the PR body, Clause-②: no (load order only) carries a parenthetical that is not one of the closed arms, (widening) and (narrowing). The parsers read it as no, so nothing misroutes. Writing a bare no would match AGENTS.md Post-Task 3 exactly. Change it only if the head moves for another reason.

  16. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
    2026-11-28T21:53Z · 收口:PR #38384 经合并队列合入(2efcedd9),本卡随 Fixes 关闭;去掉 pm:dispatched。首屏 eager 闭包 2,226,792 → 1,893,160 gz(−333,632),上限按公式重设为 2,249,000,并加了 chat 块保持 lazy 的守卫;LCP 中位数(#37444 方法,7245504380)首页 −147、列表 −172、记录 −200 ms。范围外发现另立 #38385。

  17. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:uipriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions