Repository navigation
Description
repo:objectstack#2 · huangyiirene · session_01J8VVAm8Y73VGNq3PkTe3dc
Filing gate: ③ maintainer-directed. Source: maintainer.
开提速卡,不派发
(Irene, in this project, 2026-11-26. "File the speed-up card, do not dispatch it." So this card waits in pm:queue unclaimed; seat 2 does not dispatch it.)
Business reason: first-screen load is core feature ux ⑥. The maintainer set its threshold (ruling 7178954860 on #35212): LCP at most 2.5 s, cold cache, signed in, desktop Chrome, Lighthouse desktop profile (about 10 Mbps / 40 ms RTT, no CPU throttle), median of 5 runs on home, an object list and a record page. The checklist item that encodes it, ux-conventions.first-screen-lcp (PR #37398, merged), fails on all three pages at its baseline. Every user opening the Console waits on this.
Reader who acts: the domain:ui lane, when cards are taken again. Its first step is the production re-measure below; the fix scope follows from that reading.
Dedupe: open issues for first screen LCP, console bundle size, page load time, Lighthouse, LCP, eager bundle: 0 open hits. Closed and related (earlier work on the same seam, not this threshold): #33293 (dashboard route's eager closure, 17.9 s at 1.5 Mbps), #35455 (about six serial boot round trips), #35534 (me/localization waits on the eager bundle).
Baseline (from PR #37398)
| Commit | db77cc493a (main) |
| App | showcase, pnpm dev -- --fresh, Console rebuilt with pnpm console:build |
| Tool | Lighthouse 13.6.0, desktop-config.js, performance only; Chrome for Testing 158, headless, 4-core cloud container |
| Page | Median LCP of 5 | Threshold |
|---|---|---|
Home (/_console/home) |
3557 ms | 2500 ms |
Object list (/_console/apps/showcase_app/showcase_task) |
4625 ms | 2500 ms |
Record page (.../showcase_task/record/:id) |
4175 ms | 2500 ms |
All three miss by 42% to 85%.
Suspected seam
The Console's eager JS: about 2.0 to 2.5 MB brotli across 150 to 239 script requests per page, loaded before the first screen paints (the measuring dev's reading in PR #37398).
First step: re-measure on a production build
The baseline ran against the dev server in a headless container, so the gap may differ on a production deployment. Before any fix, take the same reading (same profile, same three pages, median of 5) on a production build and record it on this card. If all three pages then pass, close this card with that reading. If not, scope the fix from the production numbers and the request waterfall.
Done when
On a production build, under the ruling's conditions, the median LCP of 5 runs is at most 2500 ms on home, the object list and the record page; the run is recorded against ux-conventions.first-screen-lcp.
Grade: area:ux · Bug · core feature ux ⑥ fails its maintainer-set threshold · reach: Lighthouse on the three Console pages · evidence: measured (dev-server build). Suggested-grade: p2 until the production reading confirms the miss; re-grade by the table then.
Clause-②: no
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · priority:p2 ·
pm:queue· size L; rationale: the first-screen LCP threshold the maintainer set (2.5 s) fails on all three measured pages. Grade and state are as filed; the maintainer ordered it filed and not dispatched, so it waits unclaimed in the queue. The first step is the production-build re-measure.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Claim: PM loop round 1 · 2026-11-26T12:57Z
Session:
session_01L6bhgV6i8jfWwSXjpWJrjAThread session:
session_01L6bhgU8Bf564ZGXi4MfHWbAccount:
os-salesBranch:
claude/project-thread-xtck3bWorktree:
objectstack-issue-37444Domain:
domain:uiSeat:
repo:objectstack#2Area:
s2-ux(card thread)File surface:
ui/apps/console/andui/packages/app-shell/first-screen paths, named by the re-measure's waterfall before any code; none if the re-measure passesContainer & model:
L,mode:thread,model: default — no path-derived mandate; thread served default, reported,effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack console (home, object list and record page first paint over 2.5 s LCP at the triage baseline 3.6 / 4.6 / 4.2 s) | none | every console user on first load; the baseline was not a production build, so the re-measure decidesThread-read: 7184396361
Premise: inbox (the card's first step is the production-build re-measure: Lighthouse desktop, cold cache, signed in, median of 5 per page; three passes ⇒ the card closes on the reading with no code)
Serial constraints cleared:
none named; the thread runs scripts/pm/overlap-check.mjs before its first pushobjectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgU8Bf564ZGXi4MfHWb
Premise reading (card thread, 2026-11-26T13:42Z): the production-build re-measure the card's first step asks for. Result: all three pages still miss the 2500 ms threshold, so the premise holds and the card stays open. Fix scope is with seat 2 (slice C first in this thread,
Part ofthis card).Tree: objectstack
021524cd(main). Build:pnpm buildthenpnpm console:build(packages/console/dist from the same tree).Server:
objectstack startinexamples/app-showcase,NODE_ENV=production(banner:Mode: production), sqlite, port 38611,brotli on (
content-encoding: bron the document and every asset checked), hashed assetspublic, max-age=31536000, immutable.Sign-in: the account signed up over REST, password reset with
os user set-password(a production server refuses the devseed password), then signed in through the Console login form in the same Chrome Lighthouse attaches to.
Tool: Lighthouse 13.6.0 node API,
desktop-config.jsas shipped (formFactor desktop, rttMs 40, throughputKbps 10240,cpuSlowdownMultiplier 1, mobile false, disableStorageReset false), performance only. Chrome for Testing 158.0.8127.36
headless, 4-core cloud container. 5 runs per page; every run's finalDisplayedUrl is the requested page (not /login), the
LCP element is page content, script requests carry transferSize above 0.
Note: on this boot
/_console/homelands on/_console/apps/com.example.showcase/page/showcase_capability_mapand thelist/record URLs redirect to
/apps/com.example.showcase/...(the app's package id), same pages as the baseline.Reading (ms)
The production build changes nothing material: all three still miss, by 45% / 84% / 69%.
Even the login page (an unauthenticated run) reads 2.85–2.90 s.
Where the time goes
Counterfactual runs (same pages, 2 runs each, one throttling knob changed):
120 chunks on every page (the login page included). Largest eager chunks (gzip): vendor-objectstack 684 KB
(
@objectstack/speczod modules — 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, vendor-radix 58 KB.
A probe build marking zod builder calls pure (
treeshake.manualPureFunctions: ['z']) saved only 13 KB: the spec code inthe eager closure is reached, not dead, so it only shrinks by changing what the shell imports eagerly.
record +388 KB (plugin-grid 192, i18n-ns-studio-en 69, RecordDetailView 35).
serial API rounds (permissions/i18n/org → meta/app → me/apps + meta/object → app bundle + localization → agents +
meta/view → personal_view → data), observed at 2.27 s.
observed (unthrottled, local) LCP is already 2.0 / 2.6 / 2.5 s.
Even with unlimited bandwidth the list page sits at ~2.4–2.5 s, so no single seam gets all three pages under 2.5 s.
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgU8Bf564ZGXi4MfHWb
Correction · card thread of seat 2 · 2026-11-26T22:23Z. Correction to the production reading above (comment 7193730951), plus a reading over HTTP/2.
Correction. The line "round trips ~0.5–1 s … about seven serial API rounds before list data" was measured in wall-clock time in a real browser. It is not part of the Lighthouse reading.
fetch()answer as an edge.Details are on #37574, closed as not planned for this reason.
HTTP/2 reading. Same tree (
9476092c), same server and Console build, same Lighthouse desktop preset. The only change is that requests go through a local HTTP/2 TLS front. The control row uses the same front with Chrome's HTTP/2 turned off, so the proxy hop is in both rows. Brotli bytes pass through unchanged.What this means for the remaining slices.
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgU8Bf564ZGXi4MfHWb
Reading protocol · card thread of seat 2 · 2026-11-26T22:27Z
From now on, this card's LCP acceptance reading is taken over HTTP/2 TLS, and the HTTP/1.1 numbers are listed beside it as a control.
Why: a real deployment serves the Console over TLS, which is normally HTTP/2. The earlier readings were taken on plain-HTTP localhost, which is HTTP/1.1. There, Lighthouse's simulation charges each of the ~150 script requests a round trip on six connections, and that adds 1.4–1.9 s per page that a deployed Console does not pay (comment 7204645317).
Method: the #37444 method unchanged, with the production server behind a local HTTP/2 TLS front. The HTTP/1.1 control uses the same front with Chrome's HTTP/2 turned off, so the proxy hop is in both rows.
HTTP/2 baseline at
9476092c: home 2297, list 2837, record 2685 ms. Next slice: #37575 (render CPU).objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Ruled · 2026-11-26T23:54Z — acceptance of this card amended (adds a condition to threshold ruling 7178954860 on #35212; follows the protocol finding in 7204645317)
The maintainer (Sales) answered 「同意」 (2026-11-26 23:53Z) to: first-screen LCP readings are taken over HTTPS with HTTP/2, written into this card's acceptance, and the deployment docs state that HTTP/2 is the recommended setup. Reason as put to the maintainer: hosted and production deployments serve HTTP/2; on plain-HTTP HTTP/1.1 the ~150 script requests queue on six connections, about 1.5 s a user on a real deployment does not meet.
Done when (replaces the card's section of that name): on a production build served over HTTPS with HTTP/2, under the other conditions of ruling 7178954860 (cold cache, signed in, desktop Chrome, Lighthouse desktop preset, median of 5), the median LCP is at most 2500 ms on home, an object list and a record page. Each reading names its protocol; an HTTP/1.1 reading is a control only. The run is recorded against
ux-conventions.first-screen-lcp, whose steps carry the protocol condition.Reading at that condition (local HTTP/2 TLS front, production build): home 2297 ms (passes), list 2837 ms, record 2685 ms. List and record still miss by about 0.2–0.3 s; slices continue in #37575 and #37572.
10 remaining items
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-tesla · session_01L9qibxzGFPvShbd2qnkdEv
os-dev-report
Read at 2026-11-29T01:44Z
PR 1 (#38429, head
bd4f2071) on its own build: the object list drops 96 ms (2647 → 2551, p 0.03) and is still 51 ms over 2500. The record-page +50 ms from the probe does not hold: +34 ms over 20 vs 20, p 0.30, and 0 ms in the reversed round. Home reads +35 ms, p 0.33.List route, scripts fetched before the first screen (one full Lighthouse run per build): main 274 scripts, 2403.9 KB gzip as served; PR 225 scripts, 2232.3 KB. That is 49 fewer scripts and 171.6 KB less gzip. Counted from the dist's
.brfiles it is 188 KB less brotli (2060.3 → 1872.1 KB). The chunks that left includei18n-ns-studio-en69.5 KB,SchemaForm36.8 KB,PackagesPage15.7 KB,metadata-admin/i18n10.2 KB,CelPredicateField,PackageFormDialog,PackageCreateAsk,ViewConfigPanel,ViewVariantInspector,CreateViewDialog,RuntimeDraftBarandmetadata-form-i18n(gzip sizes). Home and record fetch the same script count on both builds (167 and 206).{ "issue": 37444, "status": "done", "branch": "claude/project-thread-kz8j47", "pr": "https://github.com/objectstack-ai/objectstack/pull/38429", "session": "session_01L9qibxzGFPvShbd2qnkdEv", "premise_still_valid": true, "summary": "PR 1 per claim 7248103031. Part of #37444, so the card stays open. objectViewViewCrud.tsx and objectViewViewSharing.ts no longer import metadata-admin/PackageCreateAsk or metadata-admin/i18n as values: the package ask mounts a lazy dialog on the first ask and keeps it mounted, and a refused view create loads its words on the refusal. ObjectView.tsx mounts ViewConfigPanel and CreateViewDialog the first time each opens. The list improves 96 ms but stays 51 ms over the threshold, so a second cut is owed after a claim amendment.", "tests": "cd ui && pnpm exec vitest run on 23 affected app-shell files: 265/265 passed (lock VERDICT exit 0). That covers the new pin objectViewListRoute.deferredAuthoring-37444.test.tsx (3 cases) and the ObjectView, ObjectDataPage, viewSharing, viewCrud and PackageCreateAsk tests. Two existing tests read a closed panel's props and now open it first (35974, 10210). Ablation, committed first, then scripts/ablation-replace.mjs on objectViewViewCrud.tsx: the type-only PackageCreateAsk import was made a value import of PackageCreateAskDialog. Cases 1 and 2 went red (packageAsk 0 -> 1) and case 3 stayed green: 2 failed, 1 passed. Restored with blob == HEAD and git diff HEAD empty. Not separately pinned: CreateViewDialog's render deferral (only its import-time module load is pinned). ViewConfigPanel's render deferral is pinned by the 35974 personal-view case.", "gates": "dispatch-gates --commands: 38 derived, all 38 exit 0 (codes captured before any pipe). --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. --tier: no path-derived mandate (default tier, opus); 356 changed lines, under 3000. overlap-check: merges cleanly onto origin/main 3579cf13, VERDICT clean. eslint on the 6 changed files: 0 errors. PR check-runs on bd4f2071: 51 runs, every one success or skipped, none failed. Success includes Test UI (16 shards), Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Check Changeset, PR-body guards, Governed Surface Queue Guard and the Lint/Type Check lanes.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "read-only: mcp__github__issue_read and mcp__github__pull_request_read (get_check_runs); no MCP write tool", "api_writes": "3 — git push of claude/project-thread-kz8j47; relay pr_create (fleet-write run 46208793024; read-back 5587/5587 bytes identical, assignee os-tesla); this os-dev-report. A relay body patch on #38429 follows to fill Verification", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: c · reach: Console list toolbar Settings opens the view config panel on the first grid view ('all'), not on the view that is open · evidence: unit level only (the 10210 fixture), not reproduced in a browser · dedupe words: toolbar settings first view, view config panel wrong view", "carrier: PR #38429 Acceptance notes · noted, not filed" ] }Method and runs
Method: the card's, as in 7245504380 and the pre-claim report. Production builds (
pnpm build+pnpm console:build),objectstack startwithNODE_ENV=productionand sqlite, behind a local HTTP/2 TLS front. Lighthouse 13.6.0desktop-configunchanged (simulated throttling, storage reset on), signed in through the Console login form in the same Chrome. Chromium 1243 headless, shared 4-core container. Main isff69bcab's build;git diff ff69bcab 35114325 -- ui packagesis empty, and35114325is the PR's merge base. Blocks ran back to back: main-1, pr-1, pr-2, main-2, 5 runs per page each. The record page got a reversed round on top (pr-3, main-3, main-4, pr-4). All 80 reports served the document and every script overh2, ended on the requested page, and recorded no runtime error. The runs held the verify lock (1785 s), which excludes other locked runs but not unlocked sibling work. p is a two-sided permutation test on the median difference, 20,000 shuffles.Block medians: list main 2649 / 2645, PR 2556 / 2491. Record main 2501 / 2427 / 2475 / 2464, PR 2486 / 2470 / 2476 / 2463. Home main 2107 / 2069, PR 2167 / 2098.
Runs (ms, block.run):
Home and record lean slightly higher on the PR in both the probe and this reading (home +22 then +35, record +50 then +34). Neither is significant here, and neither page loads different code apart from chunk hashes. I cannot explain the lean. The record's reversed round reads 2469.5 on both arms.
Next: the list is still 51 ms over. The second-cut candidates are in the pre-claim report (plugin-form off the list route, the pre-LCP requests, splitting plugins-views), none measured. They wait for the seat's claim amendment.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1
2026-11-29T01:48Z
L1-a: ACCEPT for PR #38429 (
Part of #37444) atbd4f20712f125e57545bf16ae26fc9f1eab2d39f.Scope. 7 files, all in
ui/packages/app-shell/src/views/plus the changeset, and all inside claim 7248103031 (PR 1, the list-route cut). The relation isPart of, which is right: the list page still reads 2551 ms against the 2.5 s bar, so the card stays open and keepspm:dispatched.Clause-②: noholds.@object-ui/app-shellisprivate. No export, prop or option of a published package moves.PackageCreateAskDialog,PackageAskRequest,runtimeCreateRefusalText,designerLocaleOfandloadStudioCataloguewere all exported at the merge base35114325. The PR only imports them, lazily, plus one type-only import.@object-ui/i18n/namespaces/studiowas already a subpath in that package'sexports.reportViewNotSavedis a module export inside the private package.objectViewViewSharing.tsnow reuses it, and there is no import cycle back.Metadata-protocol: noneis right, and no face applies. This is L1 only, and no contract review is owed.Changesets. One changeset,
patchfor@object-ui/app-shelland@objectstack/console. Patch is right: it is a perf change with no surface change. The console entry is the one that ships, because@objectstack/consoleis published and carries the built app-shell.Behaviour checked against the base.
useDeferredPackageCreateAskkeepsusePackageCreateAsk's promise contract line for line. A secondask()answers the first withnull, an unmount answers an open ask, andonAnswerresolves and clears. The only change is that the dialog sits behindlazy()from the first ask on.useOpenedOncesets state during render and is gated byopen && !opened, so the opening render already mounts the panel or dialog, and it stays mounted after.useMetadataLocaleused to start the Studio catalogue fetch on every list.reportViewNotSavednow loads that catalogue on the refusal, maps the language throughdesignerLocaleOf, and falls back to the built-in English if the load fails. It still returnstruesynchronously, so callers keep their flow. The toast simply arrives after the strings do, as the changeset says.Evidence. The static-graph pin's ablation reds 2 of 3 cases. The third, CreateViewDialog's render deferral, is pinned only by its import-time load. The thread names that gap, and I accept it as a nit. The derived gates pass 38 of 38 with none NOT MEASURED.
--tiergives the default, and the overlap check is clean. PR-build readings by the card's method: list −96 ms (p 0.03), record +34 ms (p 0.30, the reversed round reads 0), home +35 ms (p 0.33). Eager list scripts drop from 274 to 225, about −171.6 KB gzip.CI at this head: 39 success, 15 expected skips, 0 failed. 1 run is pending:
Check Changeset, re-fired. Landing waits on it.K = 8 against a hold of 15.
mainis at0c1b2ffe, 8 single-parent commits past the merge base35114325. Thelanding-kreader answers CAN'T ANSWER here, because a ui-only PR runs noTest Coreshard. So this count was read from the compare instead.The toolbar Settings finding does not get its own card now. At this head the console cannot reach it.
handleViewAction('settings', viewType)does pick the first view of that type, so it switches away from the open view, and that has been true since before this PR. But the only button that calls it is aviewActionsentry of plugin-view'sViewSwitcher. That switcher draws only whenshowViewSwitcher === true, and the console's object-view schema (objectViewPluginSchema.ts:98) passesviewActionswithout ever setting that flag. So no user can hit it. A card would fail the filing business test. If a later change draws that switcher in the console, the defect becomes real and is worth filing then.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-tesla · session_01L9qibxzGFPvShbd2qnkdEv
Read at 2026-11-29T04:21Z
Second-cut candidates, measured on main
1afd9c13(#38429 merged) with local probes only, nothing pushed. Main's list page reads 2521.5 ms (20 runs), right at the line. Taking plugin-form off the list route is the one candidate with a significant effect: −54 ms (p 0.014, 20 vs 20), bringing the list to 2467.5. The smallest set that clears 2.5 s is that cut alone. Deferring the background reads (−19, p 0.15) and splitting plugins-views (−13.5, p 0.78) do not show a significant effect here. Adding the deferred reads to the plugin-form cut did not help: 2492, p 0.22.plugins-views(60.0 → 46.0 KB); 225 → 221 scriptsplugin-listWhat each probe found:
A.
plugin-view'sObjectViewimportsObjectFormstatically, which puts plugin-form (45.6 KB) on the list route. Making that import lazy is not enough on its own. The console'sAppContentalso mounts a closedLazyModalFormon every object page, becauseformObjectDefis set whenever an object is open, so the form chunk was still fetched at about 2.0 s. That is the same closed-mount pattern perf(app-shell): an object list loads the package ask, the view settings panel and the create-view dialog only when opened #38429 fixed. The probe does both:ObjectForminplugin-view, drawn inside the sheet or dialog that already mounts its content only when open;With both, the list fetches no plugin-form chunk (one diag run per build). The real change touches
@object-ui/plugin-view(published, patch) and@object-ui/app-shell. A user sees a short wait the first time a create or edit form opens on a list.B. All of these reads already wait for the boot splash to leave (
useAfterFirstPaint/whenBootPainted). On a list the splash leaves long before the grid's rows arrive, so they go out at about 1.9 s, alongside the list's own data request. The probe holds them a fixed 2 s past the splash. That lands them near the list's LCP, so this measures a poor version of the idea, and the A+B arm may suffer from the same collision. A real change needs a signal for "the route's first screen is drawn" (for example the first data commit of the list, record or home body). I have not designed or measured one.C. Per-module attribution from a sourcemapped build shows the parts not drawn on a desktop grid's first screen. The settings popover body is 9.7% of the chunk, the phone panels 6.1%, the filter field list and value panel 6.9%, and the gallery 4.7%;
ListView.tsxitself is 39.5%. The probe stubs those parts out, so its −14 KB is the ceiling of a split. The LCP effect is within noise.Not a candidate, but read:
/api/v1/ai/agentsgoes out at about 1.5 s fromplugin-chatbot-core, ungated by the paint signal (0.1 KB).Method and noise
Same instrument as 7248989586: production
console:buildper probe, served byobjectstack start(NODE_ENV=production, sqlite) behind the HTTP/2 TLS front. Lighthouse 13.6.0desktop-configunchanged, signed in through the login form. Chromium 1243 headless, shared 4-core container, verify lock held. Blocks of 5 list runs per arm, interleaved with the order reversed every round:All 120 reports served the document and every script over
h2, landed on the list, and recorded no runtime error. p is a two-sided permutation test on the median difference, 20,000 shuffles.Round 1's A probe lacked the
AppContenthalf: it still fetched plugin-form and is excluded from A's rows (it read −30, p 0.52). Main's block medians across the three rounds run 2478 to 2551, so a single 10-run reading of this page moves about ±40 ms. Main is 2493.5 in round 1, 2512.5 in round 2 and 2550 in round 3. The PR build's 2551 in 7248989586 is inside that band.Probe diffs, raw rows, scripts and the initiator tracer:
/mnt/project-files/card-37444/second-cut-probes/. The initiator stacks come from CDPNetwork.requestWillBeSentwith async stacks on.Proposal for the claim amendment: PR 2 is candidate A only,
Part of #37444. It makesObjectFormlazy inplugin-viewand mounts the record-form modal inAppContenton first open. It adds a pin that the list route evaluates no plugin-form module, with ablation. Expect about 150 lines. Re-read all three pages on its PR build. If the list clears 2500 with margin there, the card can close on that reading. If it does not, B with a real first-screen signal is the next measurement. C is not worth its size.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-29T04:22Z · Claim amendment 1 to 7248103031, after PR 1 (#38429, merged 02:13Z) and the second-cut reading 7250610022 (main 1afd9c1, local probes only).
Seat ruling: PR 2 is candidate A only,
Part of #37444.plugin-formoff the object list route. Both halves of the probe: plugin-view's staticObjectFormimport becomes a deferred load, and AppContent's closedLazyModalFormon every object page mounts only when opened, the same pattern perf(app-shell): an object list loads the package ask, the view settings panel and the create-view dialog only when opened #38429 fixed. Probe reading: list −54 ms (p 0.014, 20 vs 20), 2521.5 → 2467.5 ms, −45.6 KB gzip.ui/packages/plugin-view/src/**(theObjectFormimport site and its pin),ui/packages/app-shell/src/**(the AppContent closed-mount site and its pin),.changeset/*.md(patch,@object-ui/plugin-viewand@object-ui/app-shell). About 150 lines with a static-graph or mount pin and its ablation.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-tesla · session_01L9qibxzGFPvShbd2qnkdEv
os-dev-report
Read at 2026-11-29T06:17Z
PR 2 (#38486, head
6a6dc4b9) on its own build: the list fetches noplugin-formchunk (−45.4 KB gzip, 225 → 224 scripts) and reads −46.5 ms against main (2631 → 2584.5, p 0.22, 20 vs 20). The list does not clear 2500 on this reading, so the card stays open for B. The box read slower today than in the second-cut reading. Main1afd9c13, the build that read 2521.5 there, read 2681.5 here, so the absolute level moved about 160 ms between sessions and the delta did not.4d07ddbfmedian LCP (ms)List route, one full Lighthouse run per build: main 225 scripts, 2231.5 KB as served; PR 224 scripts, 2186.1 KB. The chunk that left is
plugin-form(45.8 KB).plugin-form-core(8 KB) stays, because other list code shares it. Home and record fetch the same script count on both builds (167 and 206), and the record page still fetchesplugin-formfor its own use (at about 1.4 s on both builds).Control, list only, 10 per arm, interleaved after the A/B: main
1afd9c132681.5, main4d07ddbf2672 (−9.5, p 0.81), PR 2600 (−81.5 vs1afd9c13, p 0.09). The 6 commits between the two mains do not move the list. The box does. Pooling the A/B and the control gives 30 vs 30: main 2641, PR 2593.5, −47.5, p 0.11. The PR's third A/B block (2842) is its one high block, at 05:48–05:52Z. The lock excludes other locked runs, not sibling work.Reading against the done-when: the list does not clear 2.5 s on the PR build, with or without margin. The cut's effect is −46 to −81 ms across four readings (probe −54 at p 0.014), consistent in sign but not significant on its own build today. If the second-cut session's box level is right, the PR would read about 2470. That is under the line, but not with margin. Given the card's wording, I read this as "stays open for B".
The record −76.5 ms (p 0.0007) is unexplained. The bytes, the script count and the time the
plugin-formrequest starts all match on both builds. In PR 1's reading the record leaned +34 the other way. I would not count it as this PR's effect without another reading.{ "issue": 37444, "status": "done", "branch": "claude/project-thread-kz8j47", "pr": "https://github.com/objectstack-ai/objectstack/pull/38486", "head": "6a6dc4b96363145f5f3ccb16ae4aff5d6c32379a", "session": "session_01L9qibxzGFPvShbd2qnkdEv", "premise_still_valid": true, "summary": "PR 2 per claim amendment 1 (7250623227), candidate A only, Part of #37444. plugin-view's ObjectView loads ObjectForm with React.lazy inside the drawer and modal that already mount their content on open. app-shell's AppContent mounts the record-form LazyModalForm the first render it is open (useOpenedOnce), and keeps it mounted after that. useOpenedOnce moved to app-shell/src/hooks/useOpenedOnce.ts, package-internal. The list stops fetching plugin-form (-45.4 KB gzip, 225 -> 224 scripts) and reads -46.5 ms (p 0.22). It does not clear 2500 on this reading (2584.5), so the card stays open for B under the amendment's done-when.", "tests": "Affected suite under the verify lock: 251 files / 2286 tests passed. New pins: plugin-view ObjectView.formLoadsOnOpen-37444 (1 case: drawing a list evaluates no plugin-form module; New loads it once in create mode) and app-shell AppContent.recordFormMountsOnOpen-37444 (2 cases: no form open = no module, no modal; ?form=new = loaded once, first render open). Three plugin-view tests (10976, 10885, ObjectView.test navigation drawer) now wait for the async form. Ablation, committed first, scripts/ablation-replace.mjs, re-run on 6a6dc4b9: (1) AppContent gate removed -> both AppContent cases red (loads.form 1, expected 0); (2) the lazy const replaced with the static import -> the plugin-view case red (expected 1 to be +0). Both restored, blob == HEAD, git diff HEAD empty.", "gates": "dispatch-gates --commands: 38 derived. The first pass had 2 reds on the new AppContent pin. check:test-source-alias wanted a module-top import of @objectstack/lint (now added). vitest run scripts/ went red on check-vi-mock-inherit, because the counted plugin-form factories did not spread importOriginal (both now do). Fixed, pins and both ablations re-run, then those two re-run green (scripts/: 172 files passed). --ran: 38 derived, 38 run, 0 NOT-MEASURED. --tier: no path-derived mandate; 311 changed lines, under 3000. overlap-check vs origin/main 430bbbf1: merges cleanly. eslint on the changed files: 0 errors. PR check-runs on 6a6dc4b9: 52 runs, none failed (Test UI 16 shards, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI and the repo gates success; the rest skipped).", "clause_2": "no — no exported shape, prop or option moved; useOpenedOnce is not exported", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "read-only: mcp__github__pull_request_read (get_check_runs); no MCP write tool", "api_writes": "3 — git push of claude/project-thread-kz8j47; relay pr_create (fleet-write run 46229394132; read-back 5779/5779 bytes identical, assignee os-tesla); this os-dev-report. A relay body patch on #38486 follows to fill Verification", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: c · reach: the card's LCP instrument — the same build (main 1afd9c13) read 2521.5 ms at 04:0xZ and 2681.5 ms at 06:1xZ on this shared container, so an absolute 'clears 2500' verdict depends on box state more than the cut sizes do · evidence: this control vs reading 7250610022 · dedupe words: LCP absolute drift, shared box, done-when threshold · carrier: this report, noted, not filed" ] }Method and runs
Same instrument as 7250610022. Production
pnpm console:buildper arm: main at the merge base4d07ddbf, and the PR at8233f34c.6a6dc4b9differs from8233f34conly in the two pin test files. Served byobjectstack start(NODE_ENV=production, sqlite) behind the HTTP/2 TLS front. Lighthouse 13.6.0desktop-configunchanged, signed in through the login form. Chromium 1243 headless, shared 4-core container, verify lock held (1904 s for the A/B, 594 s for the control). Each block is 5 runs per page, with list, record and home in every block. Blocks were interleaved: main-1, PR-1, PR-2, main-2, then PR-3, main-3, main-4, PR-4. Control: main1afd-1, main-1, PR-1, PR-2, main-2, main1afd-2, list only. All 150 reports served the document and every script overh2, ended on the requested page, and recorded no runtime error. p is a two-sided permutation test on the median difference, 20,000 shuffles.Runs (ms, block.run):
1afd9c13list: 1.1=2576 1.2=2832 1.3=2737 1.4=2931 1.5=2687 2.1=2676 2.2=2610 2.3=2710 2.4=2526 2.5=26644d07ddbflist: 1.1=2675 1.2=2792 1.3=2746 1.4=2537 1.5=2597 2.1=2702 2.2=2669 2.3=2608 2.4=2698 2.5=2635Block medians, list: main 2579 / 2648 / 2626 / 2636; PR 2576 / 2556 / 2842 / 2610. Rows, scripts and the gate record:
/mnt/project-files/card-37444/pr2-reading/.Next, per the amendment: B (background reads after the first screen) needs a real "first screen drawn" signal, and it read −19 ms (p 0.15) as a 2 s-timer probe. Given today's drift, any next reading should run main
1afd9c13as a fixed control arm, so that a box-level shift is visible in the same session.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Release: seat
repo:objectstack#3hands this card to seat 5 for review and landing, at 2026-11-29T06:18Z.Ruling-ref: Tesla 2026-11-29 04:59:05Z 「当前开发处理完提交后就可以交接给 5号座位」 and 05:00:26Z 「你开发中的提交代码之后就可以交接给5好审核落地了。」 (seat post 7250995384)
Resume-from:
claude/project-thread-kz8j47@6a6dc4b96363145f5f3ccb16ae4aff5d6c32379aState at release:
Part of #37444, candidate A under amendment 1 7250623227) at6a6dc4b9, 311 lines,Clause-②: no. The report is 7251766050. Check-runs at this head: 52, none failed. Derived gates 38/38, and the pins come with a two-half ablation. No review is on record yet.4d07ddbf:1afd9c13read 2681.5 here and 2521.5 in reading 7250610022). Its advice is that any next reading carries1afd9c13as a fixed control arm.session_01L9qibxzGFPvShbd2qnkdEv. It is watching perf(plugin-view, app-shell): an object list loads the form package only when a form opens #38486 for the next seat.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
Claim: PM loop round 3 · 2026-11-29T06:29Z · review and landing of PR 2 #38486 only (no new code), on seat 3's Release 7251782227
Session:
session_01FEkQ5pH8MaBBP5T2dVcTHLAccount:
os-project-managerBranch:
claude/project-thread-kz8j47(Resume-from @6a6dc4b963, PR #38486)Worktree: none — no dev dispatched; any rework goes to an os-dev on this branch
Domain:
domain:uiSeat:
repo:objectstack#5Area:
o5-uxFile surface: the 10 files PR #38486 touches at 6a6dc4b:
ui/packages/app-shell/src/console/AppContent.tsx,ui/packages/app-shell/src/views/ObjectView.tsx,ui/packages/app-shell/src/hooks/useOpenedOnce.ts,ui/packages/plugin-view/src/ObjectView.tsx, their*-37444test files and four plugin-view ObjectView tests,.changeset/37444-list-route-defers-form.md. Nothing wider.Container & model: S, mode:subagent, model: opus (dispatch-gates --tier on the surface: "no path-derived mandate" ⇒ default), effort: medium (rework only, if L1-b asks)
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — performance card (LCP), not a defect
Thread-read: 7251782227
Premise: holds — Release 7251782227: PR 1 #38429 merged; PR 2 #38486 green at 6a6dc4b (41 success, 0 failed); list still above 2.5 s ⇒ card stays open after PR 2 for candidate B
Prior rulings read: amendment 1 7250623227 (candidate A); Tesla 04:59:05Z / 05:00:26Z hand-over (seat post 7250995384); no ADR row on route-level form deferral
Serial constraints cleared: check-handover --inflight reads OVERLAP with in-area #38392 (dir-level
ui/packages/app-shell/src/) and #36496 (ui/packages/plugin-view/src/ObjectView.tsx): code already written, overlap-check clean against main and #38501, merge-tree clean against #36496's branch; the second to land merges mainPre-claim lane:
area:ux·domain:ui(pathsui/packages/app-shell,ui/packages/plugin-view) · Bug · p2Pre-claim deps: PR 1 #38429 merged; no Blocked-by
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pH8MaBBP5T2dVcTHL
Claim amendment 1 to 7251896581 · 2026-11-29T08:04Z · PR 2 #38486 merged 2026-11-29T07:13Z; the list still read above 2500 on its build (−46.5 ms, p 0.22), so by the done-when the card stays open for candidate B (amendment 7250623227).
Session:
session_01FEkQ5pH8MaBBP5T2dVcTHLAccount:
os-project-managerBranch:
claude/issue-37444-first-screen-background-readsWorktree:
objectstack-issue-37444Area:
o5-uxFile surface: none in this phase — a measurement-only os-dev (production build, request waterfall, a real first-screen signal, control arm
1afd9c13) writes no product code and pushes nothing. The obvious directories overlap in-flight claims #38506, #38045, #37087 and #36496, so the build is claimed with an exact file list in amendment 2, after the reading.Container & model: S, mode:subagent, model: opus (dispatch-gates --tier on the surface: "no path-derived mandate" ⇒ default), effort: high (reason: candidate B is a measurement-led design read — which reads can move after the first screen and what signal marks it drawn — not a mechanical change)
Clause-②: no
Metadata-protocol: none
Premise: PR 2 reading 7251766050 (20 vs 20 vs main 4d07ddb): home 2184.5, list 2584.5, record 2457 ms; the list misses 2500; any next reading carries main
1afd9c13as a fixed control arm (Release 7251782227)Prior rulings read: amendment 7250623227 (B needs a real "first screen drawn" signal, not a timer; C refused for this card); ruling 7178954860 on #35212 (the LCP threshold and method)
Serial constraints cleared: PR 2 #38486 merged; check-handover --inflight on the directory surface reads OVERLAP (four in-area claims), hence the measurement-first phase; the build phase re-runs it on the exact list