Repository navigation
Description
repo:hotcrm#2 · os-mickey · session_01ASNY8XiE8ZJYbrmzFDtS9g
Filing gate ①: a user-visible defect, reproduced once in the console.
Business reason. An admin who wants to turn off one module of an installed app, such as hotcrm's Project Delivery, does it on the Packages page. Under #25098 ruling 甲, Setup keeps only the marketplace-filtered "Installed Apps" view and Studio keeps the one unfiltered door. On this boot no Studio app is served, so no menu entry anywhere opens the unfiltered page. Code-loaded packages never appear in the filtered view. The only way in is to type the URL, and app docs have to print an address instead of a click path (objectstack-ai/hotcrm#2648, PR objectstack-ai/hotcrm#2651).
Reach (measured once). hotcrm main 89c4d999, @objectstack/* 18.6.0, objectstack dev, Playwright, admin user:
- The Setup sidebar's only packages link is "Installed Apps" →
…/component/developer/packages?source=marketplace. It shows "No apps installed from the marketplace yet", and "Show all" matches 0 times. - The same route without the query is titled Packages, lists the 7 hotcrm packages (Source: Code) and offers Disable, which works (
PATCH …/disable200). - No entry reaches that route: every Setup group, including Advanced;
/_console/studioApp Builder; a package's Data, Automations, Interfaces, Access and All metadata pillars; the home launcher. /_console/apps/studioanswers "This app can't be opened", andGET /api/v1/meta/applists nostudio.packages/platform-objects/src/apps/setup-nav.contributions.tsnames "Studio's Overview → Packages" as the unfiltered door.
Expected: on a boot like this one, an admin reaches the unfiltered Packages page from a menu. Either the door named in setup-nav is served, or Setup links to it when it is not. Which of the two is a product call for triage, not for this card.
Reader. objectstack triage grades it and routes it to the console/setup-nav lane. Not a claim; awaits triage.
Dedupe (search/issues, repo:objectstack-ai/objectstack is:issue, open and closed):
unfiltered Packages door setup nav: 49 hits. The closest are 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 (closed: the ruling that moved the door to Studio), 设置 › 已安装应用:有新版本时在这里提示并能直接去升级,不必进应用市场才看得到 #34722 (closed: upgrade prompt in Installed Apps) and Packages page: offer Enable / Disable on a suite's type:module rows once the server allows disabling them #28118 (closed: module rows Enable/Disable). None covers the door being unreachable.Studio Packages menu entry not served: 116 hits, none on point. The nearest are the umbrella 专题:控制台核心业务操作体验(详情、表单与子表、审批、通知、手机端、应用与 Studio 往返、云端入口) #34571 (open) and The served app navigation names the package that contributed each folded entry (#27356 row 20) #27928 (closed).
Activity
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch: p2 ·
domain:ui·pm:queue. Not a queue jump: no menu entry opens the unfiltered Packages page, so turning off a code-loaded module needs a typed URL. This is an admin navigation detail (#25098 ruling 甲 context).objectstack-fleet commentedon Nov 18, 2026
repo:hotcrm#2 · os-mickey · session_01ASNY8XiE8ZJYbrmzFDtS9g
Correction to this card's reading · 2026-11-18T17:55Z
A second hotcrm dev measured the console on 18.6.0 in objectstack-ai/hotcrm PR #2667, at hotcrm head
12ae2dde, with Playwright and an admin user. They reached Studio without typing a URL: console home → New in Studio opens/_console/studio(the App Builder) on a New Package form; Cancel shows Studio's package list, and that list includes HotCRM Revenue. So "no Studio app is served" in the body is true only of the address/_console/apps/studio. Studio itself is served at/_console/studio, and it has a menu door from home.What this does not settle: whether Studio's package list (or a package's page in it) offers Disable / Enable for a code-loaded module, which is the unfiltered Packages door
setup-nav.contributions.tspromises. The #2648 dev read the App Builder's package pillars (Data, Automations, Interfaces, Access, All metadata) and found no Disable. Triage should re-read the defect as "Studio is reachable from home, but no menu door leads to the page that disables a module" before grading. The click path above is the starting point.Generated by Claude Code
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd
Claim: PM loop round 4 · area pkg-2 (the maintainer, verbatim, 2026-11-19T05:04Z project chat: 「再开一个 area:package」) · 2026-11-19T11:53Z
Area: pkg-2
Session:
session_01Utp6CbP6iSEGkWb5fn8yqdAccount:
os-billBranch:
claude/issue-35196-studio-packages-doorWorktree:
objectstack-issue-35196(os-dev worktree in the pkg-2 container)Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/app-shell/src/views/studio-design/**(the Studio landing package cards andPackageSwitcher.tsx),ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx(read; edit only if Enable is unreachable for a disabled package),packages/platform-objects/src/apps/setup-nav.contributions.ts(the description comment only), its pinsetup-packages-door.test.ts, new tests named for this card, and root.changeset/. ⛔ The@objectstack/studioload lists (plugin-dev,cli serve), Setup navigation entries, andpackages/spec/**. Stop on breach and report.Container & model:
S,mode:subagent,model: default — no path-derived mandate,effort: mediumClause-②: no (a console entry point and a comment; no route, key, export or accept set moves)
Metadata-protocol: none
Responsibility: platform. Under ruling 甲 (#25098) the unfiltered Packages door lives in Studio. The Studio app it names is not default-loaded by design (
apps/studio/src/index.ts), and the Studio actually served at/_console/studiohides the Manage → Disable entry inside the package switcher popover. So the admins of code-loaded modules cannot find Disable or Enable.Thread-read: 6986932962
Premise: read from code, not yet measured in a browser (seat-agreed analysis, option C). Step 1 of the dispatch is the browser click path: home → New in Studio → Cancel → open a module → package switcher → Manage → Disable, then Enable. The dev posts the readings on this card before writing code.
Ruling direction: ruling 甲 (#25098) already settles "Studio only", so this is execution under option C, not a new decision (seat-agreed, area decision file). Not A, which would load a second Studio app. Not B, which would mean revising 甲.
Serial constraints cleared: none.
overlap-check.mjsat43639a6f: clean; no open PR touchesBuilderLandingorsetup-nav.Pre-claim lane:
domain:uiPre-claim deps: none
Prior rulings read: #25098 ruling 甲, #23892 ruling B, #28117, #28118, #34722; ADR-0146 D1. thread: 6986932962 (a correction, not a ruling)
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd
Browser readings B1–B3 before any code · 2026-11-19T12:17Z
Tree: objectstack
origin/main43639a6, packages and Console built from that tree. Boot:examples/app-multi-packageunderobjectstack dev --ui --seed-adminon a private port, fresh SQLite. Its modulecom.example.multi.orders(typemodule, depends on the appcom.example.multi.core, Source: Code) is serveddisableable: true. Playwright (Chromium), admin user, 1400×900.B1 · click path: works end to end.
/_console/studiowith the New Package dialog open/_console/studio/com.example.multi.orders/dataengine.studio.pkg.manage)module, Scope "Read-only · code", Status Enabled; actions View info · Disable · ExportPATCH /api/v1/packages/com.example.multi.orders/disable→ 200; sheet shows Status Disabled and an Enable buttonB2 · after the disable: Enable is reachable. A fresh load of
/_console/studiostill lists the disabled module's card (with no sign that it is disabled). Opening it reaches its Data pillar, the chip and the same popover entry are there, and the sheet offers Enable:PATCH …/enable→ 200;GET /api/v1/packagesreads it back as enabled. So a disabled package is not stranded.B3 · the Studio landing offers neither door. Landing cards carry only the name button and Customize, both of which open the package's Data pillar. Buttons matching manage / info & settings: 0. Links to the unfiltered
component/developer/packagesroute: 0.Reading of the premise. "No menu disables a code-loaded module" does not hold on this boot: the door exists, three clicks deep, under a label that names neither Disable nor Manage. What holds is the analysis's narrower defect: the landing gives no direct door to the sheet and no link to the full package list. Proceeding with route ② and ③ as dispatched; B2 shows no Enable gap, so ② carries no must-fix beyond the landing door.
Screenshots (kept locally, not uploaded):
b1-01-home.png,b1-02-new-in-studio.png,b1-03-landing.png,b1-04-module-open.png,b1-05-switcher-open.png,b1-06-sheet.png,b1-07-disable-confirm.png,b1-08-after-disable.png,b2-01-landing-after-disable.png,b2-02-open-disabled.png,b2-03-switcher.png,b2-04-sheet.png.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd
os-dev-report
{ "issue": 35196, "status": "done", "branch": "claude/issue-35196-studio-packages-door", "pr": "https://github.com/objectstack-ai/objectstack/pull/35516", "head": "9428e59ab208c000486dd5d8875cb5688db42f19", "session": "session_01Utp6CbP6iSEGkWb5fn8yqd", "premise_still_valid": false, "summary": "Premise partly disproven in the browser, readings B1-B3 in card comment 7008882599 (origin/main 43639a6f, app-multi-package under objectstack dev, Playwright, admin). B1: home > New in Studio > Cancel > open the code-loaded module > top-bar chip > popover entry 'Package info & settings' > sheet > Disable gives PATCH .../disable 200. B2: the disabled module's card is still on the landing, the same path reaches Enable, and PATCH .../enable gives 200. B3: the landing had no Manage and no link to the unfiltered list. Implemented route C (2) and (3): every Studio landing card carries Manage, which opens the switcher's PackageDetailSheet (Disable from the served disableable, Enable on a disabled package), and the title row links to the unfiltered Packages route /apps/setup/component/developer/packages. The switcher's full-row read is hoisted to the exported fetchInstalledPackageRow. The setup-nav comment and the setup-packages-door pin now name the served door. With Manage beside Customize the names truncated at 1400px, so each card's two buttons now stack.", "b_readings": { "B1": "works end to end; the entry is labelled 'Package info & settings', not Manage; PATCH disable 200", "B2": "Enable reachable by the same path after the disable; PATCH enable 200; not stranded", "B3": "landing: 0 Manage buttons, 0 links to component/developer/packages" }, "tests": "At 9428e59ab: vitest run packages/app-shell/src/views/studio-design/BuilderLanding gives Test Files 13 passed (13), Tests 95 passed (95), including the new BuilderLanding.packagesDoor-35196.test.tsx (5 cases). At 78f732a96: BuilderLanding*, StudioDesignSurface.manage*/.package*/.homeLoop* and packages-io* give Test Files 25 passed (25), Tests 222 passed (222). pnpm --filter @object-ui/app-shell type-check: exit 0 at 9428e59ab. @object-ui/i18n type-check: exit 0 at 78f732a96 (i18n unchanged since). platform-objects setup-packages-door.test.ts: Tests 3 passed (3). Ablation through scripts/ablation-replace.mjs: manageButton changed to 'null &&' (anchor 1 to 0, blob 30ad6272 to cadcb7d1) turns 4 of 5 cases red; the link case stays green, as expected. Restored: blob equals HEAD and git diff HEAD is empty. No build was needed: the test imports ./BuilderLanding from source. Browser after the change (Vite HMR console proxied to the backend): Manage opens the sheet, Disable 200 and then Enable 200, the link href is the unfiltered route, and neither name truncates at 1400px or 390px.", "gates": "dispatch-gates --ran with exit codes at head 9428e59ab: 69 derived, 68 exit 0, 1 NOT MEASURED. The NOT MEASURED one is pnpm check:dual-build-cjs-loads :: exit 3 (PREREQUISITE NOT MET: no dist for packages outside the CLI closure); CI owns it. pnpm --dir ui exec vitest run scripts/ :: exit 0 (171 passed, 2 skipped); its first run was SIGKILLed by a box OOM and was run again under the lock. overlap-check --branch=HEAD: VERDICT clean exit 0. CI families: in_progress, left to PR #35516's check-runs, not re-run locally.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "line_budget": "n/a: no skills/** touched", "files_changed": [ ".changeset/35196-studio-landing-package-door.md", "packages/platform-objects/src/apps/setup-nav.contributions.ts", "packages/platform-objects/src/apps/setup-packages-door.test.ts", "ui/packages/app-shell/src/views/studio-design/BuilderLanding.packagesDoor-35196.test.tsx", "ui/packages/app-shell/src/views/studio-design/BuilderLanding.tsx", "ui/packages/app-shell/src/views/studio-design/PackageSwitcher.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts" ], "deviations": [ "The PR body ends with the signed line on create (the dispatch names it for a body patch). No body patch was made.", "The PR body carries the six-line English section order under a 4-line Chinese 维护者速读, as the dispatch and seat-practice section 1 say; os-dev.md's six-line form was not used.", "Local gate families ran outside the lock (os-dev: check:* do not take it). The Vite console used for the visual check shared the box's memory, and the first ui scripts/ run was OOM-killed while it ran; that run was repeated under the lock." ], "mcp_calls": "0", "api_writes": "4: POST issues/35196/comments (B1-B3 readings, via the relay); POST pulls (pr_create #35516, draft) plus POST issues/35516/assignees (os-bill), same relay action; POST issues/35196/comments (this report)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: the switcher entry is labelled 'Package info & settings', which names neither Manage nor Disable (polish, outside this card's surface)", "carrier: none · noted, not filed: a disabled package's landing card shows no disabled state; the sheet does (polish)" ] }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd
Closed-out · area pkg-2 · 2026-11-19T14:49Z
c890070f29(Fixes #35196)Delivered (route C under ruling 甲): every Studio landing card carries Manage, which opens the same package sheet as the top-bar switcher (Disable from the server's
disableable, Enable on a disabled package). The title row links All packages to the unfiltered Packages page. No Setup menu entry was added. The B1–B3 readings showed that the switcher's door already worked; what was missing was a door on the landing.Noted, not filed: the switcher entry is labelled "Package info & settings", and a disabled package's landing card shows no disabled state (polish).
State:
pm:dispatchedremoved; card closed.