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
Epic #34571 child, filed by coordinator#1 (R1208): domain:ui is inherited from the epic, and the coordinator's grade is kept → pm:queue (the sub-issue exemption).
Regraded p2 → p1 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).
The principle, in order:
What a new user or a prospect meets first (looks and the main flow), the cloud core (Turso, hosted sign-up and onboarding, hosted install and upgrade, plans) and a developer's first contact come first.
Data loss or a permission breach in normal use stays first.
Details and rare configurations are improved over time.
Internal items are frozen.
Why this card: first impression: the collapsed app sidebar leaves an icon-only column.
Ruling: option A, one collapsed look at every width of 768 px or more: the sidebar hides fully, and the full menu floats out on left-edge hover or from the top-bar trigger · recorded 2026-11-18T08:48Z
Warren chose 「A:所有宽度都完全隐藏」 on the decision card 「收起后隐藏侧栏:窄窗口的自动图标栏也一起改吗?」 in this account's fleet project (card cmsg_01U5RdnAAmkSQmZbqh6FtqZ8KCNZgGzXembPAEwMS5QTcK) at 2026-11-18T08:47Z. The option as he read it, verbatim: 「768 px 以上只有一种收起样子:窄窗口自动收起时也不留图标列,左边缘悬停或点顶栏按钮浮出完整菜单。工作量 M,比 B 大一些。」 Reason shown on the card: 「卡片实测用的 1280 窗口正在自动图标栏的范围里,选 B 那一列图标还在。你 10-29 说的「自动折叠,点击弹出」A 仍保留。」 Option not chosen: B, only the manual collapse at wide widths changes and narrow windows keep the icon rail.
Claim: PM loop round 1 · 2026-11-18T08:51Z
Session: session_01JQwxbXBffgVtUPBEY2nLFm
Account: os-warren
Branch: claude/issue-35062-sidebar-hidden-collapse
Worktree: objectstack-issue-35062
Domain: domain:ui
Seat: repo:objectstack#1 (area o1-E, lease o1-E; W0 6970067725)
File surface: ui/packages/app-shell/src/layout/UnifiedSidebar.tsx, ui/packages/app-shell/src/layout/consoleSidebarRail.ts, ui/packages/app-shell/src/layout/LocalizedSidebarTrigger.tsx and ConsoleLayout.tsx (wiring only), ui/packages/components/src/ui/sidebar.tsx (only if the hide-and-float mode cannot be built from what it already offers), the #27593 rail tests under ui/packages/app-shell/src/layout/__tests__/ (the "Hover alone does not expand" pin), ui/packages/i18n/src/locales/* (only for a new label), new test file(s) named for this card, root .changeset/. Stop on breach; explain in the report.
Container & model: M, mode:subagent, model: TIER_DEFAULT (--tier: "no path-derived mandate", objectstack a6cf988e), effort: xhigh (epic #34571 child)
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Ruling-ref: 6973617688 (option A, one collapsed look at 768 px and up)
Thread-read: 6973617688
Premise: holds (re-measured on a6cf988: UnifiedSidebar.tsx:619collapsible="icon"; the auto fold lives in consoleSidebarRail.ts with the console.sidebar.keepOpen preference; UnifiedSidebar.railOverlay-27593.test.tsx pins today's rail)
Serial constraints cleared: none: no open PR touches UnifiedSidebar.tsx, consoleSidebarRail.ts, LocalizedSidebarTrigger.tsx, ConsoleLayout.tsx or components/src/ui/sidebar.tsx (45 open PRs read {{NOW}}). Area siblings #35020 and #35099 have merged. overlap-check.mjs runs before every push.
Pre-claim lane: repo:objectstack area o1-E, domain:ui: ui/packages/app-shell/src/layout/ and ui/packages/components/src/ui/ (ui/** per the lane table).
Pre-claim deps: no Blocked-by: and no "after #N"; it changes the behaviour #27593 (closed) shipped.
Prior rulings read: check-prior-rulings.mjs --card 35062 --terms collapsible,offcanvas,sidebarRail,keepOpen,hover → 2 hits: ADR-0037 §4 (canvas hover context, unrelated) and ADR-0085 §4 (field-group collapse, not the sidebar); no conflict. Thread: ruling 6973617688, which states that #27593 carries no maintainer ruling it overrides.
Scope, from ruling 6973617688 and the seat's order on its open points:
The full menu, with labels and groups, floats over the content on left-edge hover and from the top-bar trigger (and its shortcut). It is keyboard reachable and closes on Esc. Choosing an item navigates, the menu closes, and the collapsed state stays.
Reuse the existing over-content overlay.
Hover delay and edge zone: take an existing hover-open precedent in the components package. If there is none, use about 200 ms and about 8 px, and name the source in the PR.
console.sidebar.keepOpen keeps its meaning: when on, the sidebar never auto-folds. Only the collapsed look changes.
Not changed: the expanded sidebar, the phone bar, the Studio side list, and the ui/packages/cli templates (unless they share the component's behaviour).
Regraded p1 → p2: p1 is now kept for queue jumps. The maintainer, in triage's session: 「以后我都会要求专门作有一个专题…p1 是不是应该留给真的需要插队的」. He then confirmed triage's review of every open p1 (「确认」). Development is dispatched by epic, and an epic orders its own work. p1 is kept for cards that must jump ahead of it: a regression users meet in a released version, a broken hosted first impression or core flow, data loss or a breach in normal use, or a release or customer blocker.
Why this card: app sidebar collapse polish; polish ordered by an epic, not a queue jump. Any claim on the card is unchanged.
{
"issue": 35062,
"status": "done",
"branch": "claude/issue-35062-sidebar-hidden-collapse",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35187",
"session": "session_01JQwxbXBffgVtUPBEY2nLFm",
"premise_still_valid": true,
"summary": "Implemented ruling 6973617688 (option A). From 768 px up, the console's collapsed sidebar is now hidden for both the hand collapse and the #27593 fold below 1416 px. UnifiedSidebar draws collapsible='offcanvas' when railOverlay is on, so the gap is 0 wide and the panel is off-screen and inert, with no icon column. While hidden, an 8 px strip at the window's left edge, below the top bar, floats the full menu with labels and groups over the content. A pointer resting there for 200 ms floats it, a press floats it at once, and it reuses the existing rail overlay. It folds back when: the pointer has been away from it for 150 ms (only if the pointer opened it, and not while a menu or dialog layer is open); there is a press outside; Esc is pressed (the #28078 rule kept); or any navigation happens. A float over a hand-collapsed sidebar writes neither the wide-window choice nor the sidebar_state cookie, so a reload stays collapsed. The trigger and ⌘B behave as before on a hand collapse (they expand the sidebar docked). While folded they float the menu and move focus to the active entry; Esc or an entry chosen from the keyboard gives focus back to the trigger. console.sidebar.keepOpen keeps its meaning. Not changed: the components primitive, the phone bar and drawer, Studio, and the ui/packages/cli generator template, which draws its own Sidebar collapsible='icon' and does not share the console's behaviour. The #27593 'hover alone does not expand' pin now cites the ruling at the changed assertion. The hover timings come from components' NavigationMenu, which is Radix with no override (200/150 ms). The strip width comes from the primitive's SidebarRail strip beside a collapsed offcanvas sidebar (8 px). Both sources are cited at the constants and in the PR. Public surface: @object-ui/app-shell is private, the new and renamed constants are not re-exported from its entry, and no prop was added to UnifiedSidebar or to any @object-ui/components export. No L2 face found. The assignee field of #35062 was not touched.",
"tests": "At final head 875190b8b, under the verify lock: pnpm --dir ui exec vitest run --maxWorkers=2 on the app-shell layout folder, useResponsiveSidebar.test.tsx and 14 components/layout sidebar test files gave 'Test Files 157 passed (157) · Tests 1156 passed (1156)', VERDICT command-exit 0. The new UnifiedSidebar.hiddenCollapse-35062.test.tsx has 16 tests. UnifiedSidebar.railOverlay-27593.test.tsx was updated and has 22 tests. consoleSidebarRail.width-27593.test.tsx was updated. pnpm --dir ui --filter @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json, which compiles the tests) gave VERDICT command-exit 0 at 875190b8b. An earlier broad run at b13e21c8c covered 238 files / 2068 tests, all passed (the console, AppContent and studio tests importing the changed modules, plus the components and layout sidebar tests). ESLint on the 6 changed .ts/.tsx files shows 8 warnings, the same 8 as on base; none are new. Ablation, one-shot, at 875190b8b: node scripts/ablation-replace.mjs mutated \"collapsible: enabled ? 'offcanvas' : 'icon',\" to \"collapsible: 'icon',\". The anchor count went 1 to 0 and the blob 0fba4212c986 to dfd56823bf9e. The 35062 and 27593 files went red: Tests 31 failed | 7 passed (38), with 35062 at 14/16 failed and 27593 at 17/22 failed. The restore was verified: blob == HEAD 0fba4212c986 and git diff HEAD is empty. The tests import src through relative paths, so there was no dist leg. Browser pass, headless Chromium (/opt/pw-browsers/chromium), against examples/app-crm on objectstack dev on a private port, with the console's Vite dev server proxied to it:\n- At 1600x900, a trigger collapse gives gap 0 px, panel x=-256, main x=0 w=1600 (was x=256 w=1344), and the edge strip at x=0 y=48 w=8.\n- Resting the pointer on the edge floats the panel at x=0 over the content, with labels and groups (Sales/Analytics); moving away folds it.\n- Clicking Accounts in the float navigates to crm_account and folds the menu; it stays collapsed, the cookie and wide-window choice are false, and a reload is collapsed.\n- At 1280x800 the fold is hidden. Enter on the trigger floats the menu and puts focus on the Accounts entry; Tab goes to Contacts; Esc folds it with focus on the trigger. Hover floats and folds the same way.\n- At 700 px there is no desktop sidebar and no edge.\nThe servers were stopped by recorded PID trees, and ports 4762 and 5762 were confirmed closed.",
"gates": "Derived with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack, giving 39 commands. All were run locally, and each exit code was captured before any pipe.\n- Exit 0 each: check-adr-0087-registration (--base origin/main, --self-test); check-changeset-no-major; check-closing-keyword-parity (+--self-test); check-comment-mask-corpus; check-empty-changeset (--base, --self-test); check-sdui-manifest (+--self-test); ci/snapshot-next --self-test; pm/check-governed-queue-guard --self-test; pm/release-rehearsal-clone --self-test; release-pending-publish --self-test; spec check:duration-unit-keys; and pnpm check: adr-anchors, changeset-gate-self-tests, closed-ceremony-text, cross-package-test-inputs, dispatcher-error-vocabulary, driver-memory-census, engine-double-contract, error-status-conformance, gitlink-declared, nul-bytes, published-files, query-options-erasure, refd-timer-probe, registry-log-declared, rest-log-spy-declared, skill-identifier-liveness, test-source-alias, tier-file-adoption, type-check-coverage, type-check-debt, undeclared-dep-imports, watch-hint-literal, where-matcher.\n- pnpm --dir ui exec vitest run scripts/: exit 0 with 171 files passed and 2 skipped, 5092 tests passed and 2 skipped. Its first run was SIGKILLed by the kernel OOM during the browser pass; it was rerun after the servers stopped, and the rerun is the reading.\n- Reconciliation: dispatch-gates --ran with the exit-coded record gave '39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN (a DERIVED zero)'.\n- Outside the derived list: node scripts/check-platform-checklist.mjs --changed-from origin/main exited 0 with 0 anchored files, run because the app-shell-internal export RAIL_OVERLAY_FRAME_KEEPS_GAP was renamed and RAIL_CONTROL removed. overlap-check.mjs ran before each push, last result 'VERDICT clean exit 0'. The control-byte self-scan of the changed files found no hits.\n- PR #35187 check-runs at 875190b8b, read once when this report was written: 5 completed as skipped (Borrowed queue verdict, 18.x upgrade harness, Queue verdict, Packed-tarball smoke, Schedule gate); 17 in_progress (Check PR Size, filter, Type Check workspace/consumer/source/debt, Lint ESLint/scoped/PM dispatch-gates/docs & code/CI release & engine/repo & tooling, Check Changeset, PR-body guards, Governed Surface Queue Guard). No conclusion yet: in_progress.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls of any kind",
"api_writes": "2 REST writes through the relay, both by repository_dispatch, plus git pushes, which are not REST.\n- (1) pr_create: request fw-20261118T111734Z-c0656c, run 44293361005. It made POST /repos/objectstack-ai/objectstack/pulls (draft) and POST /repos/objectstack-ai/objectstack/issues/35187/assignees (os-warren, from the claim's Account line). Read-back: 13206 bytes sent, 13206 stored, identical.\n- (2) os-dev-report: this comment on #35062, by post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/35062/comments.\n- git push of claude/issue-35062-sidebar-hidden-collapse, final head 875190b8b.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: repo:objectstack#1 (seat) · noted, not filed. The QA checklist step docs/qa/platform-checklist/areas/platform-core.json:665 still says the console folds the sidebar 'to its icon rail' below 1416 px, and tells the walker to unfold it with the trigger before expanding groups. The trigger now floats the full menu, so the walk still works. But the float folds after each chosen entry, and the 'icon rail' wording is now false. The file is outside this card's claimed surface, so it was not edited.",
"carrier: repo:objectstack#1 (seat) · noted, not filed. The doc comment of ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts still says the fold collapses the sidebar to its icon rail. The code is unchanged and correct. The file is outside the claimed surface, and the package is private and unpublished.",
"carrier: repo:objectstack#1 (seat) · noted, not filed, not verified. ui/packages/layout/src/NavigationRenderer.tsx (NavIconRailContext, #32156) lists a group's entries open whenever the sidebar state is 'collapsed'. That rule is meant for the icon rail. In the hidden collapse the panel is off-screen and inert, so it cannot be seen there. During a float's 200 ms slide-out, though, a closed group may show its entries open for those frames. This was not observed frame by frame. A fix would read the collapsible mode in @object-ui/layout, outside this surface.",
"carrier: none · noted. A test-harness fact, not a product defect: happy-dom 21.0.4's MediaQueryList starts its change tracking at 'no match' whatever the width (matchesState=false in addEventListener). So a query that matches at mount reports no change on its first resize. The new test's resizeTo helper dispatches a resize at the current width first, and documents why."
],
"deviations": [
"The PR body ends with os-dev.md's session-URL footer (rule plus _Generated by [Claude Code](https://claude.ai/code/session_…)_), not the harness's '🤖 Generated with' lines. Per its own precedence clause, the harness reminder yields to project instructions.",
"Building the CLI closure for the browser pass: 20 unbuilt @objectstack packages were built with OS_SKIP_DTS=1. This was runtime only, and no gate reads those dist declarations.",
"The ui scripts/ gate's first run was SIGKILLed by the OOM killer while this card's backend and Vite server were up; it was rerun green after teardown."
],
"files_changed": [
".changeset/35062-sidebar-hidden-collapse.md",
"ui/packages/app-shell/src/layout/LocalizedSidebarTrigger.tsx",
"ui/packages/app-shell/src/layout/UnifiedSidebar.tsx",
"ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.hiddenCollapse-35062.test.tsx",
"ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.railOverlay-27593.test.tsx",
"ui/packages/app-shell/src/layout/__tests__/consoleSidebarRail.width-27593.test.tsx",
"ui/packages/app-shell/src/layout/consoleSidebarRail.ts"
]
}
Two shipped texts on origin/main describe the fold as an icon rail. They were true until PR #35187, which hides the sidebar fully under ruling 6973617688, so they are corrected in the same PR (seat's order) to stay true at merge:
docs/qa/platform-checklist/areas/platform-core.json (the hand-walk step that says the console "folds the sidebar to its icon rail" below 1416 px; text only, the step's walk is unchanged in substance: the trigger now floats the full menu)
ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts (doc comment only, about line 4; no code change)
File surface (amended): the claim's surface plus these two paths, text only. Clause-②: no. Metadata-protocol: none.
{
"issue": 35062,
"status": "done",
"branch": "claude/issue-35062-sidebar-hidden-collapse",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35187",
"session": "session_01JQwxbXBffgVtUPBEY2nLFm",
"premise_still_valid": true,
"summary": "Fix round 1 (claim amendment 6977477409) plus the seat's 12:00Z addition, one delta, pushed as a fast-forward from a99f4bca4 to e8f0df44e (origin/main c787255a4 merged in). (1) Icon-rail text: step 3 of platform-core.builtin-apps-nav-render (revision 16 to 17, history entry citing ruling 6973617688 and #35187) and the useResponsiveSidebar.ts doc comment now say the fold hides the sidebar and the trigger (Ctrl/Cmd+B) or the left edge floats the full menu, which folds back after each chosen entry; the citations (consoleSidebarRail.ts, objectstack#27593) are kept and the walk is unchanged in substance (commit a99f4bca4). The NavIconRailContext note is dropped. (2) In both collapsed states the trigger and its shortcut now float the full menu: focus moves to the active entry; Esc or a keyboard choice returns focus to the trigger; the collapsed state is not changed and neither the cookie nor the wide-window choice is written. On a hand collapse the trigger click and Cmd/Ctrl+B are noted in the capture phase and the float is taken only once the provider's own toggle has opened the sidebar, so a render between them cannot drop it. (3) The way back to docked is the existing control 'Keep sidebar open' (string sidebar.keepOpen, no new i18n key, locales untouched), now at the foot of every float: on a hand collapse it docks the sidebar, remembered as today (wide-window choice and cookie true, a reload stays docked); on the fold it turns the fold off as before and stays pressed at the foot. From the keyboard, docking on a wide window keeps focus in the menu, and turning it off on the fold gives focus to the trigger (that second case also dropped focus to the body before this PR, read from main's source; fixed because this round rewrote that control). STOP condition not met: measured a way back to docked, no keyboard trap, every card-acceptance and #27593 test green, in tests and in a real browser. The control is named in the proposed PR body; the subagent did not PATCH the body (see pr_body_delta).",
"tests": "At final head e8f0df44e, under the verify lock: pnpm --dir ui exec vitest run --maxWorkers=2 on the app-shell layout folder, useResponsiveSidebar.test.tsx and 14 components/layout sidebar test files gave 'Test Files 157 passed (157) · Tests 1162 passed (1162)', VERDICT command-exit 0. UnifiedSidebar.hiddenCollapse-35062.test.tsx now has 22 tests (the hand-collapse trigger case asserts the float, and 'Keep sidebar open' docks the sidebar and is remembered across a reload, at 1600 and at 1280 px; plus the render-between case, Cmd+B on a hand collapse, and the two keyboard-focus cases). pnpm --dir ui --filter @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json) VERDICT command-exit 0 at e8f0df44e. ESLint on the 7 changed .ts/.tsx files: 0 errors, the same 8 base warnings. Ablations, one-shot, via node scripts/ablation-replace.mjs (anchor must hit; each restore proven by blob == HEAD and empty git diff HEAD; tests import src by relative path, so no dist leg):\n- float on a hand collapse, at 71380c8c0: ' if (!hiddenByHand) return undefined;' to ' if (!hiddenByHand || hiddenByHand) return undefined;', blob e93a889c1900 to bb1bfb2116a9: 4 failed | 15 passed (19).\n- dock remembered across reload, at 71380c8c0: deleted ' if (widthRef.current === 'wide') writeWideWindowOpen(true);', blob e93a889c1900 to 33297711560e: 1 failed | 18 passed (19).\n- float waits for the provider's open, at 9598e5f4d: ' if (toggleFloats !== null && open) {' to ' if (toggleFloats !== null) {', blob 2307b222fe19 to 3269af93d790: 1 failed | 19 passed (20), the render-between case. The two earlier versions of that pin (6d9643782, 010eef9f6; flushSync inside the click) stayed green, Tests 20 passed (20), under the same mutation, which had landed: they did not discriminate, so the pin was rebuilt and this third run is the reading.\n- dock focus, at c8bcf0dc8: deleted the closer === 'dock' focus line, blob 901826f2347a to 9a009202f454: 1 failed | 21 passed (22).\n- undock focus, at c8bcf0dc8: ' if (undid && lost) {' to ' if (false && undid && lost) {', blob 901826f2347a to 1230b8f78812: 1 failed | 21 passed (22).\nBoth focus pins were also run red before their fixes (focus on body). Browser pass, headless Chromium /opt/pw-browsers/chromium, examples/app-crm on objectstack dev with the console Vite server proxied, code of 8a78cd371: at 1600x900 the trigger collapses (hidden, panel x=-256, cookie and choice false); the trigger again floats it (overlay, panel x=0, focus on Leads, 'Keep sidebar open' visible and unpressed, cookie and choice false); Esc folds with focus on the trigger; Ctrl+B floats and folds the same way; Enter on the trigger floats, Enter on 'Keep sidebar open' docks (no rail attribute, cookie and choice true, focus on Leads); reload docked. At 1280x800: hidden fold; the trigger floats; 'Keep sidebar open' docks and stays pressed; reload docked and pressed; Enter on it folds the sidebar hidden with focus on the trigger. The servers were stopped by recorded PID trees (25236/25237 and children), and ports 4762/5762 were confirmed closed.",
"gates": "Re-derived on the final diff with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at e8f0df44e (the first derivation at c8bcf0dc8 flagged STALE TREE, 14 behind with scripts/check-route-envelope.mjs changed, so origin/main was merged first): 46 commands, all run locally, each exit captured before any pipe. 45 exit 0: check-adr-0087-registration (--base, --self-test), check-adr-links (+--self-test), check-changeset-no-major, check-closing-keyword-parity (+--self-test), check-comment-mask-corpus, check-empty-changeset (--base, --self-test), check-sdui-manifest (+--self-test), ci/plan-test-core-shards --self-test, ci/snapshot-next --self-test, pm/check-governed-queue-guard --self-test, pm/release-rehearsal-clone --self-test, release-pending-publish --self-test, lint check:doc-formula-expressions, spec check:duration-unit-keys, pnpm --dir ui exec vitest run scripts/ (171 passed, 2 skipped files; 5092 passed, 2 skipped tests; VERDICT command-exit 0), and pnpm check: adr-anchors, changeset-gate-self-tests, ci-filter-parity, closed-ceremony-text, cross-package-test-inputs, dispatcher-error-vocabulary, doc-authoring, driver-memory-census, engine-double-contract, error-status-conformance, gitlink-declared, nul-bytes, published-files, query-options-erasure, refd-timer-probe, registry-log-declared, rest-log-spy-declared, skill-identifier-liveness, test-source-alias, tier-file-adoption, type-check-coverage, type-check-debt, undeclared-dep-imports, watch-hint-literal, where-matcher. 1 exit 1: pnpm check:platform-checklist, only on 'platform-core.seed-mode-matrix: VARIANTS STALE' (SeedMode read as 0 members against 5); the same gate exits 1 on the same item with origin/main's own platform-core.json swapped in (blob 1251cd4d4798; restored, blob == HEAD e66b0cd0610d, diff empty), so it is pre-existing; the edited item builtin-apps-nav-render raises nothing; the gate is off per-PR CI by standing maintainer decision. Reconciliation: dispatch-gates --ran gave 'Run reconciliation — 46 derived, 46 run, 0 NOT-MEASURED, 0 UNRUN' (a DERIVED zero). check-platform-checklist --changed-from was not re-run: no export was renamed or removed this round. overlap-check.mjs before the push: 'VERDICT overlap exit 1' (origin/main merges cleanly; #34223 conflicts on platform-core.json, see deviations). PR #35187 check-runs at e8f0df44e, read once: 55 total, 44 success, 11 skipped, 0 failing or in progress (Test UI and its shards, Test Core and its shards, Type Check UI, Type Check workspace/consumer/source/debt, Lint UI, Lint ESLint and the Lint families, Check Changeset, PR-body guards, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, all success).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls of any kind",
"api_writes": "1 REST write this round, through the relay: this os-dev-report comment on #35062 (post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/35062/comments). No pr_create, no PR body PATCH, no label write. Not REST: git push of claude/issue-35062-sidebar-hidden-collapse, a fast-forward a99f4bca4..e8f0df44e (remote read back as e8f0df44e). Reads only otherwise (GET on PR #35187, its check-runs and PR #34223's files).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: repo:objectstack#1 (seat) · noted, not filed. pnpm check:platform-checklist exits 1 on origin/main c787255a4 itself: 'platform-core.seed-mode-matrix: VARIANTS STALE — SeedMode in packages/spec/src/data/seed.zod.ts now has 0 members but this item's variants were authored against 5'. Not this PR's item; not investigated whether the enum moved or the gate's extraction broke. Dedupe words: seed-mode-matrix VARIANTS STALE; SeedMode enumSource; platform-checklist seed.zod."
],
"deviations": [
"Pushed after overlap-check exit 1, as a fast-forward (not forced), reading 'On exit 1, report; do not force' as no force-push, as in the previous push. The conflict: draft PR #34223 (claude/area-S3-33933) bumps the same item platform-core.builtin-apps-nav-render from revision 15 to 16, which main already carries as 16, and #34223 also conflicts with main on its own (packages/cli/test/connect-agent-both-halves-wire.pin.test.ts). Whichever lands second takes the next revision.",
"The PR body was not PATCHed (os-dev: the body is written only at pr_create; the seat writes later changes). The proposed full body is at /tmp/claude-0/-home-user/49ef2e5d-7385-538e-818f-5529608e498c/scratchpad/issue-35062/pr-body-v2.md; see pr_body_delta.",
"Turning 'Keep sidebar open' off from the keyboard on the fold dropped focus to the page body. Read from main's source, this also happened before this PR (the control unmounts there too). It was fixed and pinned here because this round rewrote that control's rendering (keepOpenControl), under the rule that a shipped defect this round touches must be fixed. One effect branch plus one test, ablated.",
"origin/main (14 commits) was merged in because dispatch-gates flagged a stale tree, and pnpm install --frozen-lockfile relinked a new plugin-security devDependency. The merge touched none of this PR's files.",
"Commit trailers are model-free (Co-authored-by: Claude) per os-dev.md; the harness reminder's model-named trailer yields to project instructions by its own precedence clause."
],
"pr_body_delta": "Proposed body: /tmp/claude-0/-home-user/49ef2e5d-7385-538e-818f-5529608e498c/scratchpad/issue-35062/pr-body-v2.md (the live body equals the round-0 body). Sections changed: (1) 维护者速读: 改了什么/为什么改/先看/两分钟验证 now cover the trigger float on both collapses and 'Keep sidebar open' docking. (2) What changes: the 'Trigger and ⌘B' bullet is rewritten (both collapsed states float; the state is unchanged; capture-phase note waits for the provider's open; the seat's order cited). The 'Keep sidebar open' bullet now names it as the way back to docked (existing string sidebar.keepOpen, no new i18n key), with hand-collapse and fold behaviour and keyboard focus. (3) Tests: 35062 file has 22 tests, the list is updated, local runs are at e8f0df44e with 157 files / 1162 tests, and the five ablations of this round are listed, including the vacuous first microtask pin. (4) Acceptance notes: a browser pass of this round. The cookie note now says the cookie reads false during any float. The 'Not verified' NavigationRenderer note is dropped. The 'Stale, not edited' bullet is replaced by 'Icon-rail text fixed in this round'. (5) Verification: 46 derived gates, 45 exit 0 plus the pre-existing platform-checklist exit 1 with its proof; overlap-check exit 1 vs #34223; CI 55 check-runs, 44 success, 11 skipped.",
"files_changed": [
".changeset/35062-sidebar-hidden-collapse.md",
"docs/qa/platform-checklist/areas/platform-core.json",
"ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts",
"ui/packages/app-shell/src/layout/LocalizedSidebarTrigger.tsx",
"ui/packages/app-shell/src/layout/UnifiedSidebar.tsx",
"ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.hiddenCollapse-35062.test.tsx",
"ui/packages/app-shell/src/layout/consoleSidebarRail.ts",
"(unchanged this round, in the PR) ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.railOverlay-27593.test.tsx",
"(unchanged this round, in the PR) ui/packages/app-shell/src/layout/__tests__/consoleSidebarRail.width-27593.test.tsx"
]
}
PR #35187 merged as 756aba29. From 768 px up, the console has one collapsed look: the sidebar hides fully, whether collapsed by hand or folded below 1416 px (#27593), and the list and record pages take the width. The full menu, with labels and groups, floats over the content:
on a 200 ms rest at the left edge, or a press there;
on the top-bar toggle or ⌘B.
It folds back on pointer away, a chosen entry, Esc or an outside press, and the collapsed state is kept across reload. "Keep sidebar open" at the foot of the float docks the sidebar again and is remembered. console.sidebar.keepOpen keeps its meaning.
This meets ruling 6973617688 (option A) and the seat's orders on its open points (claim 6973692164):
the overlay is reused;
hover timings are 200/150 ms, from NavigationMenu;
the edge strip is 8 px, from SidebarRail;
keepOpen is unchanged;
the Console shell: the sidebar auto-collapses to an icon rail on narrow windows and expands as an overlay on click, so a 1280 px window keeps room for the split record pane #27593 pin cites the ruling.
The seat's order of 2026-11-18T12:00Z that the toggle and ⌘B float in both collapsed states is recorded in PR comment 6979517326. The two "icon rail" texts the change made false (QA checklist builtin-apps-nav-render, useResponsiveSidebar.ts doc) were fixed in the PR (amendment 6977477409).
Reviews: L1-a ACCEPT 6977508021 and delta ACCEPT 6979604376 on head e8f0df44. The behaviour was verified in a headless browser at 1600×900, 1280×800 and 700 px on the CRM example. pm:dispatched comes off with this comment.
Seat note · 2026-11-21T22:00Z · the narrow-window auto-collapse threshold changes from 1416 to 1280 and the 「保持侧边栏展开」 switch goes, by the maintainer's ruling on #36112 F1 (seat record on #36112). #36112 PR B supersedes this card's behaviour.
Activity
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Epic #34571 child, filed by coordinator#1 (R1208):
domain:uiis inherited from the epic, and the coordinator's grade is kept →pm:queue(the sub-issue exemption).objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Regraded p2 → p1 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).
The principle, in order:
Why this card: first impression: the collapsed app sidebar leaves an icon-only column.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY
Ruling: option A, one collapsed look at every width of 768 px or more: the sidebar hides fully, and the full menu floats out on left-edge hover or from the top-bar trigger · recorded 2026-11-18T08:48Z
Warren chose 「A:所有宽度都完全隐藏」 on the decision card 「收起后隐藏侧栏:窄窗口的自动图标栏也一起改吗?」 in this account's fleet project (card
cmsg_01U5RdnAAmkSQmZbqh6FtqZ8KCNZgGzXembPAEwMS5QTcK) at 2026-11-18T08:47Z. The option as he read it, verbatim: 「768 px 以上只有一种收起样子:窄窗口自动收起时也不留图标列,左边缘悬停或点顶栏按钮浮出完整菜单。工作量 M,比 B 大一些。」 Reason shown on the card: 「卡片实测用的 1280 窗口正在自动图标栏的范围里,选 B 那一列图标还在。你 10-29 说的「自动折叠,点击弹出」A 仍保留。」 Option not chosen: B, only the manual collapse at wide widths changes and narrow windows keep the icon rail.What is ruled
UnifiedSidebarcollapsible="icon") and the automatic fold between 768 px and the record-drawer threshold (Console shell: the sidebar auto-collapses to an icon rail on narrow windows and expands as an overlay on click, so a 1280 px window keeps room for the split record pane #27593,consoleSidebarRail.ts, below 1416 px). No icon column remains.Not ruled (set by the seat in the order)
console.sidebar.keepOpenpreference.objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm
Claim: PM loop round 1 · 2026-11-18T08:51Z
Session:
session_01JQwxbXBffgVtUPBEY2nLFmAccount:
os-warrenBranch:
claude/issue-35062-sidebar-hidden-collapseWorktree:
objectstack-issue-35062Domain:
domain:uiSeat:
repo:objectstack#1(area o1-E, leaseo1-E; W0 6970067725)File surface:
ui/packages/app-shell/src/layout/UnifiedSidebar.tsx,ui/packages/app-shell/src/layout/consoleSidebarRail.ts,ui/packages/app-shell/src/layout/LocalizedSidebarTrigger.tsxandConsoleLayout.tsx(wiring only),ui/packages/components/src/ui/sidebar.tsx(only if the hide-and-float mode cannot be built from what it already offers), the #27593 rail tests underui/packages/app-shell/src/layout/__tests__/(the "Hover alone does not expand" pin),ui/packages/i18n/src/locales/*(only for a new label), new test file(s) named for this card, root.changeset/. Stop on breach; explain in the report.Container & model:
M,mode:subagent,model: TIER_DEFAULT (--tier: "no path-derived mandate", objectstack a6cf988e),effort: xhigh(epic #34571 child)Clause-②: no
Metadata-protocol: none
Responsibility:
n/a — not a defect cardRuling-ref: 6973617688 (option A, one collapsed look at 768 px and up)
Thread-read: 6973617688
Premise: holds (re-measured on a6cf988:
UnifiedSidebar.tsx:619collapsible="icon"; the auto fold lives inconsoleSidebarRail.tswith theconsole.sidebar.keepOpenpreference;UnifiedSidebar.railOverlay-27593.test.tsxpins today's rail)Serial constraints cleared:
none: no open PR touches UnifiedSidebar.tsx, consoleSidebarRail.ts, LocalizedSidebarTrigger.tsx, ConsoleLayout.tsx or components/src/ui/sidebar.tsx (45 open PRs read {{NOW}}). Area siblings #35020 and #35099 have merged. overlap-check.mjs runs before every push.Pre-claim lane:
repo:objectstackarea o1-E,domain:ui:ui/packages/app-shell/src/layout/andui/packages/components/src/ui/(ui/** per the lane table).Pre-claim deps: no
Blocked-by:and no "after #N"; it changes the behaviour #27593 (closed) shipped.Prior rulings read:
check-prior-rulings.mjs --card 35062 --terms collapsible,offcanvas,sidebarRail,keepOpen,hover→ 2 hits: ADR-0037 §4 (canvas hover context, unrelated) and ADR-0085 §4 (field-group collapse, not the sidebar); no conflict. Thread: ruling 6973617688, which states that #27593 carries no maintainer ruling it overrides.Scope, from ruling 6973617688 and the seat's order on its open points:
console.sidebar.keepOpenkeeps its meaning: when on, the sidebar never auto-folds. Only the collapsed look changes.ui/packages/clitemplates (unless they share the component's behaviour).objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Regraded p1 → p2: p1 is now kept for queue jumps. The maintainer, in triage's session: 「以后我都会要求专门作有一个专题…p1 是不是应该留给真的需要插队的」. He then confirmed triage's review of every open p1 (「确认」). Development is dispatched by epic, and an epic orders its own work. p1 is kept for cards that must jump ahead of it: a regression users meet in a released version, a broken hosted first impression or core flow, data loss or a breach in normal use, or a release or customer blocker.
Why this card: app sidebar collapse polish; polish ordered by an epic, not a queue jump. Any claim on the card is unchanged.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm
os-dev-report
{ "issue": 35062, "status": "done", "branch": "claude/issue-35062-sidebar-hidden-collapse", "pr": "https://github.com/objectstack-ai/objectstack/pull/35187", "session": "session_01JQwxbXBffgVtUPBEY2nLFm", "premise_still_valid": true, "summary": "Implemented ruling 6973617688 (option A). From 768 px up, the console's collapsed sidebar is now hidden for both the hand collapse and the #27593 fold below 1416 px. UnifiedSidebar draws collapsible='offcanvas' when railOverlay is on, so the gap is 0 wide and the panel is off-screen and inert, with no icon column. While hidden, an 8 px strip at the window's left edge, below the top bar, floats the full menu with labels and groups over the content. A pointer resting there for 200 ms floats it, a press floats it at once, and it reuses the existing rail overlay. It folds back when: the pointer has been away from it for 150 ms (only if the pointer opened it, and not while a menu or dialog layer is open); there is a press outside; Esc is pressed (the #28078 rule kept); or any navigation happens. A float over a hand-collapsed sidebar writes neither the wide-window choice nor the sidebar_state cookie, so a reload stays collapsed. The trigger and ⌘B behave as before on a hand collapse (they expand the sidebar docked). While folded they float the menu and move focus to the active entry; Esc or an entry chosen from the keyboard gives focus back to the trigger. console.sidebar.keepOpen keeps its meaning. Not changed: the components primitive, the phone bar and drawer, Studio, and the ui/packages/cli generator template, which draws its own Sidebar collapsible='icon' and does not share the console's behaviour. The #27593 'hover alone does not expand' pin now cites the ruling at the changed assertion. The hover timings come from components' NavigationMenu, which is Radix with no override (200/150 ms). The strip width comes from the primitive's SidebarRail strip beside a collapsed offcanvas sidebar (8 px). Both sources are cited at the constants and in the PR. Public surface: @object-ui/app-shell is private, the new and renamed constants are not re-exported from its entry, and no prop was added to UnifiedSidebar or to any @object-ui/components export. No L2 face found. The assignee field of #35062 was not touched.", "tests": "At final head 875190b8b, under the verify lock: pnpm --dir ui exec vitest run --maxWorkers=2 on the app-shell layout folder, useResponsiveSidebar.test.tsx and 14 components/layout sidebar test files gave 'Test Files 157 passed (157) · Tests 1156 passed (1156)', VERDICT command-exit 0. The new UnifiedSidebar.hiddenCollapse-35062.test.tsx has 16 tests. UnifiedSidebar.railOverlay-27593.test.tsx was updated and has 22 tests. consoleSidebarRail.width-27593.test.tsx was updated. pnpm --dir ui --filter @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json, which compiles the tests) gave VERDICT command-exit 0 at 875190b8b. An earlier broad run at b13e21c8c covered 238 files / 2068 tests, all passed (the console, AppContent and studio tests importing the changed modules, plus the components and layout sidebar tests). ESLint on the 6 changed .ts/.tsx files shows 8 warnings, the same 8 as on base; none are new. Ablation, one-shot, at 875190b8b: node scripts/ablation-replace.mjs mutated \"collapsible: enabled ? 'offcanvas' : 'icon',\" to \"collapsible: 'icon',\". The anchor count went 1 to 0 and the blob 0fba4212c986 to dfd56823bf9e. The 35062 and 27593 files went red: Tests 31 failed | 7 passed (38), with 35062 at 14/16 failed and 27593 at 17/22 failed. The restore was verified: blob == HEAD 0fba4212c986 and git diff HEAD is empty. The tests import src through relative paths, so there was no dist leg. Browser pass, headless Chromium (/opt/pw-browsers/chromium), against examples/app-crm on objectstack dev on a private port, with the console's Vite dev server proxied to it:\n- At 1600x900, a trigger collapse gives gap 0 px, panel x=-256, main x=0 w=1600 (was x=256 w=1344), and the edge strip at x=0 y=48 w=8.\n- Resting the pointer on the edge floats the panel at x=0 over the content, with labels and groups (Sales/Analytics); moving away folds it.\n- Clicking Accounts in the float navigates to crm_account and folds the menu; it stays collapsed, the cookie and wide-window choice are false, and a reload is collapsed.\n- At 1280x800 the fold is hidden. Enter on the trigger floats the menu and puts focus on the Accounts entry; Tab goes to Contacts; Esc folds it with focus on the trigger. Hover floats and folds the same way.\n- At 700 px there is no desktop sidebar and no edge.\nThe servers were stopped by recorded PID trees, and ports 4762 and 5762 were confirmed closed.", "gates": "Derived with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack, giving 39 commands. All were run locally, and each exit code was captured before any pipe.\n- Exit 0 each: check-adr-0087-registration (--base origin/main, --self-test); check-changeset-no-major; check-closing-keyword-parity (+--self-test); check-comment-mask-corpus; check-empty-changeset (--base, --self-test); check-sdui-manifest (+--self-test); ci/snapshot-next --self-test; pm/check-governed-queue-guard --self-test; pm/release-rehearsal-clone --self-test; release-pending-publish --self-test; spec check:duration-unit-keys; and pnpm check: adr-anchors, changeset-gate-self-tests, closed-ceremony-text, cross-package-test-inputs, dispatcher-error-vocabulary, driver-memory-census, engine-double-contract, error-status-conformance, gitlink-declared, nul-bytes, published-files, query-options-erasure, refd-timer-probe, registry-log-declared, rest-log-spy-declared, skill-identifier-liveness, test-source-alias, tier-file-adoption, type-check-coverage, type-check-debt, undeclared-dep-imports, watch-hint-literal, where-matcher.\n- pnpm --dir ui exec vitest run scripts/: exit 0 with 171 files passed and 2 skipped, 5092 tests passed and 2 skipped. Its first run was SIGKILLed by the kernel OOM during the browser pass; it was rerun after the servers stopped, and the rerun is the reading.\n- Reconciliation: dispatch-gates --ran with the exit-coded record gave '39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN (a DERIVED zero)'.\n- Outside the derived list: node scripts/check-platform-checklist.mjs --changed-from origin/main exited 0 with 0 anchored files, run because the app-shell-internal export RAIL_OVERLAY_FRAME_KEEPS_GAP was renamed and RAIL_CONTROL removed. overlap-check.mjs ran before each push, last result 'VERDICT clean exit 0'. The control-byte self-scan of the changed files found no hits.\n- PR #35187 check-runs at 875190b8b, read once when this report was written: 5 completed as skipped (Borrowed queue verdict, 18.x upgrade harness, Queue verdict, Packed-tarball smoke, Schedule gate); 17 in_progress (Check PR Size, filter, Type Check workspace/consumer/source/debt, Lint ESLint/scoped/PM dispatch-gates/docs & code/CI release & engine/repo & tooling, Check Changeset, PR-body guards, Governed Surface Queue Guard). No conclusion yet: in_progress.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls of any kind", "api_writes": "2 REST writes through the relay, both by repository_dispatch, plus git pushes, which are not REST.\n- (1) pr_create: request fw-20261118T111734Z-c0656c, run 44293361005. It made POST /repos/objectstack-ai/objectstack/pulls (draft) and POST /repos/objectstack-ai/objectstack/issues/35187/assignees (os-warren, from the claim's Account line). Read-back: 13206 bytes sent, 13206 stored, identical.\n- (2) os-dev-report: this comment on #35062, by post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/35062/comments.\n- git push of claude/issue-35062-sidebar-hidden-collapse, final head 875190b8b.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: repo:objectstack#1 (seat) · noted, not filed. The QA checklist step docs/qa/platform-checklist/areas/platform-core.json:665 still says the console folds the sidebar 'to its icon rail' below 1416 px, and tells the walker to unfold it with the trigger before expanding groups. The trigger now floats the full menu, so the walk still works. But the float folds after each chosen entry, and the 'icon rail' wording is now false. The file is outside this card's claimed surface, so it was not edited.", "carrier: repo:objectstack#1 (seat) · noted, not filed. The doc comment of ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts still says the fold collapses the sidebar to its icon rail. The code is unchanged and correct. The file is outside the claimed surface, and the package is private and unpublished.", "carrier: repo:objectstack#1 (seat) · noted, not filed, not verified. ui/packages/layout/src/NavigationRenderer.tsx (NavIconRailContext, #32156) lists a group's entries open whenever the sidebar state is 'collapsed'. That rule is meant for the icon rail. In the hidden collapse the panel is off-screen and inert, so it cannot be seen there. During a float's 200 ms slide-out, though, a closed group may show its entries open for those frames. This was not observed frame by frame. A fix would read the collapsible mode in @object-ui/layout, outside this surface.", "carrier: none · noted. A test-harness fact, not a product defect: happy-dom 21.0.4's MediaQueryList starts its change tracking at 'no match' whatever the width (matchesState=false in addEventListener). So a query that matches at mount reports no change on its first resize. The new test's resizeTo helper dispatches a resize at the current width first, and documents why." ], "deviations": [ "The PR body ends with os-dev.md's session-URL footer (rule plus _Generated by [Claude Code](https://claude.ai/code/session_…)_), not the harness's '🤖 Generated with' lines. Per its own precedence clause, the harness reminder yields to project instructions.", "Building the CLI closure for the browser pass: 20 unbuilt @objectstack packages were built with OS_SKIP_DTS=1. This was runtime only, and no gate reads those dist declarations.", "The ui scripts/ gate's first run was SIGKILLed by the OOM killer while this card's backend and Vite server were up; it was rerun green after teardown." ], "files_changed": [ ".changeset/35062-sidebar-hidden-collapse.md", "ui/packages/app-shell/src/layout/LocalizedSidebarTrigger.tsx", "ui/packages/app-shell/src/layout/UnifiedSidebar.tsx", "ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.hiddenCollapse-35062.test.tsx", "ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.railOverlay-27593.test.tsx", "ui/packages/app-shell/src/layout/__tests__/consoleSidebarRail.width-27593.test.tsx", "ui/packages/app-shell/src/layout/consoleSidebarRail.ts" ] }Generated by Claude Code
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm
Claim amendment 1 · 2026-11-18T11:38Z
Two shipped texts on
origin/maindescribe the fold as an icon rail. They were true until PR #35187, which hides the sidebar fully under ruling 6973617688, so they are corrected in the same PR (seat's order) to stay true at merge:docs/qa/platform-checklist/areas/platform-core.json(the hand-walk step that says the console "folds the sidebar to its icon rail" below 1416 px; text only, the step's walk is unchanged in substance: the trigger now floats the full menu)ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts(doc comment only, about line 4; no code change)File surface (amended): the claim's surface plus these two paths, text only. Clause-②: no. Metadata-protocol: none.
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm
os-dev-report
{ "issue": 35062, "status": "done", "branch": "claude/issue-35062-sidebar-hidden-collapse", "pr": "https://github.com/objectstack-ai/objectstack/pull/35187", "session": "session_01JQwxbXBffgVtUPBEY2nLFm", "premise_still_valid": true, "summary": "Fix round 1 (claim amendment 6977477409) plus the seat's 12:00Z addition, one delta, pushed as a fast-forward from a99f4bca4 to e8f0df44e (origin/main c787255a4 merged in). (1) Icon-rail text: step 3 of platform-core.builtin-apps-nav-render (revision 16 to 17, history entry citing ruling 6973617688 and #35187) and the useResponsiveSidebar.ts doc comment now say the fold hides the sidebar and the trigger (Ctrl/Cmd+B) or the left edge floats the full menu, which folds back after each chosen entry; the citations (consoleSidebarRail.ts, objectstack#27593) are kept and the walk is unchanged in substance (commit a99f4bca4). The NavIconRailContext note is dropped. (2) In both collapsed states the trigger and its shortcut now float the full menu: focus moves to the active entry; Esc or a keyboard choice returns focus to the trigger; the collapsed state is not changed and neither the cookie nor the wide-window choice is written. On a hand collapse the trigger click and Cmd/Ctrl+B are noted in the capture phase and the float is taken only once the provider's own toggle has opened the sidebar, so a render between them cannot drop it. (3) The way back to docked is the existing control 'Keep sidebar open' (string sidebar.keepOpen, no new i18n key, locales untouched), now at the foot of every float: on a hand collapse it docks the sidebar, remembered as today (wide-window choice and cookie true, a reload stays docked); on the fold it turns the fold off as before and stays pressed at the foot. From the keyboard, docking on a wide window keeps focus in the menu, and turning it off on the fold gives focus to the trigger (that second case also dropped focus to the body before this PR, read from main's source; fixed because this round rewrote that control). STOP condition not met: measured a way back to docked, no keyboard trap, every card-acceptance and #27593 test green, in tests and in a real browser. The control is named in the proposed PR body; the subagent did not PATCH the body (see pr_body_delta).", "tests": "At final head e8f0df44e, under the verify lock: pnpm --dir ui exec vitest run --maxWorkers=2 on the app-shell layout folder, useResponsiveSidebar.test.tsx and 14 components/layout sidebar test files gave 'Test Files 157 passed (157) · Tests 1162 passed (1162)', VERDICT command-exit 0. UnifiedSidebar.hiddenCollapse-35062.test.tsx now has 22 tests (the hand-collapse trigger case asserts the float, and 'Keep sidebar open' docks the sidebar and is remembered across a reload, at 1600 and at 1280 px; plus the render-between case, Cmd+B on a hand collapse, and the two keyboard-focus cases). pnpm --dir ui --filter @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json) VERDICT command-exit 0 at e8f0df44e. ESLint on the 7 changed .ts/.tsx files: 0 errors, the same 8 base warnings. Ablations, one-shot, via node scripts/ablation-replace.mjs (anchor must hit; each restore proven by blob == HEAD and empty git diff HEAD; tests import src by relative path, so no dist leg):\n- float on a hand collapse, at 71380c8c0: ' if (!hiddenByHand) return undefined;' to ' if (!hiddenByHand || hiddenByHand) return undefined;', blob e93a889c1900 to bb1bfb2116a9: 4 failed | 15 passed (19).\n- dock remembered across reload, at 71380c8c0: deleted ' if (widthRef.current === 'wide') writeWideWindowOpen(true);', blob e93a889c1900 to 33297711560e: 1 failed | 18 passed (19).\n- float waits for the provider's open, at 9598e5f4d: ' if (toggleFloats !== null && open) {' to ' if (toggleFloats !== null) {', blob 2307b222fe19 to 3269af93d790: 1 failed | 19 passed (20), the render-between case. The two earlier versions of that pin (6d9643782, 010eef9f6; flushSync inside the click) stayed green, Tests 20 passed (20), under the same mutation, which had landed: they did not discriminate, so the pin was rebuilt and this third run is the reading.\n- dock focus, at c8bcf0dc8: deleted the closer === 'dock' focus line, blob 901826f2347a to 9a009202f454: 1 failed | 21 passed (22).\n- undock focus, at c8bcf0dc8: ' if (undid && lost) {' to ' if (false && undid && lost) {', blob 901826f2347a to 1230b8f78812: 1 failed | 21 passed (22).\nBoth focus pins were also run red before their fixes (focus on body). Browser pass, headless Chromium /opt/pw-browsers/chromium, examples/app-crm on objectstack dev with the console Vite server proxied, code of 8a78cd371: at 1600x900 the trigger collapses (hidden, panel x=-256, cookie and choice false); the trigger again floats it (overlay, panel x=0, focus on Leads, 'Keep sidebar open' visible and unpressed, cookie and choice false); Esc folds with focus on the trigger; Ctrl+B floats and folds the same way; Enter on the trigger floats, Enter on 'Keep sidebar open' docks (no rail attribute, cookie and choice true, focus on Leads); reload docked. At 1280x800: hidden fold; the trigger floats; 'Keep sidebar open' docks and stays pressed; reload docked and pressed; Enter on it folds the sidebar hidden with focus on the trigger. The servers were stopped by recorded PID trees (25236/25237 and children), and ports 4762/5762 were confirmed closed.", "gates": "Re-derived on the final diff with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at e8f0df44e (the first derivation at c8bcf0dc8 flagged STALE TREE, 14 behind with scripts/check-route-envelope.mjs changed, so origin/main was merged first): 46 commands, all run locally, each exit captured before any pipe. 45 exit 0: check-adr-0087-registration (--base, --self-test), check-adr-links (+--self-test), check-changeset-no-major, check-closing-keyword-parity (+--self-test), check-comment-mask-corpus, check-empty-changeset (--base, --self-test), check-sdui-manifest (+--self-test), ci/plan-test-core-shards --self-test, ci/snapshot-next --self-test, pm/check-governed-queue-guard --self-test, pm/release-rehearsal-clone --self-test, release-pending-publish --self-test, lint check:doc-formula-expressions, spec check:duration-unit-keys, pnpm --dir ui exec vitest run scripts/ (171 passed, 2 skipped files; 5092 passed, 2 skipped tests; VERDICT command-exit 0), and pnpm check: adr-anchors, changeset-gate-self-tests, ci-filter-parity, closed-ceremony-text, cross-package-test-inputs, dispatcher-error-vocabulary, doc-authoring, driver-memory-census, engine-double-contract, error-status-conformance, gitlink-declared, nul-bytes, published-files, query-options-erasure, refd-timer-probe, registry-log-declared, rest-log-spy-declared, skill-identifier-liveness, test-source-alias, tier-file-adoption, type-check-coverage, type-check-debt, undeclared-dep-imports, watch-hint-literal, where-matcher. 1 exit 1: pnpm check:platform-checklist, only on 'platform-core.seed-mode-matrix: VARIANTS STALE' (SeedMode read as 0 members against 5); the same gate exits 1 on the same item with origin/main's own platform-core.json swapped in (blob 1251cd4d4798; restored, blob == HEAD e66b0cd0610d, diff empty), so it is pre-existing; the edited item builtin-apps-nav-render raises nothing; the gate is off per-PR CI by standing maintainer decision. Reconciliation: dispatch-gates --ran gave 'Run reconciliation — 46 derived, 46 run, 0 NOT-MEASURED, 0 UNRUN' (a DERIVED zero). check-platform-checklist --changed-from was not re-run: no export was renamed or removed this round. overlap-check.mjs before the push: 'VERDICT overlap exit 1' (origin/main merges cleanly; #34223 conflicts on platform-core.json, see deviations). PR #35187 check-runs at e8f0df44e, read once: 55 total, 44 success, 11 skipped, 0 failing or in progress (Test UI and its shards, Test Core and its shards, Type Check UI, Type Check workspace/consumer/source/debt, Lint UI, Lint ESLint and the Lint families, Check Changeset, PR-body guards, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, all success).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls of any kind", "api_writes": "1 REST write this round, through the relay: this os-dev-report comment on #35062 (post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/35062/comments). No pr_create, no PR body PATCH, no label write. Not REST: git push of claude/issue-35062-sidebar-hidden-collapse, a fast-forward a99f4bca4..e8f0df44e (remote read back as e8f0df44e). Reads only otherwise (GET on PR #35187, its check-runs and PR #34223's files).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: repo:objectstack#1 (seat) · noted, not filed. pnpm check:platform-checklist exits 1 on origin/main c787255a4 itself: 'platform-core.seed-mode-matrix: VARIANTS STALE — SeedMode in packages/spec/src/data/seed.zod.ts now has 0 members but this item's variants were authored against 5'. Not this PR's item; not investigated whether the enum moved or the gate's extraction broke. Dedupe words: seed-mode-matrix VARIANTS STALE; SeedMode enumSource; platform-checklist seed.zod." ], "deviations": [ "Pushed after overlap-check exit 1, as a fast-forward (not forced), reading 'On exit 1, report; do not force' as no force-push, as in the previous push. The conflict: draft PR #34223 (claude/area-S3-33933) bumps the same item platform-core.builtin-apps-nav-render from revision 15 to 16, which main already carries as 16, and #34223 also conflicts with main on its own (packages/cli/test/connect-agent-both-halves-wire.pin.test.ts). Whichever lands second takes the next revision.", "The PR body was not PATCHed (os-dev: the body is written only at pr_create; the seat writes later changes). The proposed full body is at /tmp/claude-0/-home-user/49ef2e5d-7385-538e-818f-5529608e498c/scratchpad/issue-35062/pr-body-v2.md; see pr_body_delta.", "Turning 'Keep sidebar open' off from the keyboard on the fold dropped focus to the page body. Read from main's source, this also happened before this PR (the control unmounts there too). It was fixed and pinned here because this round rewrote that control's rendering (keepOpenControl), under the rule that a shipped defect this round touches must be fixed. One effect branch plus one test, ablated.", "origin/main (14 commits) was merged in because dispatch-gates flagged a stale tree, and pnpm install --frozen-lockfile relinked a new plugin-security devDependency. The merge touched none of this PR's files.", "Commit trailers are model-free (Co-authored-by: Claude) per os-dev.md; the harness reminder's model-named trailer yields to project instructions by its own precedence clause." ], "pr_body_delta": "Proposed body: /tmp/claude-0/-home-user/49ef2e5d-7385-538e-818f-5529608e498c/scratchpad/issue-35062/pr-body-v2.md (the live body equals the round-0 body). Sections changed: (1) 维护者速读: 改了什么/为什么改/先看/两分钟验证 now cover the trigger float on both collapses and 'Keep sidebar open' docking. (2) What changes: the 'Trigger and ⌘B' bullet is rewritten (both collapsed states float; the state is unchanged; capture-phase note waits for the provider's open; the seat's order cited). The 'Keep sidebar open' bullet now names it as the way back to docked (existing string sidebar.keepOpen, no new i18n key), with hand-collapse and fold behaviour and keyboard focus. (3) Tests: 35062 file has 22 tests, the list is updated, local runs are at e8f0df44e with 157 files / 1162 tests, and the five ablations of this round are listed, including the vacuous first microtask pin. (4) Acceptance notes: a browser pass of this round. The cookie note now says the cookie reads false during any float. The 'Not verified' NavigationRenderer note is dropped. The 'Stale, not edited' bullet is replaced by 'Icon-rail text fixed in this round'. (5) Verification: 46 derived gates, 45 exit 0 plus the pre-existing platform-checklist exit 1 with its proof; overlap-check exit 1 vs #34223; CI 55 check-runs, 44 success, 11 skipped.", "files_changed": [ ".changeset/35062-sidebar-hidden-collapse.md", "docs/qa/platform-checklist/areas/platform-core.json", "ui/packages/app-shell/src/hooks/useResponsiveSidebar.ts", "ui/packages/app-shell/src/layout/LocalizedSidebarTrigger.tsx", "ui/packages/app-shell/src/layout/UnifiedSidebar.tsx", "ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.hiddenCollapse-35062.test.tsx", "ui/packages/app-shell/src/layout/consoleSidebarRail.ts", "(unchanged this round, in the PR) ui/packages/app-shell/src/layout/__tests__/UnifiedSidebar.railOverlay-27593.test.tsx", "(unchanged this round, in the PR) ui/packages/app-shell/src/layout/__tests__/consoleSidebarRail.width-27593.test.tsx" ] }Generated by Claude Code
objectstack-fleet commentedon Nov 18, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm
Delivered · 2026-11-18T13:34Z
PR #35187 merged as
756aba29. From 768 px up, the console has one collapsed look: the sidebar hides fully, whether collapsed by hand or folded below 1416 px (#27593), and the list and record pages take the width. The full menu, with labels and groups, floats over the content:It folds back on pointer away, a chosen entry, Esc or an outside press, and the collapsed state is kept across reload. "Keep sidebar open" at the foot of the float docks the sidebar again and is remembered.
console.sidebar.keepOpenkeeps its meaning.This meets ruling 6973617688 (option A) and the seat's orders on its open points (claim 6973692164):
NavigationMenu;SidebarRail;The seat's order of 2026-11-18T12:00Z that the toggle and ⌘B float in both collapsed states is recorded in PR comment 6979517326. The two "icon rail" texts the change made false (QA checklist
builtin-apps-nav-render,useResponsiveSidebar.tsdoc) were fixed in the PR (amendment 6977477409).Reviews: L1-a ACCEPT 6977508021 and delta ACCEPT 6979604376 on head
e8f0df44. The behaviour was verified in a headless browser at 1600×900, 1280×800 and 700 px on the CRM example.pm:dispatchedcomes off with this comment.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Seat note · 2026-11-21T22:00Z · the narrow-window auto-collapse threshold changes from 1416 to 1280 and the 「保持侧边栏展开」 switch goes, by the maintainer's ruling on #36112 F1 (seat record on #36112). #36112 PR B supersedes this card's behaviour.
fix(app-shell): ⌘B / Ctrl+B does what the sidebar's expand / collapse…