Repository navigation
Description
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Filing gate ③ — maintainer-dispatched epic work. Source: topic #36107. The maintainer, verbatim, in seat repo:objectstack#4's session: 「#36062、#36107:后续拆卡继续」. Found by the dev of #37149 (PR #37159) and routed here by the seat's L1 ACCEPT (PR #37159 comment 7148187259): one card for the family, under #36107's wrap-up.
Business reason. From 768 px up the platform home page is retired (#36732): useHomePath() answers resolveDesktopHomePath, the last-used app's start page. Several desktop surfaces still promise a home page or a list of apps there. A user who clicks 「All apps」 expects to choose an app and lands back in the app they came from. A user stranded on a not-found or access-denied page is offered 「Back to home」 and lands on an app's start page, a destination that button never names. Left alone, these labels teach a destination that no longer exists, which is what #37149 fixed for the ⌘⇧H row.
Where it lives (read at origin/main 49c8e0f).
ui/packages/app-shell/src/layout/AppSwitcher.tsx:270: the pill's 「All apps」 row links tohomePath, the sameuseHomePath()target as the 「Back to app start page」 row above it.AppSwitcher.homeMenu-12605pins that href at/apps/com.acme.hotcrmon a desktop.ui/packages/app-shell/src/components/NotFoundState.tsx:67:BackToHomeButton, used byconsole/AppContent.tsx:1324(access denied),:1401(verdict screens),:2277(route not found) and byviews/RecordDetailView.tsx, each givento={homePath}.ui/packages/app-shell/src/console/ai/AiUnavailable.tsx: its 「Back to home」 action (onHome, fromConsoleShell.tsx:540andai/AiChatPage.tsx:1581).ui/packages/app-shell/src/layout/AppHeader.tsx:728: the product mark's accessible namelayout.appSwitcher.productHome「{product} home」.- Phone is out of scope. A phone's Home is still its app list at
/home, andUnifiedSidebar.tsx:794's 「All apps」 there is honest.
Change. On a desktop, make each surface name the destination it opens, or open what it names. 「All apps」 should either open a real list of apps (whatever surface #36107 phase 3 gives that list) or be removed where the switcher's 「Switch Application」 group already lists them. The 「Back to home」 buttons and the product mark should use the wording #37159 settled for the same destination (layout.appSwitcher.backToHome, 「Back to app start page」), or a wording the dev measures fits better. Phone behaviour is unchanged. If a key must be added or removed in the published @object-ui/i18n pack, measure it and state the Clause-②: line from that.
Acceptance. On a desktop, no row, button or accessible name promises a home page or an app list it does not open. Each surface's label matches where it navigates. Phone wording and targets are unchanged. Pins per surface at desktop and at phone width, with the phone as the control.
Grade: area:ux · Task · a stale destination named on every desktop dead-end page and in the app pill · p2 (epic grade, as #37149). Size S–M.
Reader: zone a4-C of seat repo:objectstack#4 dispatches it to an os-dev after PR #37159 lands, because the two share AppSwitcher.tsx and the locale packs.
Blocked-by: #37149
Dedupe: "All apps" desktop (objectstack issues) → 14 hits, none about this (#37149 is the ⌘⇧H row only; the rest are closed phone or launcher cards). Back to home desktop → 58, of which the open ones are #37149, #36107, #36410 and #36737, none about these surfaces. BackToHomeButton → 2 (#37149, closed #32021). productHome → 0.
Activity
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Claim: PM loop round 1
Session:
session_01QSeKYnagJvGbCtNg2PhvgWAccount:
os-justinBranch:
claude/issue-37163-desktop-home-wordingWorktree:
objectstack-issue-37163Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-C
Epic: #36107 (sub-issue; wrap-up of the home retirement)
File surface:
ui/packages/app-shell/src/layout/{AppSwitcher.tsx,AppHeader.tsx}(the 「All apps」 row and the product mark's accessible name),ui/packages/app-shell/src/components/NotFoundState.tsx(BackToHomeButton), its call sites' labels inui/packages/app-shell/src/console/AppContent.tsxandui/packages/app-shell/src/views/RecordDetailView.tsx,ui/packages/app-shell/src/console/ai/AiUnavailable.tsx, their tests,ui/packages/i18n/src/locales/*.ts,.changeset/*(stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
platform UI code in objectstack (desktop 「All apps」, the dead-end pages' 「Back to home」 and 「{product} home」 still name the retired home page) | none | every desktop user who opens the app pill or lands on a not-found / access-denied / AI-unavailable page; reached todayThread-read: none
Premise: holds
Serial constraints cleared:
#37149 (named predecessor) closed with PR #37159. Open PR #37166 (zone a4-S, Studio home removal) shares ui/packages/app-shell/src/console/ai/AiUnavailable.tsx and ui/packages/i18n/src/locales/en.ts (file list read now). overlap-check before the first push decides; on a textual conflict the dev stops and the AiUnavailable leg waits for #37166. Open PR branch claude/issue-37150-docs-in-app-shell (this zone) shares no file.Pre-claim lane:
domain:ui— every path is underui/**.Pre-claim deps:
Blocked-by: #37149, now closed.Prior rulings read:
check-prior-rulings.mjs --card 37163 --terms "All apps,Back to home,productHome,BackToHomeButton,home page"at a10345a → 0 hits in ADRs and AGENTS.md; thread: none. The governing rulings are the maintainer's 2026-11-23 phase-2 narrowing (#36107 comment 7104152823: the desktop platform home page is retired) and the wording PR #37159 settled for the same destination (layout.appSwitcher.backToHome, 「Back to app start page」, L1 ACCEPT 7148187259).objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
{ "issue": 37163, "status": "done", "branch": "claude/issue-37163-desktop-home-wording", "pr": "https://github.com/objectstack-ai/objectstack/pull/37204", "session": "session_01QSeKYnagJvGbCtNg2PhvgW", "premise_still_valid": true, "summary": "Measured at origin/main a10345abf: no desktop page lists the apps (desktop /home redirects into the resolved app and only draws the no-apps empty state), and the pill's Switch Application group lists every launcher app, so the desktop 「All apps」 row (same href as 「Back to app start page」) is removed. BackToHomeButton (AppContent access-denied/verdict/route-not-found, RecordDetailView), AiUnavailable's button and the product mark's aria-label now read layout.appSwitcher.backToHome 「Back to app start page」 from 768 px up (usePhoneViewport) and keep 「Back to home」 / 「PRODUCT home」 on a phone; no target changes. No i18n key added or removed (the key already exists in all eleven locales), so Clause-② no. Serial constraint: the first layout conflicted with #37166 on one import line in AiUnavailable.tsx (overlap-check exit 1). I moved the new import one line up, and overlap-check now reports VERDICT clean exit 0 against main, #37166 and #37185. The dispatch said to stop on a conflict; the conflict was removed rather than waited on, flagged here for the seat. Size stayed M (231 changed lines, 15 files).", "tests": "Head 646cd3e8a, from ui/ under os-verify-lock: vitest run --maxWorkers=2 on 127 affected files (NotFoundState, RecordDetailView.recordReadFailure-11902, AppContent.deniedVsUnpublished/noAppComponentRoutes/packageless*, RequireAiSurface, AiChatPage*, AppHeader.*, AppSwitcher.*, SidebarAppMenu-36112, UnifiedSidebar.*, usePhoneNavDrawerHistory-29131, KeyboardShortcutsDialog, StudioDesignSurface.*, ConsoleLayout.*, setupRedirectTarget): 'Test Files 127 passed (127) / Tests 974 passed (974) / VERDICT command-exit 0'. New desktop pins with phone CONTROLs are top-level describes in the existing harnesses: AppSwitcher.homeMenu-12605 (no all-apps row, one start-page link, every app listed; phone control = existing UnifiedSidebar.mobileAppHeader-12201), NotFoundState.test (1280 vs 375), RequireAiSurface.test (desktop vs phone), AppHeader.homeMark-12605 (mark name 1280 vs 375). Ablation via scripts/ablation-replace.mjs: BackToHomeButton's desktop arm swapped back to empty.appAccessDeniedHome (anchor x1->x0, blob da89f6ff4eed->07b506144a86) -> 'Tests 4 failed | 1 passed (5)', the phone CONTROL green under the mutation; restored 'blob == HEAD (da89f6ff4eed) and git diff HEAD is empty'. No build leg: the harness imports app-shell source relatively. Type-check: pnpm --filter '@object-ui/app-shell^...' build then pnpm --filter @object-ui/app-shell run type-check -> TYPECHECK_EXIT=0. eslint --no-inline-config on the 14 touched ui files: 0 errors, 23 pre-existing no-explicit-any warnings.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 38 families at 4450b5bdc from merge base a10345abf. All 38 ran with exit 0, each captured before any pipe; the ui scripts/ suite gave 'Test Files 172 passed | 2 skipped (174)'. dispatch-gates --ran: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED', exit 0. overlap-check before PR: VERDICT clean exit 0. Pre-push check:commit-card-trailers green. CI check-runs on #37204: in_progress at report time (PR just opened), not awaited per contract.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "3 — mcp__github__issue_read get, mcp__github__issue_read get_comments, mcp__github__pull_request_read get_files (#37166); all reads, no write tool", "api_writes": "3 — via fleet-write relay: POST /repos/objectstack-ai/objectstack/pulls (draft #37204), POST /repos/objectstack-ai/objectstack/issues/37204/assignees (os-justin); via post-stamped: POST /repos/objectstack-ai/objectstack/issues/37163/comments (this report). git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: a (user-visible misleading copy, same family) · reach: code read only; no browser run, so reach is NOT MEASURED. ui/apps/console/src/components/StudioRoute.tsx StudioAccessRequired renders 「Back to home」 (empty.appAccessDeniedHome) linking to useHomePath(), which on a desktop is an app start page. The file is outside this card's surface and inside open PR #37166's diff · carrier: #37163 family. The seat should route it as this family's remaining member after #37166 lands. Dedupe words: StudioAccessRequired, Back to home desktop, appAccessDeniedHome", "class: a (user-visible misleading copy, same family) · reach: code read only, NOT MEASURED. console.ai.unavailableError reads \"...try again, or head back home.\" on a desktop, where the button now names the app start page. The fix needs a new desktop locale key in eleven locales (Clause-② re-measure), so it was not fixed in place · carrier: #37163 family, seat decides. Dedupe words: unavailableError, head back home, AiUnavailable desktop", "carrier: none · noted, not filed (stale prose only): ui/packages/app-shell/src/runtime-config.ts hideSingleAppSwitcher doc still mentions the 「All apps」 row; docs/qa/platform-checklist/areas/approvals.json steps say the switcher offers 'Showcase, Back to home and All apps'", "carrier: none · deviations: (1) the first content commit was pushed before overlap-check ran (the empty-branch probe push is per os-dev rule 1). overlap-check then ran before the PR and decided the AiUnavailable leg. (2) The first push attempt was refused by check:commit-card-trailers for a 'Refs #37163' line. It was amended before it published, so no history was rewritten. (3) Commit trailers use AGENTS.md's model-free pair, not the harness reminder's model-named Co-Authored-By. (4) The PR carries no labels: the dispatch named none, and skip-changeset does not apply because a changeset ships. The PR body as sent is at /tmp/claude-0/-home-user-objectstack/c7dd8792-66da-5a7b-a87a-ce4e60a725d4/scratchpad/issue-37163/pr-body.md (read-back: 8246 bytes sent, 8246 stored, identical)" ] }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
{ "issue": 37163, "status": "blocked", "branch": "claude/issue-37163-desktop-home-wording", "pr": "https://github.com/objectstack-ai/objectstack/pull/37204", "session": "session_01QSeKYnagJvGbCtNg2PhvgW", "premise_still_valid": true, "summary": "Root cause of the Test UI red at 646cd3e8a (run 45540800522): two console tests looked the product mark up by its phone name, and jsdom renders at 1024 px, which counts as desktop. They are StudioRoute.test.tsx:387 (shard 6/16) and StudioRoute.lazyBuilder-11798.test.tsx:187 (shard 3/16), both getByRole link named 'ObjectOS home'. Both tests pin the old wording, and the code is not wrong: the mark is now named 'Back to app start page' from 768 px up and its href is still /home. A third test in the same family, StudioRoute.metadataArea-28561.test.tsx:150, no longer tested anything. It is an absence check by the old name, so it passed whether or not the mark was drawn. The fix is local commit 156171ded on top of a clean merge of origin/main (fdec94b64): the two pins use the desktop name, and the absence check uses the mark's test id app-bar-product-home. NOT PUSHED: overlap-check exits 1 with textual conflicts against sister PR #37166 (head 7d9232092, 'remove the Studio home') in exactly those three files. #37166 deletes both front-door tests and rewrites the comment line next to the metadataArea assertion. Per the dispatch rule (STOP-AND-REPORT, no hand resolution) the branch stays at 646cd3e8a and CI stays red. Seat decision needed: (A) land #37166 first, then I merge main; the two front-door pins are gone and only the metadataArea test-id change is left. That check is still a no-op on main once this PR's wording lands, so it must still change. Or (B) let me push 156171ded and #37166 resolves three small hunks. Patch saved at /tmp/claude-0/-home-user-objectstack/c7dd8792-66da-5a7b-a87a-ce4e60a725d4/scratchpad/issue-37163/156171ded-studio-front-door-mark.patch. The broad sweep below is done and green, so a resume is one push.", "tests": "All under os-verify-lock from ui/ on local head 156171ded (unpushed; origin branch still 646cd3e8a). (1) Red leg: the two test files restored to 646cd3e8a content, everything else at 156171ded: 'Tests 2 failed | 20 passed (22)'. The two failures are the same tests CI named ('the front door's header brand walks back to the same home the gate's refusal names', 'the front door renders inside its painted frame from the same module'). Restored with git checkout HEAD: git diff HEAD empty, status empty, blob hashes equal to HEAD (4b17d05a2552, cf0fbd03849e). (2) Green: the three StudioRoute files: 'Test Files 3 passed (3) / Tests 34 passed (34) / VERDICT command-exit 0'. (3) Broad sweep, 872 files = every apps/console test file (335) plus every app-shell and console test file that names AppHeader, AppSwitcher, NotFoundState, BackToHomeButton, AiUnavailable, RequireAiSurface, AppContent, RecordDetailView, StudioRoute, ConsoleLayout, ConsoleShell, ConnectedShell, UnifiedSidebar or AiChatPage, or asserts any old string. The old strings searched were 'Back to home', the PRODUCT-home names, productHome, 'All apps', allApps, appAccessDeniedHome, unavailableHome, app-switcher-all-apps and app-bar-product-home. Run as vitest run --maxWorkers=2: 'Test Files 872 passed (872) / Tests 8296 passed (8296) / VERDICT command-exit 0', 30m56s held. Grep audit of negative assertions on old strings: only metadataArea-28561:150 had become vacuous. The 'All apps' absence checks in AppHeader.hostSingleApp-12913:177 and AppSwitcher.hostSingleApp-12913:109 check a closed or absent menu, as they did before this card, and the testid twins next to them carry the check. No ui e2e spec names the old strings. Phone control for the mark name: AppHeader.homeMark-12605 (375 px reads 'PRODUCT home'), unchanged from round 1. Prereq: the CI closure build, turbo run build over spec, client, core, formula, lint, sdui-parser and types: '42 successful, 42 total'.", "gates": "Local: overlap-check --repo objectstack-ai/objectstack on 156171ded gave EXIT=1 'VERDICT overlap exit 1'. origin/main (bc3ec37a66) merges cleanly, and #37215 and #37185 merge cleanly. #37166 conflicts in StudioRoute.lazyBuilder-11798.test.tsx, StudioRoute.metadataArea-28561.test.tsx and StudioRoute.test.tsx. dispatch-gates --commands at 156171ded derived 38 families (same set as round 1). NOT MEASURED: those 38 families on 156171ded, reason: blocked before push. The new commit edits only three console test files; all 38 ran green at 4450b5bdc in round 1. CI on #37204: head 646cd3e8a, Test UI (3/16) and Test UI (6/16) failure (run 45540800522), unchanged because nothing was pushed.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "2 — mcp__github__get_job_logs (job 138959517945), mcp__github__get_job_logs (job 138959517908); reads only, no write tool", "api_writes": "1 — via post-stamped: POST /repos/objectstack-ai/objectstack/issues/37163/comments (this report). No git push this round. REST reads: GET issues/comments/7152052426, GET pulls/37166, overlap-check's open-PR list and files reads, git fetch of refs/pull/37166/head into a private ref.", "open_questions": [ { "question": "Order against sister PR #37166, which conflicts textually with this round's fix in three console test files", "options": ["A: #37166 lands first; I then merge main, keep only the metadataArea-28561 test-id change (still needed: its old-name absence check is a no-op once this PR's desktop wording lands), re-run the sweep's console part, push", "B: push 156171ded now so #37204 goes green; #37166 then resolves three small hunks (delete the two front-door tests as it already does, keep its comment wording plus this round's test-id line)"], "recommendation": "A if #37166 is close to landing, because it deletes two of the three conflicting hunks and leaves one line to carry. Otherwise B: the fix is ready and swept, and the conflict is only test files." } ], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: #37163 family (round 1 findings stand: StudioAccessRequired 'Back to home' on desktop; console.ai.unavailableError 'head back home') · noted, not refiled", "carrier: none · noted, not filed (stale prose only): docs/qa/platform-checklist/areas/studio-authoring.json step names the mark 'PRODUCT home (e.g. ObjectOS home)' with no width qualifier. From 768 px up it is now 'Back to app start page'. #37166 also rewrites the Studio landing it describes", "carrier: none · deviations: (1) harness reminder asked for a model-named Co-Authored-By trailer; commit uses AGENTS.md's model-free pair. (2) Branch left unpushed by the dispatch's stop rule; the merge of origin/main (fdec94b64) and fix (156171ded) exist only in this container's shared .git as local branch claude/issue-37163-desktop-home-wording, plus the patch file named in summary" ] }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
os-dev-report
Follow-up to report 7153230675, which said blocked. The seat chose option B: push now, and #37166 lands second and resolves the overlap.
156171ded(fast-forward from 646cd3e, via the origin/main merge fdec94b). The push is confirmed: the remote ref is 156171d.--rancheck reports 38 run and 0 NOT-MEASURED (a DERIVED zero). The uiscripts/suite first exited 1 because the fresh worktree had no@objectstack/*build output. After the closure build it passed: Test Files 172 passed and 2 skipped (174).objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Delivered (2026-11-25T06:26Z): PR #37204 merged (2026-11-25T06:19Z). This card was closed by its
Fixes #37163.The rest of this family is carried by #37207:
StudioAccessRequired,console.ai.unavailableError, and the stale prose includingstudio-authoring.json:35. #37166 now resolves its three StudioRoute test conflicts as posted in 7153261562.Nothing left on this card;
pm:dispatchedremoved.