Repository navigation
Description
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Filing gate: ③ · Source: topic #37424 — parent decision 9 and the maintainer's pick 「按推荐启动」 of phase 1 with the top-bar tenants' homes (2026-11-26 05:57Z, quoted on #37451). Sub-issue of #37424 (phase 1, P1-3).
Grade: area:ux · Feature · p2 (takes the parent's grade) · evidence: the parent's decisions, mockups (#37424 comment 7181963746) and the current shell read on origin/main 7d50dc8.
Reader: area ux-37424 (seat repo:objectstack#5), an os-dev subagent or card thread after the blockers land.
Blocked-by: #37451
维护者速读
- 用户能看到什么变化:Studio 菜单第一项是「概览」,旁边显示待发布的数量。点进去是这个软件包的详情页,页头是名称、系统自带/可写、使用中/已停用,再加原来的「⋯」菜单。下面两个页签:「信息」(只读,技术字段收起)和「待发布」(原来顶栏上的发布面板搬到这里)。
- 为什么在第一阶段:顶栏要去掉,发布得先有新家,否则只能临时塞一个按钮。
- 不在这张卡:发布历史页签、页头动作重排、编辑信息——第二阶段的完整概览页再做。
- 需要你做的:无。
What
- A package overview page in Studio, reusing the item-detail header and tab frame (
ui/packages/app-shell/src/views/studio-design/StudioItemHeader.tsx). It reads through the package REST surface (packages/runtime/src/route-ledger.ts~546–598). ⛔ Nopackagemetadata type (decision 9). - Header: name, a 系统自带 or 可写 chip, a 使用中 or 已停用 chip, the description, and
StudioPackageMenumoved here as is (its items unchanged; disable / enable / delete keep pointing at Setup until question 1 on 专题:App Studio 改版(Studio 是开发软件包的入口:左右两栏、软件包切换和概览页、列表页按前端样式、专用色和新名字) #37424 is answered). - Tabs: Info (read-only business fields; id, namespace, type folded away) and Pending (the existing
DraftChangesPanel/ publish flow, unchanged behaviour, moved from the top bar). - Menu: 概览 is the first entry (
studioMenuModel.ts), with the pending count as a badge that opens the Pending tab. - Save semantics (epic 专题:Studio 的保存方式和用词(人工修改保存即生效,草稿加整包发布只留给 AI;设置页说业务话;页签和顶部导航重排) #36510, ruled 2026-11-22): a person's Save goes live at once; draft plus whole-package publish is for AI changes only. So the Pending tab and the 概览 badge count AI drafts, and the copy says so.
- The top-bar Publish button may stay until P1-5 removes the bar, so nothing is ever missing; P1-5 deletes it.
Acceptance
- Mockup 4 (
Overview.png) for the header and Info tab, within this card's scope. - Publishing from the Pending tab behaves exactly as from the top bar today (existing publish tests re-pointed, not weakened).
- A read-only (system-shipped) package shows the lock / read-only posture the existing rules give it.
Governing text: docs/adr/0084-application-builder-information-architecture.md as amended by #37451; docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md.
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Feature · priority:p2 ·
pm:blocked· size M; rationale: phase 1-3 of topic #37424, the slim package overview page. Grade follows the parent; blocked by #37451 (named on the card).objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Claim: PM loop round 2
Session:
session_01Utp6CbL6Nn3scsU8yvLyU4Account:
os-billBranch:
claude/issue-37454-studio-thin-package-overviewWorktree:
objectstack-issue-37454Domain:
domain:uiSeat:
repo:objectstack#5Area: ux-37424
File surface:
ui/packages/app-shell/src/views/studio-design/**(a new overview page,studioMenuModel.tsfor the 概览 first entry and its badge,StudioDesignSurface.tsxfor mounting the page and the Pending tab,StudioPackageMenu.tsxmoved into the overview header),ui/packages/app-shell/src/preview/DraftChangesPanel.tsx(only to embed it in a tab, no behaviour change), the Studio label strings in the app-shell / i18n locale packs, their tests, and one.changeset/*.md. ⛔ NotStudioMenu.tsx/studio-tokens.ts/studioAccent.ts/studioTitleRow.tsx(read only). ⛔ Not the top bar's removal (#37456): the top-bar Publish button stays until #37456. ⛔ Notmetadata-admin/PageShell.tsx(#37520). Stop on breach; explain in the report.Container & model:
M,mode:subagent,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7184468240
Premise: holds — read at origin/main
818615b92026-11-26T11:20Z. There is no package overview page and no 概览 menu entry.DraftChangesPanelandStudioPackageMenuare still mounted fromStudioDesignSurface.tsx. PR #37474 (#37455) merged 2026-11-26T11:20Z, and PR #37470 (#37451, the governing amendment) merged 2026-11-26T10:07Z.Governing text:
docs/adr/0084§ 概览 Overview#amendment-2026-11-26-overview, on main. It is binding for this card: the thin build is Info (read-only, technical fields folded away) plus Pending, with the ⋯ menu moved from the top bar with its six rows as they are today. Question 1 is ruled B (record 7187264388): disable, enable and delete stay in Setup and get no second home here, and "Manage in Setup" is a row. There is nopackagemetadata type. Pending counts the open package's drafts; the badge on 概览 is drawn only while something is pending.Serial constraints cleared: #37455 has merged. Open PR #37501 (OWD overview Save) touches Studio save code, not the overview, the menu model or the draft panel; whichever lands second rebases. #37520 (this area, same round) owns
PageShell.tsxand new test files only. #37456 waits for this card.Pre-claim lane:
domain:ui; every path is underui/packages.Pre-claim deps: the card's
Blocked-by: #37451is closed (merged).Prior rulings read: the amendment above; epic #36510 (a person's Save goes live, AI drafts publish per package); ADR-0146 D1 and D3; the maintainer's 「按推荐启动」; the Q1 = B record 7187264388.
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
os-dev-report
{ "issue": 37454, "status": "blocked", "branch": "claude/issue-37454-studio-thin-package-overview", "pr": "https://github.com/objectstack-ai/objectstack/pull/37546", "session": "session_01Utp6CbL6Nn3scsU8yvLyU4", "head": "06830bfe760deaf463432cb1934baaf99065f011", "premise_still_valid": true, "summary": "Shipped as a draft PR (Part of #37454). It adds the 概览 Overview page at /studio/PACKAGE/overview: StudioItemHeader with name, 系统自带(lock)/可写 and 使用中/已停用 chips from the package REST row, the description and the ⋯ StudioPackageMenu (six rows unchanged, moved off the top bar); a read-only 信息 Info tab with id/namespace/type folded; and a 待发布 Pending tab that is DraftChangesPanel drawn in place (new optional embedded and reloadKey props), wired prop for prop like the top bar's sheet. The top-bar Publish is unchanged. BLOCKED on one half: the menu's 概览 first row and pending badge must be drawn in StudioMenu.tsx, which the dispatch made read-only (#37520 runs in parallel there). I did not breach it. The model, address, labels and context move are in the PR, and the ready patch (git apply --check clean, typechecked) is saved at /mnt/project-files/objectstack-seat5/topic-37424/cards/shots-37454/studio-menu-overview-row.patch. The PR must not land before that row: with the ⋯ menu off the top bar, the overview and the menu are otherwise reachable only by address. The dispatch said Fixes; I wrote Part of because merging now would close the card with its menu-row criterion unmet.", "tests": "Head 06830bfe76. Focused: 6 files, 120 tests pass. Broad (cd ui && vitest run packages/app-shell/src/views/studio-design/ packages/app-shell/src/preview/ packages/i18n/ under os-verify-lock): 448 files pass, 4704 passed / 13 skipped, VERDICT command-exit 0. app-shell tsc --noEmit and tsc -p tsconfig.test.json: exit 0. New StudioPackageOverview-37454.test.tsx (14 tests). Re-pointed, not weakened: publishCount-11807 now runs every case from the top bar AND the Pending tab via describe.each; StudioPackageMenu-37139 now opens the menu from the overview header and asserts the top bar has none. Extended: DraftChangesPanel.posture-12517 (embedded describe with controls), studioMenuModel.test, studioAddress.test. Ablation through scripts/ablation-replace.mjs, six legs, all red: A1 Pending onPublish undefined -> 6 failed/24 passed; A2 embedded dismisses toasts -> 1 failed; A3 reloadKey dropped from deps -> 1 failed; A4 embedded branch off -> 1 failed; A5 read-only chip forced off -> 3 failed; A6 badge at zero -> 1 failed (studioMenuModel). Restore proven: git diff HEAD 0 bytes, blob == HEAD on all 4 files. No dist step: the subject resolves from src. Real browser: Playwright Chromium at dsf 2, light and dark, showcase (fresh, seeded) with 3 AI-style view drafts in com.example.showcase.custom. Shots in /mnt/project-files/objectstack-seat5/topic-37424/cards/shots-37454/ (info tab, technical open, ⋯ menu open, pending tab, both schemes, plus pending after publish). Clicking 全部发布 in the Pending tab sent POST /api/v1/packages/com.example.showcase.custom/publish-drafts; _drafts then read empty and the tab count disappeared. The mount adds a caBX (C2PA) PNG chunk; the IDAT data is identical. The menu row with its badge is NOT MEASURED (not in this PR).", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands derived 39 families for 19 paths; all 39 :: exit 0 (the 38 check/self-test commands plus pnpm --dir ui exec vitest run scripts/: 172 files passed | 2 skipped, 5130 tests passed, lock VERDICT command-exit 0). --ran reconciliation: '39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN ... a DERIVED zero'. check-platform-checklist --changed-from origin/main: OK, 2 anchors judged, 0 lost (outside the derived set). CI on PR #37546 at report time: in_progress (Type Check x4, Lint x7, Check Changeset, Check PR Size, PR-body guards); Governed Surface Queue Guard success; rest skipped. The repo-level test:repo project and the full farm are left to CI.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm (Clause-②: no)", "mcp_calls": "0", "api_writes": "2 relay strokes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/37546/assignees os-bill; read-back 10632 bytes identical) and the os-dev-report via post-stamped (POST /repos/objectstack-ai/objectstack/issues/37454/comments). git push (branch) is not REST.", "open_questions": [ { "question": "How does the menu's 概览 first row and pending badge land, given StudioMenu.tsx is read-only to this claim?", "options": [ "A: extend this claim's file surface to StudioMenu.tsx (sequenced after or beside #37520); I apply the saved patch on this branch, add its tests and switch the PR to Fixes #37454", "B: a separate card for the menu row only, merged alongside this PR (this PR must not merge first)", "C: put the ⋯ menu back in the top bar until the row lands, so this PR can merge alone (two homes for the menu for a while; departs from the ADR-0084 order)" ], "recommendation": "A, because the patch is small, ready and typechecked; the model and context it needs are already in this PR; and only the file assignment blocks it. B costs a second card and a merge-order coupling, and C ships a transient UI the ADR does not describe." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — mockup 4 reads a pair-aware source sentence (系统自带。不能直接修改,你的修改会单独保存…); this PR shows the row's own source value (代码。只读:不能直接修改。). A copy choice, not a defect.", "carrier: none · noted, not filed — mockup 4 shows a standalone 导出 button and a 发布历史 tab; neither is in the governing text of this card (export stays a ⋯ row)." ], "deviations": "Wrote Part of #37454 instead of the dispatch's Fixes #37454 because of the read-only menu file (see summary). The branch carries three wip commits (no squash; force-push not used)." }Generated by Claude Code
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Claim amendment (2026-11-26T12:36Z), answering the open question in the os-dev report 7192209474 (option A). The File surface gains
ui/packages/app-shell/src/views/studio-design/StudioMenu.tsx, for the 概览 first row and its pending badge only. That row is this card's menu criterion, and the governing text puts it there (docs/adr/0084#amendment-2026-11-26-overview). The claim marked the file read-only only to protect #37452's styling, and #37452 has merged. #37520 (PR #37542) does not touchStudioMenu.tsx, so nothing collides.studio-tokens.ts,studioAccent.ts,studioTitleRow.tsxandPageShell.tsxstay read-only. The PR returns toFixes #37454: the card closes when the row and the page land together.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
os-dev-report
{ "issue": 37454, "status": "done", "branch": "claude/issue-37454-studio-thin-package-overview", "pr": "https://github.com/objectstack-ai/objectstack/pull/37546", "session": "session_01Utp6CbL6Nn3scsU8yvLyU4", "head": "ad57b709e643fec2304f17ecb21efea8cf2bee5d", "premise_still_valid": true, "summary": "Patch round after claim amendment 7192233242 (option A). I recreated the worktree from the branch and merged origin/main once (merge f5cf4e9ddb, no rebase), then applied the saved patch to StudioMenu.tsx. A package's menu now starts with 概览, above the groups and under no group label. While drafts wait it shows their count as an amber badge, a sibling link that opens /overview?tab=pending. A search lists the row when its name matches, and ~org/~all draw no row. The browser showed the first icon cut (LayoutDashboard) looked the same as 应用's LayoutGrid, so the row now draws the package cube (Package), as in mockup 4. Together with the earlier page, header, Info and Pending work, every acceptance item is in. The PR body for Fixes #37454 is saved for the seat to PATCH at /mnt/project-files/objectstack-seat5/topic-37424/cards/pr-body-37546.md (12806 bytes; mount copy identical). I did not write the PR body: pr_create already spent it. Only StudioMenu.tsx was added to the surface; studio-tokens.ts, studioAccent.ts, studioTitleRow.tsx and PageShell.tsx are untouched.", "tests": "New StudioMenu.overview-37454.test.tsx (10 tests, real provider, sidebar and router). It pins: 概览 is the first link, above every group and under none, opens /overview, reads 概览 in zh, and is current on the overview including ?tab=pending; CONTROL: ~org and ~all draw no row; the badge reads 3 with aria-label '3 changes wait for a publish'; CONTROL: a ledger of 0 and an unknown (null) ledger draw no badge; a badge click lands on /overview?tab=pending and a row click lands on /overview; search 'over' lists the row and 'flow' does not. StudioMenu.test.tsx: the 常用 listing case now asserts 概览 leads before the 常用 types; its #37452 cases (chevrons, active pill, graphite accent rebinding) pass unchanged. Both files on ad57b709: 45 passed. Broad run (studio-design/, preview/, packages/i18n/) on 618c0cf1: 449 files passed, 4714 passed / 13 skipped, lock VERDICT command-exit 0. ad57b709 only swaps the icon import. app-shell tsc --noEmit exit 0 on ad57b709; tsc -p tsconfig.test.json exit 0 on 618c0cf1 (at 8 GB heap; the 4 GB run hit OOM). Ablation via scripts/ablation-replace.mjs on StudioMenu.tsx, all red: B1 row moved below the groups -> 1 failed/9 (first-row pin); B2 badge drawn whatever the count -> 2 failed/8 (both no-badge controls); B3 badge linked to the row's own address -> 1 failed/9 (badge-click pin). Restore proven: git diff HEAD 0 bytes, blob == HEAD. The model-level badge pin was ablated in round 1 (A6 red); round 1's A1-A5 stand as reported. Real browser: Chromium at dsf 2, light and dark, on a fresh seeded showcase with 3 AI-style view drafts in com.example.showcase.custom. In the menu the first links are studio-menu-entry-overview, studio-menu-overview-pending ('3', aria-label '3 项修改待发布', href /studio/com.example.showcase/overview?tab=pending), then type:object. A badge click lands on /studio/com.example.showcase/overview?tab=pending with data-tab=pending and 概览 aria-current=page. Styling from #37452 is unchanged: 5 group chevrons, and the current-row background reads rgba(53, 57, 64, 0.1) in light and rgba(208, 210, 216, 0.18) in dark on both the 流程 entry and the 概览 row. Six new shots are in /mnt/project-files/objectstack-seat5/topic-37424/cards/shots-37454/ (menu with 概览 first and badge, menu close-up, badge click landing on Pending; light and dark); after a 12 s wait the mount copies matched IHDR and IDAT hashes.", "gates": "On ad57b709: node scripts/pm/dispatch-gates.mjs --commands derived the same 39 families for 22 paths; all 39 exit 0 (38 check/self-test commands, plus pnpm --dir ui exec vitest run scripts/: 172 files passed | 2 skipped, 5130 tests passed, lock VERDICT command-exit 0). --ran: '39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN ... a DERIVED zero'. check-platform-checklist --changed-from origin/main: OK, 2 anchors judged, 0 lost. CI on PR #37546 at head ad57b709, read once: 45 completed success, 13 completed skipped, 0 other. Successes include Check Changeset, Check PR Size, Lint (ESLint, PM dispatch-gates, repo and tooling gates, docs and code guards, scoped families), Lint UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Governed Surface Queue Guard, and PR-body guards (run on the old Part-of body).", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm (Clause-②: no)", "mcp_calls": "0", "api_writes": "This round: 1, the os-dev-report via post-stamped (POST /repos/objectstack-ai/objectstack/issues/37454/comments). The PR body was not written; it is saved for the seat's PATCH. git push of 3 commits (merge f5cf4e9ddb, 618c0cf1, ad57b709) is not REST. Round 1: pr_create (POST pulls + POST issues/37546/assignees) and comment 7192209474.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — mockup 4 reads a pair-aware source sentence (系统自带。不能直接修改,你的修改会单独保存…); the Info tab shows the row's own source value (代码。只读:不能直接修改。). A copy choice, not a defect.", "carrier: none · noted, not filed — mockup 4 shows a standalone 导出 button and a 发布历史 tab; neither is in this card's governing text (export stays a ⋯ row)." ], "deviations": "The PR body still reads Part of #37454 on GitHub until the seat PATCHes the saved Fixes body: pr_create alone may write the body, per the contract and the coordinator's item 3. The broad suite ran on 618c0cf1, not on the final ad57b709, which only swaps one lucide icon import; the two menu test files and source tsc were rerun on ad57b709. The test-project tsc needed an 8 GB heap: the 4 GB run was OOM-killed." }Generated by Claude Code