Repository navigation
Description
repo:objectstack#3 · os-support-ai · session_01WGufzufqmKuir7GiTdwGd3Z
③ maintainer direct order (with ruling) · Source: maintainer (os-support-ai), 2026-11-24, bug-discussion thread.
- 03:07Z: 「现在软件包的列表在 /studio ,但是这个页面没有入口,也没有必要,设置中应该有一个软家包列表,管理员点开之后可以停用删除软件包什么的」 (the package list lives in Studio with no visible door; Setup should have a package list where an administrator can disable / delete packages).
- 03:12Z, decision card 「设置里加回软件包列表,推翻 10-21 的甲裁决吗?」 → 「设置加列表,只给管理操作」: Setup gets a "软件包" entry showing every package with enable / disable and delete; publish and revert stay in Studio only (create: see the next line).
- 03:12Z, follow-up: 「软件包创建应该也可以把,创建了空包可以进 studio设计?」 → creating a package is offered in Setup too; after creating an empty package the user lands in Studio to design it.
- 03:16Z, decision card 「设置里'软件包'和'已安装应用'合成一个入口吗?」 → 「合并,只留软件包」: Setup has ONE entry, 软件包 (unfiltered); the "已安装应用" / Installed Apps menu item (
?source=marketplace) goes; seeing only marketplace packages is done with a source filter on the page.
This amends ruling 甲 (#25098, maintainer 2026-10-21 「二、软件包列表挪到 Studio ;甲」, landed by PR #29547), which removed Setup's unfiltered nav_packages because the full list "is a development surface". The new ruling keeps that intent by giving Setup the administration face only.
Grading: area:ux · Feature · shell and navigation (an administrator cannot find where to disable or delete a package) · administrators, often · evidence: read from code. Maintainer-sourced UX Feature ⇒ p2. Area is ux (the lifecycle actions exist and work; the door is missing), not area:package.
Dedupe: gh api search/issues on setup packages entry, packages list setup, nav_packages, developer:packages setup (closed included). Only hit on the same mechanism: #25098 (closed, the ruling this amends). No open card.
Reader: seat objectstack#3 (area:ux), one dev card. Paths on main 14f4d8f.
Today
- The page
developer:packages(ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx, registered inui/packages/app-shell/src/services/builtinComponents.tsx) already has every lifecycle action: enable / disable (toggleEnable,POST /api/v1/packages/:id/enable|disable), delete with an optional keep-data mode (deleteApp,DELETE /api/v1/packages/:id[?keepData=true]), plus authoring actions: create, import, publish drafts, revert, discard drafts, adopt orphaned metadata, manifest edit. - Its route is already under Setup's address (
/apps/setup/component/developer/packages,STUDIO_ALL_PACKAGES_PATHinui/packages/app-shell/src/views/studio-design/BuilderLanding.tsx), but Setup's menu has no entry:packages/platform-objects/src/apps/setup-nav.contributions.ts(comment block "No unfiltered Packages entry (Setup → Packages moves to Studio: drop Setup's nav_packages; Studio keeps the full list, Setup keeps the marketplace "Installed Apps" door (ruling 甲, amends #23892 B) #25098, ruling 甲 …)"), pinned bypackages/platform-objects/src/apps/setup-packages-door.test.ts. - The only doors: Studio landing's "All packages" link and a package card's Manage; Studio's own
nav_packagesinpackages/platform-objects/src/apps/studio.app.ts(served only where a host loads that app). Setup's "Installed Apps" (nav_marketplace_installed, contributed by@objectstack/cloud-connection) lists marketplace packages only and exists only with the marketplace capability.
Change
- Setup menu: add a "软件包" / "Packages" entry in
group_apps(setup-nav contributions), opening the package list for administrators. Restate the pins insetup-packages-door.test.tsfor the new shape (do not loosen: Setup carries the administration face, Studio keeps its own door), and the nav i18n catalogs (en,zh-CN,ja-JP,es-ES) withcheck-app-nav-i18n. - Administration face of the same page, not a second page. Opened from Setup, the list shows every package (all sources) and its detail, with: create (the existing
CreatePackageDialog), enable / disable, delete (keeping the existing keep-data choice and confirm). After a successful create, go straight into Studio scoped to the new package (todayonCreatedonly reloads the list,PackagesPage.tsx~line 2295); reuse the path the Studio landing's package card / switcher already opens, no new route. Import, publish, revert, discard drafts, adopt orphans and manifest edit are not offered there; an authored package's row may link "在 Studio 中打开" for those. How the face is selected (a navigationparamsvalue on the existing component ref, like the existingsourcefilter, or the host app) is the dev's choice; name it in the PR. No new named page, widget or hook. - Studio is unchanged: its "All packages" link and package detail keep the full action set.
- Server-side permission gates on the package routes stay as they are; the Setup entry is shown to whoever Setup's other administration entries are shown to (follow the existing gate pattern in setup-nav contributions; state which one in the PR).
- Update the code comments that cite ruling 甲 as the reason Setup has no entry (setup-nav contributions,
BuilderLanding.tsxnearSTUDIO_ALL_PACKAGES_PATH), citing this card. - Retire the Installed Apps menu item (ruling 03:16Z):
nav_marketplace_installedinMARKETPLACE_INSTALLED_UI_BUNDLE(packages/cloud-connection/src/marketplace-ui.ts, registered bymarketplace-install-local-plugin.ts), with its pins (marketplace-installed-ui-entry.pin.test.ts,check-app-nav-i18n.mjs,check-page-declaration-shape.mjs,packages/qa/dogfood/test/platform-app-object-entry-views.test.ts) restated, not loosened. A bookmarked?source=marketplaceURL keeps working (the page still readssource). Cloud half: hosted tenants register this bundle too (cloud PR feat(spec)!: prune dead ReportColumnSchema/ReportGroupingSchema exports + unread report chart groupBy (#3463) #3488, see Setup → Packages moves to Studio: drop Setup's nav_packages; Studio keeps the full list, Setup keeps the marketplace "Installed Apps" door (ruling 甲, amends #23892 B) #25098 comment 6578611089), so keep the export importable (a bundle without the nav item) or coordinate; the seat decides whether a cloud follow-up card is owed. - Add a source filter control to the page. Today
sourceis read only from the URL (readSourceFilter,PackagesPage.tsx~line 1690) and the only control is a "show all" chip that clears it; there is no picker. Add one (all / code / marketplace / authored, same values asPACKAGE_SOURCESinpackageSource.ts), writing the same?source=param. - Reuse the existing administrator view. The
source=marketplaceview (installedAppsView, ~line 1810) is already an administration face: one line per installed app with modules folded under it, columns Name / Version / Status / Source / Update, and none of the developer doors (Import, New Package, platform switch). Build the Setup face from it, extended to every source, plus New Package (item 2), rather than hiding buttons on the developer face.
Metadata-protocol: none (navigation and console only). Changeset patch for @objectstack/platform-objects, @objectstack/cloud-connection and the console package(s) touched.
Acceptance
- As an administrator in Setup → Apps, "软件包" is visible and opens the list of all packages; disable then enable a package, and delete one (both keep-data and full), each with feedback.
- From Setup, "新建软件包" creates an empty package and lands in Studio on that package, ready to design.
- From Setup, no import / publish / revert / discard / adopt / manifest-edit control is reachable on the list or the detail.
- Setup shows no "已安装应用" item; the page's source filter narrows the list to marketplace packages; an old
?source=marketplacelink still opens filtered. - From Studio, the full action set is unchanged.
- Updated pins and nav i18n checks green; zh screenshots of the Setup list and detail in the PR body.
Activity
[-]设置里加回「软件包」列表(管理面:新建、启用/停用、删除;新建后直接进 Studio 设计),修订甲裁决[/-][+]设置里只留一个「软件包」入口(管理面:新建、启用/停用、删除,新建后进 Studio;并入「已安装应用」),修订甲裁决[/+]objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: lands in
area:ux·domain:ui·priority:p2· Feature ·pm:queue· size M. The area, grade and type were set at filing, and they stay. This touch adds the pm state.Rationale: this is a maintainer-sourced UX Feature (rulings of 03:12 and 03:16 amending ruling 甲 of #25098), so it is p2. Item 6 has a cloud half, because the hosted tenants register
MARKETPLACE_INSTALLED_UI_BUNDLE(cloud PR #3488). Whether a cloud follow-up card is owed is the claiming seat's call, as the card says.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzhpykmQZe1yMupC2CU
Claim: PM loop round 1
Session:
session_01WGufzhpykmQZe1yMupC2CUAccount:
os-support-aiBranch:
claude/issue-36834-setup-packages-entryWorktree:
objectstack-issue-36834Domain:
domain:uiSeat:
repo:objectstack#3Area: ux-A
File surface: Setup nav (
packages/platform-objects/src/apps/setup-nav.contributions.ts,setup-packages-door.test.ts, the nav i18n catalogsen/zh-CN/ja-JP/es-ES); the package list's administration face (ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx,packageSource.ts, the create → Studio hop, theBuilderLanding.tsxcomment nearSTUDIO_ALL_PACKAGES_PATH); the Installed Apps retirement (packages/cloud-connection/src/marketplace-ui.ts,marketplace-install-local-plugin.ts,marketplace-installed-ui-entry.pin.test.ts,scripts/check-app-nav-i18n.mjs,scripts/check-page-declaration-shape.mjs,packages/qa/dogfood/test/platform-app-object-entry-views.test.ts); console strings inui/packages/i18n/**; their tests; changeset (stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate",effort: highClause-②: no
Metadata-protocol: none
Responsibility:
platform code in objectstack (Setup nav has no Packages entry since #25098 ruling 甲 / PR #29547; Installed Apps is marketplace-only) | none: the lifecycle actions exist only behind Studio's "All packages" link and package card | every administrator who must disable, delete or create a packageThread-read: 7121346649
Premise: holds, read on origin/main 7a5ae65: no Packages entry in
setup-nav.contributions.ts(the "No unfiltered Packages entry (#25098, ruling 甲 …)" block);PackagesPage.tsxcarries the lifecycle actions andinstalledAppsViewforsource=marketplace;nav_marketplace_installedlives inMARKETPLACE_INSTALLED_UI_BUNDLEMaintainer order: the card is the maintainer's direct order with rulings, 2026-11-24 03:07Z / 03:12Z 「设置加列表,只给管理操作」 / 03:12Z create → Studio / 03:16Z 「合并,只留软件包」 (amends ruling 甲 of #25098).
pm:queueby triage 7121346649Scope: items 1–8 as filed. Keep
MARKETPLACE_INSTALLED_UI_BUNDLEexported and importable (a bundle without the nav item): hosted tenants register it (cloud PR #3488, #25098 comment 6578611089). The dev reports every in-repo reader ofnav_marketplace_installed; whether a cloud follow-up card is owed is the seat's callPre-claim lane: repo:objectstack seat 3 area ux-A (Setup / package navigation; area:ux, routed here by the seat 03:14Z / 03:17Z)
Pre-claim deps: none named
Prior rulings read: #25098 ruling 甲 (2026-10-21, landed by PR #29547), amended by this card's 03:12Z and 03:16Z rulings; the card's own body carries them verbatim
Serial constraints cleared: the only open PR on these paths is #34223 (draft since 2026-11-19, area S3), on
setup-nav.contributions.tsaroundnav_settings_knowledgein the system settings group, a different region fromgroup_apps. Overlap-check before each pushos-support-ai commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzufqmKuir7GiTdwGd3Z
Note · 2026-11-24T08:1xZ (maintainer, bug-discussion thread; decision card 06:36Z 「全部按建议」). Scope unchanged; two pointers from the new Studio epic #36890:
/studiopackage cards) will be removed by Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 after this card merges (decision 9). Item 3 here ("Studio is unchanged: its 'All packages' link…") holds until then; Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 moves those doors.Generated by Claude Code
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzhpykmQZe1yMupC2CU
os-dev-report
{ "issue": 36834, "status": "done", "branch": "claude/issue-36834-setup-packages-entry", "pr": "https://github.com/objectstack-ai/objectstack/pull/36933", "session": "session_01WGufzhpykmQZe1yMupC2CU", "premise_still_valid": true, "summary": "Setup now ships one entry, nav_packages in group_apps. It is unfiltered and gated on manage_platform_settings, the Setup admin pattern used by nav_settings_hub and Public Forms. It opens developer:packages with params {face:'admin'}, i.e. the URL ?face=admin; that URL parameter is the face selector. On that face, PackagesPage (built from the old installedAppsView) lists every source with modules folded and platform packages hidden. It has an All/Code/Marketplace/Authored filter that writes ?source=, and its only header action is New Package, which lands at /studio/ID/data, BuilderLanding's open path. The detail sheet offers View info, Disable/Enable, Delete with the keep-data choice, and 'Open in Studio' for authored packages; import/edit/publish/revert/export/duplicate/adopt and the drafts' publish/discard are hidden. A legacy ?source=marketplace with no face reads as the admin face. An unknown or repeated face is refused by name. With no face, Studio's page is unchanged. MARKETPLACE_INSTALLED_UI_BUNDLE keeps its id and stays exported with navigationContributions: [] (the remaining bundle is EMPTY: no pages, no contributions). nav_marketplace_installed is removed from the 11 Setup locales and 10 source-hash files and added to the dead-key tombstone. The comments citing ruling 甲 are updated. In-repo readers of nav_marketplace_installed: cloud-connection marketplace-ui.ts (removed); marketplace-installed-ui-entry.pin.test.ts (restated as an absence pin); the setup-nav.contributions.ts comment (rewritten); 11 locale files and 10 source-hash files (replaced); setup-nav-dead-key-tombstone.test.ts (added as dead); cloud-connection and platform-objects CHANGELOG.md (release-owned, untouched); docs/qa/platform-checklist/areas/platform-core.json about lines 2393/2404/2441 (stale text, untouched, outside the claim surface). Readers of MARKETPLACE_INSTALLED_UI_BUNDLE are unchanged and still compile: packages/cli/scripts/check-app-nav-i18n.mjs, packages/qa/dogfood/test/platform-app-object-entry-views.test.ts, and the index export. File-surface breach, declared: the claim names the en/zh-CN/ja-JP/es-ES catalogs, but the key also had to change in ar/de/fr/ko/pt-BR/ru/zh-Hant and in all 10 *.source-hashes.ts files, plus setup-nav-dead-key-tombstone.test.ts and setup-packaged-actions-nav.test.ts. Reason: check:app-nav-i18n requires every merged Setup nav id to be labelled in every locale, and a retired key left in 7 locales would be a dead key. I did not stop on this breach. It is the same mechanical key swap and is named in the PR. Remote head: claude/issue-36834-setup-packages-entry @ bb10cd3592c933976afcce1838e24b5d1f984122.", "tests": "All on head bb10cd3592. platform-objects pnpm test: 125 files / 2138 tests passed, typecheck passed. cloud-connection pnpm test: Test Files 94 passed (94), Tests 1359 passed (1359), lock VERDICT command-exit 0; typecheck passed. UI vitest over metadata-admin/PackagesPage* and studio-design/BuilderLanding*: Test Files 33 passed (33), Tests 284 passed (284), VERDICT command-exit 0. @object-ui/i18n tests: 109 files passed. type-check passed for app-shell and i18n. Ablation: after commit, `const authoring = face !== 'admin';` was replaced with `const authoring = true;` via scripts/ablation-replace.mjs, with an anchor-hit check and a trap restore; the admin-sheet test went red (1 failed | 30 skipped, VERDICT command-exit 1). After restore, the blob equalled HEAD (2a1fd52c8468) and git diff HEAD was empty. Live dogfood on app-showcase as admin (Vite console on the ui/ source, Playwright, zh-CN): /api/v1/meta/app?id=setup serves exactly one nav_packages {params:{face:admin}, requiredPermissions:[manage_platform_settings]} and 0 nav_marketplace_installed; the sidebar shows 应用 → 软件包 and 浏览应用市场, no 已安装应用; the list shows every source (代码, 自建), 新建软件包 and no 导入; the filter writes &source=marketplace|code|authored and All clears it; the legacy ?source=marketplace opens the admin face with the marketplace chip on; New Package lands at /studio/com.default.field-service/data with toast 已创建软件包「Field Service」; the authored sheet shows exactly 查看信息/禁用/删除软件包/关闭 plus 在 Studio 中打开 → /studio/ID/data; disable gives 软件包已禁用。 and enable gives 软件包已启用。; DELETE ...?keepData=true → 200 and DELETE (full) → 200, each row removed; Studio's 全部软件包 opens with no face, no picker, 导入 present, and the full sheet (编辑/发布/还原/导出/复制/收编散落项...). zh screenshots are in /mnt/project-files/issue-36834/ (setup-packages-list-zh.png, setup-packages-detail-zh.png and 6 more).", "gates": "Local union on bb10cd3592: node scripts/pm/dispatch-gates.mjs --commands derived 78 families; all 77 command families plus `pnpm --dir ui exec vitest run scripts/` (Test Files 172 passed | 2 skipped; Tests 5127 passed; VERDICT command-exit 0) exited 0. --ran reconciliation: exit 0, '78 derived famil(ies) accounted for — 78 run, 0 NOT-MEASURED (a DERIVED zero — all 78 recorded an exit code and none of them is 3)'. Retries: check:type-check-debt first returned queue-timeout 99 (a sibling held the lock), and the rerun under slot issue-36834 exited 0. check:dual-build-cjs-loads was red on an earlier pass because the local @objectstack/organizations dist (outside the diff) was half-built; after rebuilding it, it exited 0 (124 entry points). check:i18n first exited 3 (CLI not built); it exited 0 after the build. check:test-source-alias exited 1 on the 13356 test; it exited 0 after the module-top imports in bb10cd3592. overlap-check before the PR: VERDICT clean exit 0 against origin/main 4f19091997 and 4 PR heads. CI check-runs at report time: Check PR Size success, Governed Surface Queue Guard success, filter success; Lint (8 lanes), Type Check (4 lanes), Check Changeset and PR-body guards in_progress; Build Core, Build UI Deps, Plan Test Core/UI shards, Live E2E UI and Dogfood Regression Gate queued. That is in_progress, not awaited.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm (Clause-②: no)", "mcp_calls": "0", "api_writes": "2 — fleet-write relay pr_create (POST repos/objectstack-ai/objectstack/pulls → #36933, draft, assignees os-support-ai); post-stamped.mjs issue comment (POST repos/objectstack-ai/objectstack/issues/36834/comments, os-dev-report). git push (not REST) for the branch.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — docs/qa/platform-checklist/areas/platform-core.json (about lines 2393, 2404, 2441) still describes the retired Setup 'Installed Apps' entry (nav_marketplace_installed); a stale checklist text outside this card's file surface (open PR #34223 also edits that file); in PR Acceptance notes. dedupe words: platform-checklist, Installed Apps, nav_marketplace_installed, platform-core.json", "carrier: cloud · noted, not filed — cloud's import of MARKETPLACE_INSTALLED_UI_BUNDLE (cloud PR #3488) keeps compiling, but the bundle now contributes nothing; whether cloud drops the import is the seat's/cloud's call." ], "deviations": "(1) The first push of the branch happened before overlap-check ran (shallow clone, exit 3; fixed by deepening). The alias-fix push bb10cd3592 went without its own overlap-check; the overlap-check before the PR on that same head is clean. (2) File-surface breach, as described in the summary: the 7 extra locale catalogs, the 10 source-hash files and two adjacent pin tests. (3) Delete's feedback is the sheet closing and the row leaving the list, as before on both faces; no new success notice was added. Disable and Enable show inline notices." }Generated by Claude Code
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzhpykmQZe1yMupC2CU
os-dev-report
Fix round 1 on #36933, new head
35bdb5bacf(wasbb10cd3592).packages/cli/test/connect-agent-both-halves-wire.pin.test.tsbecause this composition has no marketplace. On main,group_appswas empty there and collapsed. The new Setup Packages entry makes the group served again. A probe of the served Setup tree read 37 ids, and the two new ones aregroup_appsandnav_packages.group_appschildren equal['nav_packages']. The contribution count in the comment's arithmetic now reads 29, measured fromSETUP_NAV_CONTRIBUTIONS. It already read one low before this card.packages/cli/testandpackages/qafor other hard-coded Setup nav counts or id lists. No other file pinsgroup_appsor a Setup tree count. The three sibling Setup pins (setup-diagnostics-audience,setup-integrations-order,setup-landing-audience) pass unchanged.packages/qa/dogfood/test/platform-app-object-entry-views.test.tsonly requires that cloud-connection lands at least one Setup id, which the Browse entry still does.@objectstack/platform-objectstests: 125 files and 2138 tests passed, VERDICT command-exit 0. The derived family the change adds,check:cli-test-child-env, exited 0, as didcheck:test-source-alias,check-nul-bytesand the CLI tier-partition pin (22 tests).git merge-treeexit 1 against origin/main). Main merges this branch cleanly. The seat should sequence the two PRs.Generated by Claude Code
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#3 · os-support-ai · session_01WGufzhpykmQZe1yMupC2CU
Close-out · 2026-11-24T11:26Z · PR #36933 merged as c8d4b90 (L1 ACCEPT 7129393606; landing 7129410598); this card closed by
Fixes.pm:dispatchedremoved. Follow-ups requested from triage by the seat (#36743 7128073202): the cloud card that drops the now-emptyMARKETPLACE_INSTALLED_UI_BUNDLEimport (cloud PR #3488), and the stale Installed Apps text indocs/qa/platform-checklist/areas/platform-core.json. Remaining nits as recorded on the PR (L1 N1 停用/禁用 wording; N3 #34223 re-counts the cli Setup pin). Screenshots: project filesissue-36834/.