Skip to content

Docs portal /docs… in an app-less variant of the app shell on desktop: neutral 「文档」 head with the app switcher, docs tree in the sidebar, no top bar, every URL kept (#37150 item 2) #37197

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Filing gate ③ — maintainer ruling. Source: #37150 item 2, ruling recorded on #37150 (comment 7151721568). The maintainer, verbatim, in seat repo:objectstack#4's session: 「B:做一个不属于任何应用的外壳变体(推荐)」. It implements ruling A on #36107 phase 3 (record 7142354097: 「统一成一种外观,两个入口和旧链接都保留」).

Business reason. After PR #37193, from 768 px up an app's manual (/apps/APP/docs…) draws in the app shell: sidebar, no top bar. The docs portal (/docs…), which names no app, still draws in Home's frame with the docs bar (DefaultHomeLayout variant="docs", ui/apps/console/src/App.tsx:228-235, route at :441). A reader moving between the two entry points sees two different frames for the same documents, and the portal is the last desktop page that still draws a top bar. The shell cannot simply be mounted around it: ConsoleLayout is app-scoped, and guessing an app for an app-less route is what objectui#4280 refused for /forms/:name.

Change. On desktop (≥ 768 px), /docs… renders in an app-less variant of the same AppShell and sidebar frame:

Two stages (maintainer, verbatim, recorded on #37150: 「docs 新外壳先画设计图给我看」).

  1. Design first. The cloud session produces mockups of the app-less shell: the real AppShell and sidebar components on a scratch branch, screenshotted, or a static page. Views:

    • the desktop /docs landing;
    • one doc open;
    • the 「文档」 head with the app switcher open;
    • the sidebar collapsed;
    • phone, unchanged.

    Each view gets a one-line note on what differs from the app shell. The images or links go to seat repo:objectstack#4, which puts them in front of the maintainer.

  2. Build only after the maintainer approves the design on this card. Until then there is no implementation PR for this card.

Acceptance (stage 2).

  • At 768 and 1440 px, /docs, /docs/<book> and /docs/<book>/<name> show the app-less shell with the 「文档」 head and the docs tree, and no top bar.
  • At phone width the current portal is unchanged, as the control.
  • Old URL forms resolve as before.
  • Opening /docs cold does not change the last-used app.
  • Pins at desktop and phone width; an ablation of the variant switch turns them red.

Grade: area:ux · Task · the last desktop page still drawing the top bar, and a second frame for the same documents · p2 (epic grade, as #37150). Size L (new app-shell structure).
Mode: mode:cloud. It runs in its own cloud session, per the maintainer's rule for large cards.
Reader: zone a4-C of seat repo:objectstack#4 dispatches stage 1 when a slot is free and stage 2 once PR #37193 lands, because the two share ConsoleLayout.tsx, UnifiedSidebar.tsx, sidebarDocsNavSlot.tsx and the docs pages.
Stage 2 is blocked by #37193 and by the maintainer's approval of the design. Stage 1 (mockups on a scratch branch, no PR) is not blocked and does not conflict with #37193.
Dedupe: "docs portal" app-less shell (open objectstack issues) → 1 hit (#37150, the parent card). docs app shell variant → 7, none on the portal frame. DefaultHomeLayout docs → 2 (#37150, #36107).

Activity

  1. added
    priority:p2
    pm:queue
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Claim: PM loop round 1 — stage 1 only (design mockups; no PR)
    Session: session_01QSeKYnagJvGbCtNg2PhvgW
    Account: os-justin
    Branch: claude/issue-37197-docs-shell-design (scratch branch for mockups and screenshots; not a PR branch)
    Worktree: the cloud session's own checkout
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-C
    Epic: #36107 (sub-issue; carries #37150 item 2)
    File surface: stage 1 writes only to the scratch branch: a mockup harness (a static page, or the real AppShell / UnifiedSidebar components mounted in a scratch story or test page) and its screenshots, read against ui/packages/app-shell/src/layout/{ConsoleLayout.tsx,UnifiedSidebar.tsx,sidebarDocsNavSlot.tsx}, ui/apps/console/src/App.tsx (/docs route frame), ui/apps/console/src/pages/{DocPage,DocShell,DocsNav}.tsx. Nothing from this branch is merged.
    Container & model: L, mode:cloud, model: default (dispatch-gates --tier: "no path-derived mandate … the PM picks floor or default per card"; default — new app-shell structure), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform UI code in objectstack (the docs portal is the last desktop page drawing the top bar, a second frame for the same documents) | none | every desktop reader opening /docs; reached today
    Thread-read: 7151721568
    Premise: holds
    Serial constraints cleared: stage 1 makes no PR and changes nothing on main, so it cannot conflict with open PR #37193 (this zone; shares ConsoleLayout.tsx, UnifiedSidebar.tsx, sidebarDocsNavSlot.tsx). The mockups are drawn on top of #37193's branch claude/issue-37150-docs-in-app-shell so they show the shell as it will be. Stage 2 waits for #37193 to land and the maintainer's design approval, and gets its own claim then.

    Pre-claim lane: domain:ui — every path is under ui/**.
    Pre-claim deps: stage 1 none; stage 2 is blocked by #37193 and the maintainer's design approval (card body).
    Prior rulings read: app-less shell,docs portal,defaulthomelayout,guessed app → 0 hits; none; thread: 7151721568 (the maintainer's B ruling 「B:做一个不属于任何应用的外壳变体(推荐)」 and 「docs 新外壳先画设计图给我看」); repo: objectstack-ai/objectstack. Also objectui#4280 (no guessed app sidebar on an app-less route, InternalFormRoute.tsx header) and #36107 ruling A, record 7142354097.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37197,
      "status": "design_ready",
      "branch": "claude/issue-37197-docs-shell-design",
      "pr": null,
      "head_sha": "6ffc6da2c478f9a3a3008db07d485fd93f19f3bb",
      "session": "session_01QSeKYnagJvGbCtNg2PhvgW",
      "premise_still_valid": true,
      "summary": "Stage 1 only. The mockups are real renders, not a static page: on top of #37193's head (fd2011e5) one scratch commit (5efab150) mounts the real AppShell + UnifiedSidebar around /docs from 768 px up (DocsPortalShell; UnifiedSidebar docsPortal mode; a neutral 「文档」 head, SidebarDocsPortalMenu, reusing the app menu's list; PortalDocsNav as the sidebar body via sidebarDocsNavSlot, with 「全部文档」 first). Navigation context stays home, no app is guessed, and no current/last app is written. Phone keeps today's frame. Captured with Playwright (deviceScaleFactor 2, zh-CN browser locale so the labels read as the ruling words them) against the showcase example on a fresh DB, and committed with a per-view README under design/37197/ (6ffc6da2). No PR, nothing to merge.",
      "readme": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/README.md",
      "views": [
        {
          "view": "1 desktop /docs landing, 1440 px",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/1-desktop-docs-landing-1440.png",
          "note": "Head is a neutral 「文档」 (book glyph) instead of the app's mark and name; no 「← 返回 APP」 row; 「全部文档」 is the first sidebar row (highlighted on the index); the tree lists every app's books under app headings instead of one app's books. Versus today's portal: no top bar."
        },
        {
          "view": "2 one doc open, 1440 px",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/2-desktop-doc-open-1440.png",
          "note": "Page body and 「本页目录」 identical to #37193; only the sidebar differs: 「文档」 head, 「全部文档」 first, the open book expanded inside the all-apps tree; accent is the console default blue (no app branding) where #37193 uses the app's colour."
        },
        {
          "view": "3 「文档」 head with the app switcher open",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/3-desktop-docs-head-app-switcher-open-1440.png",
          "note": "Same dropdown as the app menu under a 「你的应用」 caption, but no row is checked (no current app) and the app-scoped rows (design layout, edit in Studio) are absent; 「添加应用」 stays; choosing an app opens /apps/APP; the URL is unchanged while it is open (measured)."
        },
        {
          "view": "4 sidebar collapsed, 1440 px",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/4-desktop-sidebar-collapsed-1440.png",
          "note": "Same as #37193 collapsed: no sidebar width, the expand button at the page header's left, nothing names the portal while collapsed (see open question 1)."
        },
        {
          "view": "4b collapsed, menu floated from the left edge",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/4b-desktop-sidebar-collapsed-floated-1440.png",
          "note": "Same floated menu mechanics as #37193, carrying this variant's head and tree."
        },
        {
          "view": "5 phone 390 px, control (landing)",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/5-phone-docs-landing-390-unchanged.png",
          "note": "Unchanged: today's portal in Home's frame with the docs bar (「/ 文档」, search, bell, avatar); #37193 on a phone also keeps its bar."
        },
        {
          "view": "5b phone 390 px, control (doc open)",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/5b-phone-doc-open-390-unchanged.png",
          "note": "Unchanged: the reader's in-page book disclosure under the docs bar."
        },
        {
          "view": "6 /docs at 768 px (optional)",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/6-tablet-docs-landing-768.png",
          "note": "Below 1280 px the sidebar starts collapsed, as on every shell page; no top bar at 768 px either."
        },
        {
          "view": "6b /docs at 768 px, sidebar expanded",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/6b-tablet-docs-landing-768-sidebar-open.png",
          "note": "The 1440 px layout, narrowed."
        },
        {
          "view": "0 reference: #37193 app docs shell, same doc",
          "png": "https://raw.githubusercontent.com/objectstack-ai/objectstack/6ffc6da2c478f9a3a3008db07d485fd93f19f3bb/design/37197/0-reference-app-docs-shell-37193-1440.png",
          "note": "The comparison baseline (/apps/com.example.showcase/docs/manual/showcase_tour_data), same locale and stack."
        }
      ],
      "tests": "n/a for a design stage: no product code lands. Capture evidence: capture.cjs (committed beside the PNGs) completed every view ('shots 2,3,4,4b,5,6' and '1'); view 3 logged the same URL before and after opening the menu. raw.githubusercontent.com answered 200 for the view-1 PNG at the head sha.",
      "gates": "none run: scratch branch with no PR and nothing to merge; the prototype commit is throwaway and was not typechecked or tested (it runs in the Vite dev server). Build used for the stack: turbo build of the showcase closure under os-verify-lock, 'Tasks: 67 successful, 67 total', VERDICT command-exit 0.",
      "dogfood_battery": "n/a — no PR",
      "mcp_calls": "2 — mcp__github__issue_read (get, get_comments) on #37197; reads only, no write tool",
      "api_writes": "1 — this os-dev-report comment via post-stamped.mjs; git push x3 (not REST)",
      "open_questions": [
        {
          "question": "What does the 「文档」 head show while the sidebar is collapsed (view 4)?",
          "options": [
            "A — Nothing, only the page header's expand button, as the app shell does today (mocked)",
            "B — A small 「文档」 crumb beside the expand button so the collapsed portal still names itself"
          ],
          "recommendation": "A, because it keeps the collapsed shell identical to every app page; B is a one-line addition if the portal should name itself."
        },
        {
          "question": "Where does 「全部文档」 sit?",
          "options": [
            "A — First row of the portal sidebar body, as the ruling words it, while #37193's app docs keep it as a foot link (mocked)",
            "B — First row in both shells, so the two docs sidebars match",
            "C — Foot link in both"
          ],
          "recommendation": "B, because one look for both entry points is ruling A on #36107; it is a small change to #37193's DocsNav in stage 2."
        },
        {
          "question": "What does the 「文档」 head menu hold (view 3)?",
          "options": [
            "A — The viewer's apps plus 「添加应用」, no Home row, no app-scoped rows (mocked)",
            "B — A plus a 「首页」 row at the top"
          ],
          "recommendation": "A, because the ruling asks for the app switcher only and the sidebar's search already reaches Home."
        },
        {
          "question": "How is the portal tree grouped (views 1 and 2)?",
          "options": [
            "A — Under app headings, as the index page groups books, every book folded but the one being read (mocked)",
            "B — A flat list of books without headings"
          ],
          "recommendation": "A, because it matches the index cards and scales to many apps."
        },
        {
          "question": "Accent colour on the portal",
          "options": [
            "A — Console default accent, no app branding (mocked)",
            "B — The last app's branding"
          ],
          "recommendation": "A, because B would be a guessed app, which the ruling and objectui#4280 refuse."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: stage 2 of #37197 · noted, not filed — in the prototype the portal tree shows a book's raw label ('Setup') where the index card shows the localized one (「系统设置」); the two read the label from different sources. Observation on scratch code, not a reproduced defect on main."
      ]
    }

    Generated by Claude Code

  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Carried into stage 2, from the seat's L1 on PR #37193 (comment 7152350994, N1/N2 and the note for later):

    • N1: pin two desktop docs-route behaviours that feat(console): an app's docs pages draw in the app shell from 768 px up #37193 left unpinned.
      • ConsoleLayout.tsx:369: ConnectionBanner now shows on desktop docs pages (it used to be !docsPage). Add a docs-route case with connectionState: 'disconnected'.
      • The docs header's expand button suppresses the corner fallback when the sidebar is collapsed. Add a collapsed-sidebar docs-route case.
      • One noTopBar-36112 case each.
    • N2: add a screenshot of the non-reader AppDocsNav column: a multi-book index, or a not-found page.
    • 「全部文档」 position: if the maintainer picks "first in both sidebars" (open question 2), the move is at ui/apps/console/src/pages/DocsNav.tsx:119-128. That block is shared by the reader (DocPage.tsx:384-393) and AppDocsNav (DocsNav.tsx:181) and also renders the phone in-page column, so it needs a phone guard. The current pin covers presence only, not position (docs-portal.test.tsx:1013).
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    Design approved · 2026-11-25T04:41Z · the stage-1 mockups (report 7152059829, branch claude/issue-37197-docs-shell-design@6ffc6da2c). The seat put them to the maintainer in seat repo:objectstack#4's session.

    The maintainer's words, verbatim: 「5 处都按建议,批准设计」.

    The five open points are ruled as recommended:

    1. Collapsed sidebar: the header shows nothing, the same as the app shell.
    2. 「全部文档」: the first row in both docs sidebars, the portal's and the app docs nav that feat(console): an app's docs pages draw in the app shell from 768 px up #37193 shipped. The seat's recommendation, agreed: move the app-docs-nav row in stage 2, not in feat(console): an app's docs pages draw in the app shell from 768 px up #37193 (merged). That row is at ui/apps/console/src/pages/DocsNav.tsx:119-128. The same component draws the phone in-page column, so the move needs a phone guard.
    3. Header menu: only the app list and 「添加应用」.
    4. Docs tree: grouped by app.
    5. Accent: the default accent, with no app brand.

    Stage 2 (build) may start. The design is approved, and #37193 merged at 04:20Z. Stage 2 also carries:

    Large card in its own cloud session.

  7. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Claim: PM loop round 1 — stage 2 (build), design approved 7153085446
    Session: session_01QSeKYnagJvGbCtNg2PhvgW
    Account: os-justin
    Branch: claude/issue-37197-docs-shell (PR branch, cut from main after #37193 merged); the stage 1 prototype commit 5efab150 on claude/issue-37197-docs-shell-design is the starting reference
    Worktree: the cloud session's own checkout
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-C
    Epic: #36107 (sub-issue; carries #37150 item 2)
    File surface: ui/packages/app-shell/src/layout/{ConsoleLayout.tsx,UnifiedSidebar.tsx,sidebarDocsNavSlot.tsx} and a new app-less shell wrapper beside them, ui/apps/console/src/App.tsx (the /docs route frame only), ui/apps/console/src/pages/{DocPage,DocShell,DocsNav,DocsPortal*}.tsx, ui/packages/app-shell/src/index.ts, their tests, ui/packages/i18n/src/locales/*.ts (only if a key is needed; measure Clause-②), .changeset/* (stop on breach; explain in the report)
    Container & model: L, mode:cloud, model: default (dispatch-gates --tier: "no path-derived mandate … the PM picks floor or default per card"; default — new app-shell structure), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform UI code in objectstack (the docs portal is the last desktop page drawing the top bar, a second frame for the same documents) | none | every desktop reader opening /docs; reached today
    Thread-read: 7153085446
    Premise: holds
    Serial constraints cleared: #37193 merged 2026-11-25T04:20Z (stage 2's blocker); the maintainer approved the design at 7153085446 (「5 处都按建议,批准设计」). overlap-check at origin/main vs #37166, #37204: VERDICT clean exit 0. Open PR #37166 (zone a4-S) shares ui/packages/app-shell/src/index.ts; a textual conflict with it is stop-and-report. #37204 (this zone) shares no file in this surface.

    Pre-claim lane: domain:ui — every path is under ui/**.
    Pre-claim deps: stage 2's blockers are cleared: #37193 merged, and the maintainer approved the design (7153085446).
    Prior rulings read: app-less shell,docs portal,defaulthomelayout,guessed app → 0 hits; none; thread: 7151721568 (the maintainer's B ruling 「B:做一个不属于任何应用的外壳变体(推荐)」 and 「docs 新外壳先画设计图给我看」); repo: objectstack-ai/objectstack. Also objectui#4280 (no guessed app sidebar on an app-less route, InternalFormRoute.tsx header) and #36107 ruling A, record 7142354097.

  8. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37197,
      "status": "done",
      "branch": "claude/issue-37197-docs-shell",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37241",
      "head_sha": "7977d28ba4c9acc30ba98a0c372f5a0775ec5937",
      "session": "session_01QSeKYo1Rb7aYhQiJdWshkL (this dev run; dispatched by PM session_01QSeKYnagJvGbCtNg2PhvgW)",
      "premise_still_valid": true,
      "summary": "Stage 2 built from the approved prototype 5efab150. From 768 px up, /docs… renders in a new DocsPortalShell (app-shell): the real AppShell with no top bar, UnifiedSidebar in a new docsPortal mode (a neutral 「Documentation」 head, SidebarDocsPortalMenu, sharing the app menu's list via an extracted AppMenuList, under 「Your apps」, no row checked, 「Add app」 only), the docs tree as the body through #37193's slot, and the page header's group in a new appless scope (help with no app's docs). Home's AI drawer and palette are reused. A phone keeps HomeLayout variant=docs. No app is guessed: the context stays home, the current/last app is never written, no branding. The five approved points are implemented: collapsed shows nothing; 「全部文档」 is the first row in BOTH docs sidebars (DocsNav puts it first whenever the column is in the shell sidebar; the phone's in-page column keeps it at the foot, the slot being the phone guard); head menu = apps + 「添加应用」; tree grouped by app in the index's order; default accent. The raw 「Setup」 tree label is fixed (books take their index card's label). #37193's N1 pins (ConnectionBanner on a disconnected desktop docs page; the docs header's expand button suppressing the corner fallback) are added with phone controls, and N2's AppDocsNav screenshot plus nine stage-2 views are linked from the PR. Every /docs URL form is unchanged and pinned in the new frame.",
      "tests": "At 95a165e3 (before the main merge), 5 touched/new suites, verbose: 'Test Files 5 passed (5) / Tests 140 passed (140)', VERDICT command-exit 0. After merging origin/main 0a1b69c0 and rebuilding the closure ('Tasks: 75 successful, 75 total'), a NARROWED suite of 186 files (every app-shell/console test naming the touched modules, plus all console pages tests) ran at 1ffad1a4: 'Test Files 3 failed | 183 passed (186) / Tests 3 failed | 1680 passed (1683)'. The 3 reds were census/stub tests that this change moves: App.docsPortalLazy (it stubbed the old frame, not DocsPortalShell, so real reads escaped to the network), expressionUser.mountSites.ratchet (a new mount site) and unsavedEditsLeave.census-13253 (a new wrapped onAppChange read). All were fixed in 7977d28b (tests only) and re-run: 'Test Files 3 passed (3) / Tests 12 passed (12)'. DECLARED NARROWING: the full app-shell and console suites are left to CI Test UI. type-check for app-shell and console at 1ffad1a4: VERDICT command-exit 0. Ablations, all via ablation-replace.mjs (anchor 1->0 on disk; restored blob == HEAD; git diff HEAD empty; the tests import src, so no dist leg): (1) the variant switch 'if (phone) {' -> 'if (phone || true) {': 'Tests 7 failed | 4 passed (11)', with all 4 phone controls green; (2) the DocsNav first-row switch forced false: 'Tests 4 failed | 76 passed (80)', PHONE CONTROL green; (3) the label fix reverted: 1 failed; (4) the appless scope removed: 1 failed (the help names an app). Browser: 9 views captured against the showcase example on a fresh DB with this branch's Console (zh-CN, deviceScaleFactor 2). Measured there: the head menu leaves the URL unchanged with 0 checked rows; collapsed, there is 1 expand button in the docs header and no corner fallback; no last-app key in storage after any desktop view. The screenshots are committed at 672b06dd and removed in the next commit (the PR's file list carries no binaries).",
      "gates": "Local: dispatch-gates --commands (objectstack-ai/objectstack at e4db1f12, 16 paths against merge base 93bd45957; the list is identical at the final head) derived 38. 37 ran at e4db1f12, and 'pnpm --dir ui exec vitest run scripts/' ran under the lock at eea1765f: 'Test Files 172 passed | 2 skipped (174)'. Every exit was 0 except check:test-source-alias (exit 1: the palette's lazy plugin-detail load had to be paid at collection in the new suite), fixed in 1ffad1a4. --ran reconciliation: '38 derived, 38 run, 0 NOT-MEASURED (a DERIVED zero — all 38 recorded an exit code and none of them is 3)'. Re-run at 7977d28b, all exit 0: check:test-source-alias, check:cross-package-test-inputs, check:nul-bytes, check:type-check-debt, check:tier-file-adoption, check-empty-changeset, check-changeset-no-major, and ui check:new-line-citations ('0 new citation(s)'). Lint on the changed files: 0 errors, no new warning. overlap-check before every push: VERDICT clean exit 0 (main, #37166, #37168, #37169). CI on #37241 at 7977d28b: Actions runs exist and started within a minute of pr_create (CI, Lint & Type Check, PR-Body Guards, Governed Surface Guard in_progress; Pack Smoke and Upgrade Harness skipped as opt-in); not waited on.",
      "dogfood_battery": "n/a — no '!' in the PR title and Clause-② no without the (narrowing) arm",
      "mcp_calls": "8 — all reads: issue_read get + get_comments on #37197, issue_read get_comments on #37150, pull_request_read get_comments on #37193, actions_list list_workflow_runs on the branch, plus ToolSearch loads; no write tool",
      "api_writes": "2 relay writes — pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft forced, then POST /issues/37241/assignees os-justin) via fleet-write run 45558244507, read back as 14869 bytes sent and 14869 stored; and this os-dev-report comment via post-stamped. git push x7 (not REST).",
      "open_questions": [
        {
          "question": "#37150 is 'Part of' in the PR body, as dispatched, so merging #37241 will not close it, although this PR carries its last item.",
          "options": ["A — the landing seat closes #37150 by hand after #37241 merges (body unchanged)", "B — the seat edits the body to 'Fixes #37150' before landing; no gate forbids it, since H7 only fires when the same number is also 'Part of'"],
          "recommendation": "A, because it keeps the dispatched spelling and the landing record in one place; B is a one-line body edit if the seat prefers the platform to close it."
        },
        {
          "question": "「All documentation」 position inside an app's docs sidebar: the ruling says first row in both sidebars; an app's column also has 「← Back to APP」.",
          "options": ["A — 「All documentation」 above 「← Back to APP」, the literal first row (built)", "B — 「← Back to APP」 first, 「All documentation」 second"],
          "recommendation": "A, because it is the ruling's wording and makes both sidebars start identically; B is a two-line swap if the maintainer reads 'first' as first after the way back."
        },
        {
          "question": "The pending #37150 changeset says 'The /docs portal is not changed by this release', which this PR makes false if both ship in one release.",
          "options": ["A — leave it; the release compiler reconciles the two entries", "B — a DELIBERATE CORRECTION of that one sentence in this PR (Check Changeset would go red on the edited existing changeset, by design)"],
          "recommendation": "B before release, but by the seat's word: os-dev does not correct another PR's changeset unasked."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat repo:objectstack#4 · noted, not filed — content/docs/frontend/app-shell.mdx still says the Console draws the app bar 'on an app's docs pages, which mount no sidebar' (stale since #37193, now also wrong for /docs); content/docs/** is outside this claim's file surface.",
        "carrier: none · noted, not filed — an app's docs column (usePackageDocsNavBooks) still names an implicit book by its humanized package id, where the index names it by its app; the approved fix scope was the portal tree."
      ]
    }
  9. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37197,
      "status": "done",
      "branch": "claude/issue-37197-docs-shell",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37241",
      "head_sha": "4a5955a98df2f678c4fabb216d8f788aacc7ae43",
      "session": "session_01QSeKYo1Rb7aYhQiJdWshkL (this dev run; follow-up to report 7154493101, on the seat's rulings for its three open questions)",
      "premise_still_valid": true,
      "summary": "Rework per the seat's rulings. (1) 'Part of #37150' is kept; no change. (2) In an app's docs sidebar, 「全部文档」 is now the first docs row: directly under 「← 返回应用」 and above the filter and the books. On the portal, which has no back link, it remains the first row. The phone's in-page column keeps it at the foot. (3) DELIBERATE CORRECTION: one sentence in #37193's pending changeset now says the /docs portal draws in the same frame, belonging to no app; no contradicting note was added elsewhere, and this PR's own changeset sentence on the order was aligned. (4) The stale line in content/docs/frontend/app-shell.mdx is corrected. Screenshots 7 and 8 (N2) were re-captured with the new order. The PR body is updated to match.",
      "tests": "At 2961b4a9, after a closure rebuild (75/75, 74 cached): console pages/, app-shell console/docs/, UnifiedSidebar.footerSlot-36739, SidebarAppMenu-36112 and ConsoleLayout.noTopBar-36112 gave 'Test Files 177 passed (177) / Tests 1656 passed (1656)', VERDICT command-exit 0. The pins now assert that the back link is the column's top row, that 「全部文档」 is the first row after it, and that it precedes the filter and the first book (reader and docs index); PHONE CONTROL unchanged. First-row ablation re-run via ablation-replace.mjs: 'Tests 4 failed | 76 passed (80)', PHONE CONTROL green, restored blob == HEAD, git diff HEAD empty. Views 7 and 8 re-captured against the showcase: 'firstRow: docs-nav-back' (measured), committed at 0b9b8280 and removed in the next commit.",
      "gates": "dispatch-gates --commands at 2961b4a9 derived 71. Of the 70 light ones, 68 exited 0 at once. check:skill-examples exited 3 (refused: @objectstack/client-react was not built); after building it, exit 0. check-empty-changeset exited 1: the DELIBERATE CORRECTION, red by design until the seat's record. ui vitest scripts/: 'Test Files 172 passed | 2 skipped (174)'. --ran: '71 derived, 71 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check: origin/main, #37166, #37168 and #37169 merge cleanly. It exits 1 against #35129, the bot-maintained Version Packages PR: that PR deletes every pending changeset, so the ordered correction meets it as a modify/delete on .changeset/37150-docs-pages-in-app-shell.md. Nothing was resolved by hand. My push command did not stop on that exit 1; I read it after the push (deviation). CI on 4a5955a9: runs exist (CI, Lint & Type Check, PR Automation, Spec Liveness in_progress; Governed Surface Guard and Check Links success).",
      "dogfood_battery": "n/a — no '!' in the PR title and Clause-② no without the (narrowing) arm",
      "mcp_calls": "3 since report 7154493101 — reads only: pull_request_read get (#35129), actions_list list_workflow_runs (x1), send_message to the PM session; no GitHub write tool",
      "api_writes": "2 since report 7154493101 — PR #37241 body rewrite via post-stamped --body (relay run 45562912327, 16994 bytes stored identical); this comment via post-stamped. git push x2 (not REST).",
      "open_questions": [
        {
          "question": "overlap-check exit 1 against #35129 (chore: version packages) on the corrected changeset file. Is it a stop-and-report conflict, or an accepted consequence of the ordered correction?",
          "options": ["A — accepted: the release PR is regenerated from main, so it picks up the corrected sentence after #37241 lands; nothing to resolve", "B — revert the changeset correction and handle the release note at release time"],
          "recommendation": "A, because any edit to a pending changeset meets the release PR this way, and the seat ordered the edit; the conflict needs no hand resolution."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — an app's docs column still names an implicit book by its humanized package id (unchanged from report 7154493101)."
      ]
    }
  10. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37197,
      "status": "done",
      "branch": "claude/issue-37197-docs-shell",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37241",
      "head_sha": "4a5955a98df2f678c4fabb216d8f788aacc7ae43",
      "session": "session_01QSeKYo1Rb7aYhQiJdWshkL (addendum to 7155144310: the CI reds the seat asked about)",
      "summary": "Read from the job logs. None of the reds on old head 7977d28b is a test failure. On 2961b4a9 and 4a5955a9, Check Changeset is the DELIBERATE CORRECTION refusal: it is red by design, it must not be bypassed, and it is already declared in the PR body.",
      "ci_reds": [
        "CI run 45558315288 at 7977d28b, 'Test UI' aggregate (job 139017415502): superseded cancellation. All nine planned shards 'Test UI (k/16)' concluded 'cancelled' when 2961b4a9 was pushed; the aggregate's own log reads \"Test UI (k/16) rollup: 'cancelled'\". No failing test, so there is no root cause to fix.",
        "Lint & Type Check run 45558315353 at 7977d28b, 'Lint & Repo Gates' (job 139017430205) and 'TypeScript Type Check' (job 139017439326): superseded cancellations. Every member job concluded 'cancelled' except 'Type Check · source gates', which concluded 'success'.",
        "Check Changeset (run 45558828686, job 139017316916 at 2961b4a9; and job 139030126751 at 4a5955a9): the step 'node scripts/check-empty-changeset.mjs --base MERGE_BASE' refuses '.changeset/37150-docs-pages-in-app-shell.md exists on the merge base and was not added by this PR'. That is the edit the seat ordered. The later steps pass: adr-0087 ('2 non-breaking changeset(s)'), no-major, and the LEVEL AXIS (Clause-② no, Metadata-protocol none, patch). The rule text, verbatim from the log: \"DELIBERATE CORRECTION -- your change may have made this PENDING release note false, and you rewrote it in the same stroke. Remedy: do NOT restore it -- declare the DELIBERATE CORRECTION on the PR, naming each note; the dispatching seat confirms it by its own record (its ACCEPT, or its same-head at-tier contract-review PASS: pm-dispatch references/landing-operations.md), never a maintainer wait; restoring it from the base would put the false sentence back.\" Also: \"this gate stays red either way\". The workflow adds that 'Check Changeset' is not a required context, and that 'skip-changeset' is never applied to a PR that edits an existing changeset (ruling D on #18375). Done: the PR body declares the correction, naming the note and quoting the old and new sentence. No label was applied and nothing was restored."
      ],
      "ci_at_head": "At 4a5955a9, at time of writing: Check Changeset failure (the refusal above). Success: Lint · ESLint, Lint · docs & code guards, Build Docs, Check Documentation Links, Spec property liveness, PR-body guards, Governed Surface Queue Guard, Dogfood Regression Gate. The rest in_progress; not waited on.",
      "api_writes": "this comment via post-stamped",
      "security_findings": "none"
    }
  11. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37197,
      "status": "done",
      "branch": "claude/issue-37197-docs-shell",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37241",
      "head_sha": "fecd4e239f81101a7273cb51c0d50fa4762b9403",
      "session": "session_01QSeKYo1Rb7aYhQiJdWshkL (rework on the seat's L1 7155677032)",
      "premise_still_valid": true,
      "summary": "L1 rework at head fecd4e23. S1: design point 5 (default accent) is pinned in DocsPortalShell-37197. The test opens the portal after an app with branding.primaryColor, with --primary/--accent left on the root, and expects the root to carry neither; phone control included. S2: the portal's desktop frame now mounts, like ConsoleLayout, a non-shrinking box at the top of its content holding ChromeBannerHost and ConnectionBanner. So the standing banners and a lost-connection notice sit beside the fixed sidebar instead of over its head. The connection state is read from the data adapter through useSyncExternalStore. Pinned at 1440 (drawn exactly once, in the box, not above the shell; disconnected shows the notice, connected none), with a phone control (banner stays where the shell mounts it, once; no box, no notice). S3: the 37197 note now opens 'was the one documentation page that still drew a top bar on a desktop'. N1: search 'when there is an app to search'; the note also names the standing notices. N2: the test notes that the storage check carries the no-app-remembered pin and the rememberApp spy is only a tripwire. app-shell.mdx needed no edit: its portal sentence is true at this head.",
      "tests": "Closure rebuilt (75/75). At fecd4e23, DocsPortalShell-37197, ConsoleLayout.noTopBar-36112, App.docsPortalLazy and expressionUser.mountSites.ratchet: 'Test Files 4 passed (4) / Tests 31 passed (31)', VERDICT command-exit 0; DocsPortalShell-37197 has 16 tests (5 new). type-check app-shell+console at e78f292d and app-shell at fecd4e23: exit 0. Lint on the changed files: 0 errors, 0 warnings. A set-state-in-effect warning from the hook's first spelling was removed by the rewrite. Ablations via ablation-replace.mjs, each restored to blob == HEAD with git diff HEAD empty: S1, AppShell handed the host app's branding: 'Tests 1 failed | 15 passed (16)', the accent pin red, phone control green. The first S1 attempt put the anchor inside its own replacement, the tool refused it ('a drop of 0') and restored the file, so it measured nothing and was re-run. S2, ChromeBannerHost deleted: 1 failed, the 1440 banner pin red; ConnectionBanner deleted: 1 failed, the notice pin red; PHONE CONTROL green in both.",
      "gates": "dispatch-gates --commands at fecd4e23: 71, list unchanged. 68 of the 70 light gates exited 0 at once. check:skill-examples exited 3 (client-react not built in the fresh worktree), then 0 after building it. check-empty-changeset exited 1: the DELIBERATE CORRECTION, confirmed by the seat's contract review 7155664200. ui vitest scripts/: 'Test Files 172 passed | 2 skipped (174)'. --ran: '71 derived, 71 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check: clean vs main, #37166, #37168 and #37169; exit 1 vs #35129 only (accepted). The push was gated on exactly that condition. CI on fecd4e23: runs exist (Governed Surface Guard success; the rest started).",
      "dogfood_battery": "n/a — no '!' in the PR title and Clause-② no without the (narrowing) arm",
      "mcp_calls": "2 since 7155188551 — reads only: pull_request_read get_comments (#37241), actions_list list_workflow_runs; plus send_message to the PM",
      "api_writes": "2 — PR #37241 body rewrite via post-stamped --body --ack-through=7155677032 (20354 bytes identical; the three newer PR comments, 7155496885, 7155664200 and 7155677032, were read and the L1's items carried into the body); this comment. git push x1 (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
    
  12. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Delivered (2026-11-25T08:53Z): PR #37241 merged (2026-11-25T08:46Z). This card was closed by its Fixes #37197.

    From 768 px up, /docs… draws in an app-less variant of the app shell, with no top bar:

    • the sidebar head is a neutral 「文档」 menu, listing the apps plus 「添加应用」 with none checked;
    • the docs tree is grouped by app, with 「全部文档」 as the first docs row in both docs sidebars (under 「← 返回应用」 in an app's sidebar);
    • the standing banners draw in the content area;
    • the accent is the default; no app is guessed, coloured or remembered.

    Every /docs URL is unchanged, and the phone frame is unchanged. The maintainer approved the design (7153085446). #37193's pending changeset was corrected under a DELIBERATE CORRECTION, confirmed by the seat's contract review 7156937229.

    Nothing left on this card; pm:dispatched removed.

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

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions