You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workbench MVP: declare the platform built-in app com.objectstack.workbench (menu 首页 / 任务 / 备忘 / 审批) and register it in the framework assembly roots #39882
Parent: #39871. Cloud registration is its own card (see the epic).
What to build
The app, declared like Account (packages/apps/account/src/index.ts:27-64, packages/platform-objects/src/apps/account.app.ts): scope: 'system', protection.lock: 'full', no requiredPermissions. isPlatformBuiltinApp (ui/packages/app-shell/src/utils/platformApp.ts:24) already treats com.objectstack.* as built-in.
Menu, phase 1 (the existing app shell draws it; no bespoke frame):
首页 — a type: 'component' nav item (Account's precedent, account.app.ts:71-77) that mounts the home page of the home card.
任务 — sys_task views assigned_to_me / created_by_me / all (packages/platform-objects/src/work/sys-task.object.ts:63-100).
备忘 — sys_notemine / all (work/sys-note.object.ts:44-61).
审批 — the approvals inbox component (approvals:inbox).
Not in the menu: 通知 (the sidebar bell and its 「查看全部」 own it) and AI 对话 (the 「问 AI」 drawer, objectstack#34608).
Registration in every framework assembly root that registers platform apps today (packages/cli/src/commands/serve.ts:4774-4777 and its siblings), so os dev, os serve and the examples all carry it.
The workbench may be recorded as the person's last app (ui.app.last) like any app — the maintainer ruled this fine on 2026-12-06.
It cannot be hidden by a permission set: /me/apps keeps it for every signed-in user.
Acceptance
A fresh os dev environment lists 工作台 among its apps; its four menu items open the platform's own views.
Uninstall and Studio edit are refused (protection.lock: 'full').
A permission set cannot hide it; a test pins this.
Claim: PM loop · 2026-12-06T09:44Z
Session: session_01Q4EjjQzFqHGjUAXt8kBQhV
Thread session: session_01Q4EjjQUpXQxLLpg5wLVEGx
Account: hotlong
Branch: claude/project-thread-5ywu7k (from objectstack origin/main4064fb6)
Worktree: objectstack-issue-39882
Domain: domain:ui
Seat: repo:cloud@hotlong (scope extended for the eight phase-1 cards of #39871 by the account owner, ruling A, comment 7455301888)
File surface: packages/apps/workbench/ (reason: the new app package, one app per package as Account), packages/platform-objects/src/apps/workbench.app.ts, packages/platform-objects/scripts/i18n-extract.config.ts, packages/cli/src/commands/serve.ts, packages/plugins/plugin-dev/src/dev-plugin.ts, packages/plugins/plugin-dev/vitest.config.ts, packages/plugins/plugin-security/src/objects/default-permission-sets.ts, packages/qa/dogfood/vitest.config.ts, pnpm-lock.yaml (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default (no path-derived mandate expected; a packages/spec/src/** touch stops the thread), effort: high (reason: maintainer standing order 2026-11-27 13:03Z, dispatched threads run at high)
Clause-②: no
Metadata-protocol: none
Responsibility: the platform declares and registers its own built-in apps (Account precedent) | every environment's entry point for the phase-1 workbench | #39872, #39883, #39885 and cloud#5486 build on this declaration
Thread-read: none
Premise: holds (no com.objectstack.workbench on main at 4064fb6; Account's declaration and registration sites exist as the card cites)
Serial constraints cleared: none (first card of the epic's MVP)
Resume-from: none
Maintainer ruling — the workbench is not a kernel package (2026-12-06T09:57Z)
Who / where: the maintainer (account owner), on a decision card in the project thread of this card, 2026-12-06 (~09:55Z), option 「可改可隐藏,不给停用」. It supersedes his earlier pick that same morning (「第一期锁定,后面再开放」).
Reading, built to by this card: a booted platform app, manifest scope project, no protection lock, customizable through its ADR-0146 .custom pair, visible to all by default and hideable by a permission set for some or all people; no disable switch. It stays uninstallable-in-fact only because every booted code package is read-only (isWritablePackage); that is not a promise.
This card's text is superseded where it says otherwise:
What to build, item 1 (scope: 'system', protection.lock: 'full'): now scope project, no lock, customizable through the .custom pair.
What to build, item 5 (cannot be hidden, /me/apps keeps it): now a permission set may hide it, with no exemption.
Acceptance, "Uninstall and Studio edit are refused" → an admin can change its menu through the .custom pair, measured on a booted code-package app.
Knock-ons: #39872/#39885 are told. cloud#5486 is unaffected. #39891 no longer needs a lock-exception ruling. Spec touch: PLATFORM_PROVIDED_APP_NAMES gains workbench, which owes L2 at CONTRACT_REVIEW_TIER. The seat runs it.
Option chosen (card text): 「照设置/账户的先例,写清即可」, i.e. follow the Setup/Account precedent and state the collision clearly.
Reading: the workbench takes the namespace and bare app name workbench in every stock environment, the same way setup and account do. That stays Clause-②: yes (widening) / Metadata-protocol: added, not a narrowing. The changeset, the PR body and the docs row must state the collision (a stack's own package with namespace workbench, or its own app named workbench, collides at install or boot and on bare reads) and the remedy (rename it). No in-tree or known customer stack uses the name.
Activity
objectstack-fleet commentedon Dec 6, 2026
repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV
Claim: PM loop · 2026-12-06T09:44Z
Session:
session_01Q4EjjQzFqHGjUAXt8kBQhVThread session:
session_01Q4EjjQUpXQxLLpg5wLVEGxAccount:
hotlongBranch:
claude/project-thread-5ywu7k(from objectstackorigin/main4064fb6)Worktree:
objectstack-issue-39882Domain:
domain:uiSeat:
repo:cloud@hotlong(scope extended for the eight phase-1 cards of #39871 by the account owner, ruling A, comment 7455301888)File surface:
packages/apps/workbench/(reason: the new app package, one app per package as Account),packages/platform-objects/src/apps/workbench.app.ts,packages/platform-objects/scripts/i18n-extract.config.ts,packages/cli/src/commands/serve.ts,packages/plugins/plugin-dev/src/dev-plugin.ts,packages/plugins/plugin-dev/vitest.config.ts,packages/plugins/plugin-security/src/objects/default-permission-sets.ts,packages/qa/dogfood/vitest.config.ts,pnpm-lock.yaml(stop on breach; explain in the report)Container & model: M, mode:thread, model: default (no path-derived mandate expected; a
packages/spec/src/**touch stops the thread), effort: high (reason: maintainer standing order 2026-11-27 13:03Z, dispatched threads run at high)Clause-②: no
Metadata-protocol: none
Responsibility: the platform declares and registers its own built-in apps (Account precedent) | every environment's entry point for the phase-1 workbench | #39872, #39883, #39885 and cloud#5486 build on this declaration
Thread-read: none
Premise: holds (no
com.objectstack.workbenchon main at 4064fb6; Account's declaration and registration sites exist as the card cites)Serial constraints cleared: none (first card of the epic's MVP)
Resume-from: none
Order: project file
pm-orders/objectstack/seat-cloud-hotlong/order-39882.md.objectstack-fleet commentedon Dec 6, 2026
repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV
Maintainer ruling — the workbench is not a kernel package (2026-12-06T09:57Z)
project, noprotectionlock, customizable through its ADR-0146.custompair, visible to all by default and hideable by a permission set for some or all people; no disable switch. It stays uninstallable-in-fact only because every booted code package is read-only (isWritablePackage); that is not a promise.This card's text is superseded where it says otherwise:
scope: 'system',protection.lock: 'full'): now scopeproject, no lock, customizable through the.custompair./me/appskeeps it): now a permission set may hide it, with no exemption..custompair, measured on a booted code-package app.Knock-ons: #39872/#39885 are told. cloud#5486 is unaffected. #39891 no longer needs a lock-exception ruling. Spec touch:
PLATFORM_PROVIDED_APP_NAMESgainsworkbench, which owes L2 atCONTRACT_REVIEW_TIER. The seat runs it.objectstack-fleet commentedon Dec 6, 2026
repo:cloud@hotlong · hotlong · session_01Q4EjjQzFqHGjUAXt8kBQhV
Maintainer ruling — a built-in occupying the name
workbenchships as a widening (2026-12-06T10:52Z)workbenchin every stock environment, the same waysetupandaccountdo. That staysClause-②: yes (widening)/Metadata-protocol: added, not a narrowing. The changeset, the PR body and the docs row must state the collision (a stack's own package with namespaceworkbench, or its own app namedworkbench, collides at install or boot and on bare reads) and the remedy (rename it). No in-tree or known customer stack uses the name.