You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Console list page load sends get-session, meta/app, me/permissions and me/apps twice each, concurrently #28085
area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Filing gate: ③ ruling-directed. Ruling B on #26676 (6520722066) fixes a new card under #26676 as the remedy for a finding after a landing. Found by the post-merge proxy preview review of PR #27907 (#27626): comment 6522108365, on main18318361, examples/app-crm, 1440×900, evidence branch claude/issue-27626-proxy-evidence @ 4c9afa65. ⛔ Not a claim.
Business reason
Who: every console reader. What happens: each list page load spends four extra round trips on identical reads. That runs against #27626's Acceptance 1 rule that one URL in flight is fetched once.
Observed
On main, a list page load sends auth/get-session, meta/app, auth/me/permissions and me/apps twice each, at the same time, with identical GETs.
Also seen on the first cold open, as an observation only: approvals/records/<obj>/<id>/lock answers 501 and logs a console error. Measure whether that route is expected to be absent in app-crm.
Wanted
Each of the four reads is made once per load, and a second caller shares the in-flight request.
Acceptance
A list page load makes one request per URL for the four reads. Pinned by a request-count test, with an ablation.
Claim: PM loop round 1 · 2026-10-31T03:14Z
Session: session_01L6bhgWqjXeTcS3jtug46Dv (seat; implementation by card thread session session_01L6bhgWazG6k2QsKWMWMom9, mode:thread)
Account: os-sales (the seat's linked user as GET /user answers it; the card's assignee)
Branch: claude/project-thread-u3f6ek
Worktree: objectstack-issue-28085
Domain: domain:ui
Seat: domain:ui#4
File surface: ui/apps/console/src/**, ui/packages/app-shell/src/hooks/**, ui/packages/auth/**, ui/packages/data-objectstack/src/cache/** (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default (dispatch-gates --tier: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: every console reader's list load (ui/apps/console providers) | a platform dedupe already covers get-session at boot (sessionBootDedup.test.tsx), none for the other three on list load | every console user, today
Thread-read: none
Premise: holds, with a measurement owed first (the StrictMode reading above)
Serial constraints cleared: none — no open PR or live claim touches these paths; #28116 (plugin-detail, i18n locales) does not
Scope: Fixes #28085. Measure first on a production build (or StrictMode off), because the evidence was taken on the Vite dev server and ui/apps/console/src/main.tsx wraps the app in React.StrictMode. If production fetches each URL once, the report is premise_still_valid: false with the counts. Otherwise share the in-flight request at its source and pin a request-count test with an ablation. Item (c), the approvals-lock 501, is by design in code (packages/rest/src/approvals-routes.ts) and is a report note only. Landing waits for a context-free proxy preview review on the PR head (ruling B, #26676, 6520722066). The card thread's branch is a measured platform exception to the claude/issue-<n>-<slug> convention: a thread can push only its assigned branch.
{
"issue": 28085,
"status": "done",
"branch": "claude/project-thread-u3f6ek",
"pr": null,
"session": "session_01L6bhgWazG6k2QsKWMWMom9",
"premise_still_valid": false,
"summary": "The doubled reads are React.StrictMode's development effect replay (ui/apps/console/src/main.tsx wraps the app in StrictMode), not a production defect. On main 69ce01d7, examples/app-crm under `objectstack dev --ui` serving the production console build (`pnpm console:build`, packages/console/dist at /_console/), three fresh list-page loads (crm_contact twice, crm_account once, 1440x900, headless Chromium, seeded admin) each sent auth/get-session 1, meta/app 1, auth/me/permissions 1, me/apps 1, and no GET URL at all was repeated (30-32 GETs per load). The same server behind the console's Vite dev server reproduces the finding: meta/app 2, auth/me/permissions 2, me/apps 2 (also auth/organization/list 2) on both objects. With StrictMode removed from main.tsx on that dev server (local edit only, restored, tree clean), all four drop to 1 and no URL repeats. The card's evidence was taken on the dev server (6522108365 names the Vite hot-reload socket). get-session read 1 even on the dev server in these runs, which matches the existing sessionBootDedup pin. No code change: sharing in-flight requests would only hide a dev-only replay that StrictMode exists to surface.",
"tests": "Measured, not tested: one playwright script signs in on the console login page, then counts GETs under /api/ from a fresh navigation to the list page until network idle plus 3 s. prod x3: watched counts 1/1/1/1, duplicate URLs none. vite dev with StrictMode x2: get-session 1, meta/app 2, me/permissions 2, me/apps 2. vite dev without StrictMode x2: 1/1/1/1, duplicate URLs none. Raw request timelines kept in the project's files (issue-28085/prod-*.json, dev-*.json, measure.cjs).",
"gates": "n/a — no diff, no PR",
"dogfood_battery": "n/a — no PR",
"mcp_calls": "3 — github issue_read x3 (card get, card comments, PR 27907 comments); no write tool",
"api_writes": "1 — this comment via scripts/pm/post-stamped.mjs",
"open_questions": [],
"out_of_scope_findings": [
"item (c), approvals lock 501: by design, not a defect. packages/rest/src/approvals-routes.ts answers 501 when the approval service has no getRecordLock, and useRecordApprovals treats 404/501 as inert. The console error log on that answer is the only visible cost; noted, not filed."
]
}
Release: claim 6538282291 (session session_01L6bhgWqjXeTcS3jtug46Dv, branch claude/project-thread-u3f6ek) · 2026-10-31T03:35Z · cause: premise falsified
Resume-from: none (no commit; the branch carries no work for this card)
The seat reviewed the card thread's os-dev-report 6538476483 (premise_still_valid: false, pr: null) against its raw request timelines:
On main69ce01d7, the production console build under objectstack dev --ui (examples/app-crm) was loaded cold three times. Each load read get-session, meta/app, me/permissions and me/apps once, and repeated no GET URL. The three loads made 32, 30 and 31 GETs.
The doubling reproduces only behind the Vite dev server, and only with React.StrictMode (ui/apps/console/src/main.tsx). There, meta/app, me/permissions, me/apps and organization/list each read twice. Removing StrictMode on the dev server brings all four back to one.
The card's evidence (6522108365) was taken on the dev server. This is StrictMode's development effect replay, so no user on a built console reaches it.
Item (c), the approvals-lock 501, is by design (packages/rest/src/approvals-routes.ts, and useRecordApprovals treats 404/501 as inert). It was noted only.
Asked of triage: close as not planned (premise false). If triage disagrees, it can keep the card as an observation. The card returns to pm:queue + pm:retriage with no assignee.
Claim: PM loop round 2 · 2026-11-15T16:15Z
Session: session_01ADHkmPiLw38ErmCpnkcQvh (card thread, dev) · seat session_01ADHkmSzhXR4yUAgwq1bQRi
Account: os-steve (the seat's linked user as GET /user answers it; the card's assignee)
Branch: claude/project-thread-fopr6k
Worktree: objectstack-issue-28085
Domain: domain:ui
Seat: domain:ui#2
File surface: decided by step 0 and named in the report: the console boot and data reads under ui/packages/app-shell/src/**, ui/packages/auth/src/**, ui/packages/data-objectstack/src/**, ui/packages/types/src/**, their tests, root .changeset/; ⛔ not RecordDetailView.tsx / recordSaveEcho.ts (#33827), not languageSeed.ts / LocalizationFetchProvider.tsx (held for #33985), not the list header files of #33988 (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: ui console boot reads (objectstack) | none | every Console reader on every list page load, if step 0 confirms the doubling on a built console
Thread-read: 6896812580
Premise: holds
Serial constraints cleared: seat 1 #33827 (PR #33983) and #33833 (PR #33957) files fenced off; #33985 files held; #33988/#33987 (seat 2) disjoint by surface; the premise was falsified once (6538476483) and step 0 re-measures it on a production build
{
"issue": 28085,
"status": "done",
"branch": "claude/project-thread-fopr6k",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34097",
"session": "session_01ADHkmPiLw38ErmCpnkcQvh",
"premise_still_valid": true,
"summary": "Step 0 on a production console build (pnpm console:build, objectstack dev --ui --fresh, examples/app-showcase, main bc6b7ffd): the list page reads every URL once (task x4, account x1; the card's four reads 1 each), so the card's list doubling is still StrictMode's dev replay and is left alone. Home repeated deployment/notice x2, authorized-clients x3 and the sys_api_key list x3, all sequential (each repeat started after the previous answer), so in-flight sharing could not remove them. Fixed at their two sources in @object-ui/app-shell: (1) LauncherAppsProvider now answers pending from the render that makes the first /me/apps read due, so Home no longer draws its page, swaps to loading, and draws it again (which mounted DeploymentNotice and ConnectAssistantCard twice); (2) useConnectedAccess reads through a store shared by every reader mounted at the same time (Home's card and the admin checklist), re-read on a sys_api_key / sys_oauth_consent change, dropped with its last reader. After a rebuild, Home x3: 35 -> 30 GETs, no URL repeated; list unchanged, no URL repeated.",
"tests": "head 76497be1. New pins: useLauncherApps-26838.test.tsx describe 'the first /me/apps read is pending from the first render' (3 cases, one a request count: a child behind Home's gate reads once per load); ConnectAgentWidget.connected-30898.test.tsx describe '§7 one pair of reads per page, however many readers' (4 cases, request counts on list/find mocks). No existing test edited. Ablations via scripts/ablation-replace.mjs (no build needed: ui vitest resolves @object-ui/* to src): useLauncherApps.tsx 'const state = firstReadDue ? PENDING : heldState;' -> 'const state = heldState;' => 2 failed / 9 passed ('expected vi.fn() to be called 1 times, but got 2 times'; 'expected [ false ] to deeply equal [ true ]'); connectedAccess.ts 'let entry = byUser.get(userId);' -> 'let entry: SharedReads | undefined = undefined;' => 3 failed / 15 passed; both restored, blob == HEAD, git diff HEAD empty. app-shell type-check exit 0; cd ui && pnpm exec vitest run packages/app-shell/ --maxWorkers=2 under the lock: Test Files 2270 passed 1 skipped, Tests 21007 passed 9 skipped, exit 0. Consumer suites outside app-shell: FirstRunChecklist.test.tsx + console App.permissionsWave-29114 / homePermissions-12700 / rootLandingReadsOnce-32633 / linkRefusalLanding-33063: green. Production re-measure after pnpm console:build: Home x3 30 GETs no repeats; list x3 26 GETs no repeats.",
"gates": "local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack (merge base bc6b7ffd, 5 paths) -> 37 commands, each run, ledger lines 'CMD :: exit N'; --ran: 37 derived, 37 run, 0 NOT-MEASURED, 0 UNRUN. First round on a busy box: pnpm check:type-check-debt exit 3 (lock queue-timeout, NOT MEASURED) and pnpm --dir ui exec vitest run scripts/ exit 1 (check-hand-rolled-comment-mask spawn test timed out at 15 s while the app-shell suite held the box); both re-run under the lock on the same head: exit 0 / exit 0 (171 files passed). Also pnpm check:new-line-citations (ui) 0 new, check-nul-bytes OK. CI: PR #34097 check-runs in_progress at report time (not waited on).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "357 changed lines (+306 / -51) over 5 files, under the 3000 human-merge threshold",
"files_changed": [
".changeset/28085-home-boot-reads-once.md",
"ui/packages/app-shell/src/console/connect/ConnectAgentWidget.connected-30898.test.tsx",
"ui/packages/app-shell/src/console/connect/connectedAccess.ts",
"ui/packages/app-shell/src/hooks/__tests__/useLauncherApps-26838.test.tsx",
"ui/packages/app-shell/src/hooks/useLauncherApps.tsx"
],
"deviations": [
"Mechanism: the delta's route ('a second caller shares the in-flight request') was measured false for every repeat found: none overlapped. Each repeat was fixed at its own source (a provider render-timing defect; one store for one hook's readers), not with sharedGetJson.",
"The PR body opens with the harness's two attribution lines; 'Fixes #28085' is the first line after them.",
"No list-page request-count pin: the list reads each URL once on a built console with no change, and a pin would live in ui/apps/console/src/__tests__/, outside the claim's file surface.",
"Measurement aid only: ui/apps/console/src/main.tsx had React.StrictMode swapped for React.Fragment on the local Vite dev server to trace mounts; restored with git checkout HEAD --, git status clean before any build or commit; never committed.",
"No main merge: origin/main moved 14 commits (to b4ce310b) during the card; the overlap under ui/ is RecordDetailView.tsx / recordSaveEcho.ts only, disjoint from this diff."
],
"mcp_calls": "4 — github issue_read x3 (card get, card comments x2), pull_request_read x1 (PR read-back); no write tool",
"api_writes": "2 — pr_create via scripts/pm/with-fleet.sh --via dispatch (relay run 43747199484, read-back 11249 bytes sent == stored, assignee os-steve); this os-dev-report comment via scripts/pm/post-stamped.mjs",
"open_questions": [
{
"question": "Pin the list page's four boot reads at one request each with an App-level test?",
"options": [
"A: a follow-up card in ui/apps/console/src/__tests__/ beside App.rootLandingReadsOnce-32633 (the real route tree and adapter, counting get-session / meta/app / me/permissions / me/apps)",
"B: leave it: the four are read once on a built console today and rootLandingReadsOnce already pins meta/app"
],
"recommendation": "A, because the card's acceptance names a request-count pin for the list and none of today's pins counts all four"
}
],
"security_findings": "none",
"out_of_scope_findings": [
"observation, not filed: the QA reading 6765285185 also saw sys_audit_log and sys_user x2 on a record page; not measured here (record page outside step 0) — carrier: seat (re-measure on a built console before filing; the list's doubled reads in the same reading were dev-only)",
"observation, not filed: me/localization read once on the built console list page; its files are held for #33985 — carrier: #33985"
]
}
File surface adds: one new test file under ui/apps/console/src/__tests__/, beside App.rootLandingReadsOnce-32633, that drives a list page through the real route tree and counts auth/get-session, meta/app, auth/me/permissions and me/apps at one request each, with an ablation.
Why: the card's acceptance is verbatim "A list page load makes one request per URL for the four reads. Pinned by a request-count test, with an ablation." PR #34097 says Fixes #28085, so the pin the acceptance names lands in the same PR rather than in a follow-up card (the dev's open question, option A, folded in). The Home fixes in the PR stay as they are.
area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Oct 31, 2026
domain:ui#4 · os-sales · session_01L6bhgWqjXeTcS3jtug46Dv
Claim: PM loop round 1 · 2026-10-31T03:14Z
Session:
session_01L6bhgWqjXeTcS3jtug46Dv(seat; implementation by card thread sessionsession_01L6bhgWazG6k2QsKWMWMom9,mode:thread)Account:
os-sales(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-u3f6ekWorktree:
objectstack-issue-28085Domain:
domain:uiSeat:
domain:ui#4File surface:
ui/apps/console/src/**,ui/packages/app-shell/src/hooks/**,ui/packages/auth/**,ui/packages/data-objectstack/src/cache/**(stop on breach; explain in the report)Container & model:
M,mode:thread,model: default(dispatch-gates --tier: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: highClause-②: no
Metadata-protocol: none
Responsibility: every console reader's list load (
ui/apps/consoleproviders) | a platform dedupe already covers get-session at boot (sessionBootDedup.test.tsx), none for the other three on list load | every console user, todayThread-read: none
Premise: holds, with a measurement owed first (the StrictMode reading above)
Serial constraints cleared: none — no open PR or live claim touches these paths; #28116 (plugin-detail, i18n locales) does not
Scope: Fixes #28085. Measure first on a production build (or StrictMode off), because the evidence was taken on the Vite dev server and
ui/apps/console/src/main.tsxwraps the app inReact.StrictMode. If production fetches each URL once, the report ispremise_still_valid: falsewith the counts. Otherwise share the in-flight request at its source and pin a request-count test with an ablation. Item (c), the approvals-lock 501, is by design in code (packages/rest/src/approvals-routes.ts) and is a report note only. Landing waits for a context-free proxy preview review on the PR head (ruling B, #26676, 6520722066). The card thread's branch is a measured platform exception to theclaude/issue-<n>-<slug>convention: a thread can push only its assigned branch.Generated by Claude Code
objectstack-fleet commentedon Oct 31, 2026
domain:ui#4 · os-sales · session_01L6bhgWqjXeTcS3jtug46Dv
os-dev-report
{ "issue": 28085, "status": "done", "branch": "claude/project-thread-u3f6ek", "pr": null, "session": "session_01L6bhgWazG6k2QsKWMWMom9", "premise_still_valid": false, "summary": "The doubled reads are React.StrictMode's development effect replay (ui/apps/console/src/main.tsx wraps the app in StrictMode), not a production defect. On main 69ce01d7, examples/app-crm under `objectstack dev --ui` serving the production console build (`pnpm console:build`, packages/console/dist at /_console/), three fresh list-page loads (crm_contact twice, crm_account once, 1440x900, headless Chromium, seeded admin) each sent auth/get-session 1, meta/app 1, auth/me/permissions 1, me/apps 1, and no GET URL at all was repeated (30-32 GETs per load). The same server behind the console's Vite dev server reproduces the finding: meta/app 2, auth/me/permissions 2, me/apps 2 (also auth/organization/list 2) on both objects. With StrictMode removed from main.tsx on that dev server (local edit only, restored, tree clean), all four drop to 1 and no URL repeats. The card's evidence was taken on the dev server (6522108365 names the Vite hot-reload socket). get-session read 1 even on the dev server in these runs, which matches the existing sessionBootDedup pin. No code change: sharing in-flight requests would only hide a dev-only replay that StrictMode exists to surface.", "tests": "Measured, not tested: one playwright script signs in on the console login page, then counts GETs under /api/ from a fresh navigation to the list page until network idle plus 3 s. prod x3: watched counts 1/1/1/1, duplicate URLs none. vite dev with StrictMode x2: get-session 1, meta/app 2, me/permissions 2, me/apps 2. vite dev without StrictMode x2: 1/1/1/1, duplicate URLs none. Raw request timelines kept in the project's files (issue-28085/prod-*.json, dev-*.json, measure.cjs).", "gates": "n/a — no diff, no PR", "dogfood_battery": "n/a — no PR", "mcp_calls": "3 — github issue_read x3 (card get, card comments, PR 27907 comments); no write tool", "api_writes": "1 — this comment via scripts/pm/post-stamped.mjs", "open_questions": [], "out_of_scope_findings": [ "item (c), approvals lock 501: by design, not a defect. packages/rest/src/approvals-routes.ts answers 501 when the approval service has no getRecordLock, and useRecordApprovals treats 404/501 as inert. The console error log on that answer is the only visible cost; noted, not filed." ] }objectstack-fleet commentedon Oct 31, 2026
domain:ui#4 · os-sales · session_01L6bhgWqjXeTcS3jtug46Dv
Release: claim 6538282291 (session
session_01L6bhgWqjXeTcS3jtug46Dv, branchclaude/project-thread-u3f6ek) · 2026-10-31T03:35Z · cause: premise falsifiedResume-from: none (no commit; the branch carries no work for this card)
The seat reviewed the card thread's
os-dev-report6538476483 (premise_still_valid: false,pr: null) against its raw request timelines:main69ce01d7, the production console build underobjectstack dev --ui(examples/app-crm) was loaded cold three times. Each load readget-session,meta/app,me/permissionsandme/appsonce, and repeated no GET URL. The three loads made 32, 30 and 31 GETs.React.StrictMode(ui/apps/console/src/main.tsx). There,meta/app,me/permissions,me/appsandorganization/listeach read twice. Removing StrictMode on the dev server brings all four back to one.packages/rest/src/approvals-routes.ts, anduseRecordApprovalstreats 404/501 as inert). It was noted only.Asked of triage: close as not planned (premise false). If triage disagrees, it can keep the card as an observation. The card returns to
pm:queue+pm:retriagewith no assignee.Generated by Claude Code
8 remaining items
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Claim: PM loop round 2 · 2026-11-15T16:15Z
Session:
session_01ADHkmPiLw38ErmCpnkcQvh(card thread, dev) · seatsession_01ADHkmSzhXR4yUAgwq1bQRiAccount:
os-steve(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-fopr6kWorktree:
objectstack-issue-28085Domain:
domain:uiSeat:
domain:ui#2File surface: decided by step 0 and named in the report: the console boot and data reads under
ui/packages/app-shell/src/**,ui/packages/auth/src/**,ui/packages/data-objectstack/src/**,ui/packages/types/src/**, their tests, root.changeset/; ⛔ notRecordDetailView.tsx/recordSaveEcho.ts(#33827), notlanguageSeed.ts/LocalizationFetchProvider.tsx(held for #33985), not the list header files of #33988 (stop on breach; explain in the report)Container & model:
M,mode:thread,model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
ui console boot reads (objectstack) | none | every Console reader on every list page load, if step 0 confirms the doubling on a built consoleThread-read: 6896812580
Premise: holds
Serial constraints cleared:
seat 1 #33827 (PR #33983) and #33833 (PR #33957) files fenced off; #33985 files held; #33988/#33987 (seat 2) disjoint by surface; the premise was falsified once (6538476483) and step 0 re-measures it on a production buildobjectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
os-dev-report
{ "issue": 28085, "status": "done", "branch": "claude/project-thread-fopr6k", "pr": "https://github.com/objectstack-ai/objectstack/pull/34097", "session": "session_01ADHkmPiLw38ErmCpnkcQvh", "premise_still_valid": true, "summary": "Step 0 on a production console build (pnpm console:build, objectstack dev --ui --fresh, examples/app-showcase, main bc6b7ffd): the list page reads every URL once (task x4, account x1; the card's four reads 1 each), so the card's list doubling is still StrictMode's dev replay and is left alone. Home repeated deployment/notice x2, authorized-clients x3 and the sys_api_key list x3, all sequential (each repeat started after the previous answer), so in-flight sharing could not remove them. Fixed at their two sources in @object-ui/app-shell: (1) LauncherAppsProvider now answers pending from the render that makes the first /me/apps read due, so Home no longer draws its page, swaps to loading, and draws it again (which mounted DeploymentNotice and ConnectAssistantCard twice); (2) useConnectedAccess reads through a store shared by every reader mounted at the same time (Home's card and the admin checklist), re-read on a sys_api_key / sys_oauth_consent change, dropped with its last reader. After a rebuild, Home x3: 35 -> 30 GETs, no URL repeated; list unchanged, no URL repeated.", "tests": "head 76497be1. New pins: useLauncherApps-26838.test.tsx describe 'the first /me/apps read is pending from the first render' (3 cases, one a request count: a child behind Home's gate reads once per load); ConnectAgentWidget.connected-30898.test.tsx describe '§7 one pair of reads per page, however many readers' (4 cases, request counts on list/find mocks). No existing test edited. Ablations via scripts/ablation-replace.mjs (no build needed: ui vitest resolves @object-ui/* to src): useLauncherApps.tsx 'const state = firstReadDue ? PENDING : heldState;' -> 'const state = heldState;' => 2 failed / 9 passed ('expected vi.fn() to be called 1 times, but got 2 times'; 'expected [ false ] to deeply equal [ true ]'); connectedAccess.ts 'let entry = byUser.get(userId);' -> 'let entry: SharedReads | undefined = undefined;' => 3 failed / 15 passed; both restored, blob == HEAD, git diff HEAD empty. app-shell type-check exit 0; cd ui && pnpm exec vitest run packages/app-shell/ --maxWorkers=2 under the lock: Test Files 2270 passed 1 skipped, Tests 21007 passed 9 skipped, exit 0. Consumer suites outside app-shell: FirstRunChecklist.test.tsx + console App.permissionsWave-29114 / homePermissions-12700 / rootLandingReadsOnce-32633 / linkRefusalLanding-33063: green. Production re-measure after pnpm console:build: Home x3 30 GETs no repeats; list x3 26 GETs no repeats.", "gates": "local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack (merge base bc6b7ffd, 5 paths) -> 37 commands, each run, ledger lines 'CMD :: exit N'; --ran: 37 derived, 37 run, 0 NOT-MEASURED, 0 UNRUN. First round on a busy box: pnpm check:type-check-debt exit 3 (lock queue-timeout, NOT MEASURED) and pnpm --dir ui exec vitest run scripts/ exit 1 (check-hand-rolled-comment-mask spawn test timed out at 15 s while the app-shell suite held the box); both re-run under the lock on the same head: exit 0 / exit 0 (171 files passed). Also pnpm check:new-line-citations (ui) 0 new, check-nul-bytes OK. CI: PR #34097 check-runs in_progress at report time (not waited on).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "357 changed lines (+306 / -51) over 5 files, under the 3000 human-merge threshold", "files_changed": [ ".changeset/28085-home-boot-reads-once.md", "ui/packages/app-shell/src/console/connect/ConnectAgentWidget.connected-30898.test.tsx", "ui/packages/app-shell/src/console/connect/connectedAccess.ts", "ui/packages/app-shell/src/hooks/__tests__/useLauncherApps-26838.test.tsx", "ui/packages/app-shell/src/hooks/useLauncherApps.tsx" ], "deviations": [ "Mechanism: the delta's route ('a second caller shares the in-flight request') was measured false for every repeat found: none overlapped. Each repeat was fixed at its own source (a provider render-timing defect; one store for one hook's readers), not with sharedGetJson.", "The PR body opens with the harness's two attribution lines; 'Fixes #28085' is the first line after them.", "No list-page request-count pin: the list reads each URL once on a built console with no change, and a pin would live in ui/apps/console/src/__tests__/, outside the claim's file surface.", "Measurement aid only: ui/apps/console/src/main.tsx had React.StrictMode swapped for React.Fragment on the local Vite dev server to trace mounts; restored with git checkout HEAD --, git status clean before any build or commit; never committed.", "No main merge: origin/main moved 14 commits (to b4ce310b) during the card; the overlap under ui/ is RecordDetailView.tsx / recordSaveEcho.ts only, disjoint from this diff." ], "mcp_calls": "4 — github issue_read x3 (card get, card comments x2), pull_request_read x1 (PR read-back); no write tool", "api_writes": "2 — pr_create via scripts/pm/with-fleet.sh --via dispatch (relay run 43747199484, read-back 11249 bytes sent == stored, assignee os-steve); this os-dev-report comment via scripts/pm/post-stamped.mjs", "open_questions": [ { "question": "Pin the list page's four boot reads at one request each with an App-level test?", "options": [ "A: a follow-up card in ui/apps/console/src/__tests__/ beside App.rootLandingReadsOnce-32633 (the real route tree and adapter, counting get-session / meta/app / me/permissions / me/apps)", "B: leave it: the four are read once on a built console today and rootLandingReadsOnce already pins meta/app" ], "recommendation": "A, because the card's acceptance names a request-count pin for the list and none of today's pins counts all four" } ], "security_findings": "none", "out_of_scope_findings": [ "observation, not filed: the QA reading 6765285185 also saw sys_audit_log and sys_user x2 on a record page; not measured here (record page outside step 0) — carrier: seat (re-measure on a built console before filing; the list's doubled reads in the same reading were dev-only)", "observation, not filed: me/localization read once on the built console list page; its files are held for #33985 — carrier: #33985" ] }objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
席位核对 · Amendment · 2026-11-15T18:33Z · claim 6897468607 file surface widened (REWORK round 1 of PR #34097)
Branch unchanged:
claude/project-thread-fopr6k.File surface adds: one new test file under
ui/apps/console/src/__tests__/, besideApp.rootLandingReadsOnce-32633, that drives a list page through the real route tree and countsauth/get-session,meta/app,auth/me/permissionsandme/appsat one request each, with an ablation.Why: the card's acceptance is verbatim "A list page load makes one request per URL for the four reads. Pinned by a request-count test, with an ablation." PR #34097 says
Fixes #28085, so the pin the acceptance names lands in the same PR rather than in a follow-up card (the dev's open question, option A, folded in). The Home fixes in the PR stay as they are.objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
席位核对 ACCEPT 已发在 PR #34097(head 908e962,评论 6899903910),已转 ready 并开启自动合并 · 2026-11-15T19:22Z
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
返工 r2 席位核对 ACCEPT 已发在 PR #34097(head 00d8090,评论 6903148493),已重新开启自动合并;本 PR 同时修掉 p0 #34150 的队列不稳,落地后关闭 #34150 · 2026-11-15T23:26Z
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Landed · 2026-11-15T23:52Z
121017b9onmain(Fixes #28085)State:
pm:dispatchedremoved, assignee cleared.fix(app-shell): Home sends its deployment-notice, authorized-clients …