Repository navigation
Labels
Description
repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W
③ maintainer direct order · Source: maintainer (Yibo Wang), 2026-11-24.
- 09:36Z 「是否建议界面上创建包时,自动创建应用?」
- Seat 3 recommended (09:37Z, restated 11:22Z): 「建议做,但做成『新建包』对话框里的一个勾选项『同时创建应用』,默认勾上,而不是强制创建」.
- 22:05Z: 「立卡」.
Follow-up of the Studio redesign epic #36890 (hand-off §4, comment 7133810009).
维护者速读
- 现在只有 Studio 首页的「新建自己的应用」会同时建包和应用(Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748)。设置里「软件包」页、Studio 包切换器、资源列表上的「新建包」都只建包,建完没有应用:左上角没有应用名,「‹ 返回应用」也没有地方可回。
- 这张卡给这些「新建包」对话框加一个勾选项「同时创建应用」,默认勾上。勾上时和 Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748 一样,建包时一并建好它的应用;取消勾选就只建包,给只放对象、流程给别的包复用的包用。
- 它不取代决定 5 的兜底:安装来的包、以前建的包、组织级入口仍可能没有应用,那时左上角显示包名,返回到应用首页(Studio 重构(1-3):去掉顶部分区,换成可折叠的左侧分组菜单(数据、界面、自动化、平台、访问、AI),右侧是列表和全屏详情 #36899 已做)。
What is on main
ui/packages/app-shell/src/views/metadata-admin/PackageFormDialog.tsxalready has the app step,newApp?: NewAppStep(Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748,studio-design/newAppDoor.ts). In create mode it reserves the app name, creates the package, then creates and publishes its app. Only the Studio landing door (BuilderLanding) passesnewApptoday.CreatePackageDialog(PackagesPage.tsx:633) rendersPackageFormDialog mode="create"withoutnewApp. It is used by the Settings 软件包 page (设置里只留一个「软件包」入口(管理面:新建、启用/停用、删除,新建后进 Studio;并入「已安装应用」),修订甲裁决 #36834),ResourceListPageand the Studio package switcher, and all of them create a package with no app.- Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 removes the Studio home (
/studio,BuilderLanding) and moves its entries elsewhere, including the 「新建应用」 door. After it, every package creation goes through the plain dialog, so this checkbox is what keeps "new package ⇒ has an app" true.
Expected
- In create mode,
PackageFormDialogshows a checkbox 「同时创建应用」 / "Also create an app", ticked by default. Ticked runs the existingnewAppstep (same reserve, create, publish and error handling as Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748). Unticked creates only the package, exactly as today. - Every
CreatePackageDialogcall site gets it. Where the dialog lands afterwards does not change, and with an app the Studio header shows the app's name. - The Studio landing door (Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748) keeps its app-worded dialog until Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 removes it. Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 then points its replacement entry at this dialog with the box ticked.
- Tests: ticked creates a package and an app; unticked creates only a package; a name already taken surfaces as in Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748. Add the zh-CN and en strings. Translation keys only means
Clause-② no, unless a published type gains a member.
Not in scope
- Changing the decision-5 fallback for app-less packages (Studio 重构(1-3):去掉顶部分区,换成可折叠的左侧分组菜单(数据、界面、自动化、平台、访问、AI),右侧是列表和全屏详情 #36899).
- Server changes. The two existing doors are reused.
Dedupe (gh api search/issues, is:issue, open and closed): 同时创建应用 (none), create package also create app (closest is #36748, closed by #36764, which covers the Studio landing door only).
Part of #36890 (follow-up; related #36908, #36748, #36834). Likely domain:ui, area:ux, size S–M. The grade is triage's to set.
Generated by Claude Code
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T22:09Z (repo:objectstack#3's request 7145862748)
newAppstep, so it is a small UX extension, and the type is Feature.Feature.priority:p2andpm:queueadded.domain:uiandarea:uxwere already present.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Held behind #36908 · 2026-11-25T02:28Z · zone a4-S hot-file serial
Blocked-by: #36908
ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx: the new-package door and the Setup → Packages header and dialog. Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 also editsstudioNewPackage.ts. That is a real overlap on the same component, so the zone serializes instead of writing both at once.pm:queueand is dispatched to its own cloud session, in the order 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 then Studio 重构后续:顶栏应用名右侧加「⋯」软件包菜单(编辑信息、导出、复制、还原、收编散落项、在设置中管理);「导入」放到「设置 > 软件包」页头 #37139. The zone's cap of 6 (7150676005) leaves room, so only the overlap holds it.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Claim: PM loop round 3
Session:
session_01QSeKYkkwuF6UuFtu85Yd5HAccount:
os-justinBranch:
claude/issue-37134-create-package-also-appWorktree: cloud session (its own container)
Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-S
File surface:
ui/packages/app-shell/src/views/metadata-admin/PackageFormDialog.tsx,PackagesPage.tsx(CreatePackageDialog) and its call sites (Settings Packages,ResourceListPage, the Studio package switcher, and the new-package doors #36908 routed to Setup),studio-design/newAppDoor.ts(reuse only), tests, the studio/console en+zh catalogues (additive keys only), a changeset. ⛔ No server change; no change to the decision-5 fallback (#36899) (stop on breach; explain in the report)Container & model:
M,mode:cloud,model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate",effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7150768924
Premise: holds (re-read on origin/main
fbb62e1cafter #37166 landed). #36908 removed the Studio home andBuilderLanding, so every package create now goes throughPackageFormDialog mode="create"withoutnewApp.PackageFormDialogalready carries thenewApp?: NewAppStepstep (#36748), now pinned inPackageFormDialog.newAppStep-36748.Pre-claim lane: repo:objectstack seat 4 zone a4-S (③ maintainer order 「立卡」; Blocked-by #36908, now landed; seat 4 asked for it first after #37166 merged; cap 3)
Pre-claim deps: none open.
Prior rulings read: seat 3's recommendation, a checkbox ticked by default (not forced); #36908 N1 (a) door routing; #37166's merged
useNewPackageDoorPath.Serial constraints cleared: #37201 (running) touches the Studio menu, not the package dialog. #37261 (running) touches
ReportNewPageonly. #37139 (next) adds the Studio header 「⋯」 package menu, a different surface.Size: M.
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
os-dev-report
{ "issue": 37134, "status": "done", "branch": "claude/issue-37134-create-package-also-app", "pr": "https://github.com/objectstack-ai/objectstack/pull/37338", "session": "session_01QSeKYmaapyPFdBwrb3SfFp", "premise_still_valid": true, "summary": "PackageFormDialog in create mode with a newApp step now shows 「同时创建应用」 / 'Also create an app', ticked on every opening. Ticked runs the #36748 step unchanged (reserve, then package POST, then app draft and publish; a taken name refuses with nothing written). Unticked posts only the package. CreatePackageDialog builds newAppStep(client, locale) and passes it, so every door gets the box: Setup > Packages (button on both faces, and the ?new=package door #36908 routes to) and ResourceListPage's create-a-package-first prompt. Where each door lands is unchanged. The dialog's app-worded variant (title, ids and help rows reworded when newApp was set) had no host after #36908, so it was removed and the dialog keeps its package face. Its catalogue rows stay unread (no key removed). 3 additive keys in en and zh. One premise drift: the card's 'Studio package switcher' call site no longer exists (removed by #36501). No server change, and no change to the decision-5 fallback. Card assignee was not touched.", "tests": "Head 97fa2d83. PackageFormDialog.newAppStep-36748 (shared harness: real dialog, newAppStep, metadata client and StudioDesignSurface over a stateful fetch stub), 11/11: box ticked by default and on reopen (en and zh); ticked = POST package, PUT app draft, POST publish, header names the app; unticked = only POST package, header names the package; taken name = refusal names the holding app, Advanced opens, writes []; unticking then posts the package; source pins: CreatePackageDialog mounted only in PackagesPage and ResourceListPage, no other create-mode PackageFormDialog, and the wrapper passes newAppStep. The three #36748 cases had survived #36908 whole. Case 1 (app-worded face) was rewritten to the package face with the box plus a CONTROL, and case 2's toast assertion was updated. PackagesPage.installedAppsUpdates-34722: the stub reports the step, 3 new cases (admin button, ?new=package, dev-face button). Wider: PackageFormDialog*, 34722, CreatePackageDialog* at 4179e152 gave 17 files / 195 tests passed; PackagesPage*, ResourceListPage*, EditPackageDialog*, StudioDesignSurface.createApp* gave 36 files / 313 passed. app-shell type-check (src + tsconfig.test.json) after building the closure: VERDICT command-exit 0, 0 TS errors. Ablations via ablation-replace.mjs, each restored with git checkout HEAD and verified by blob hash plus an empty git diff HEAD; app-shell imports the subject relatively, so no dist in the path. A1 appStep always undefined: 4 red. A2 box ignored: 2 red. A3 taken arm off: 2 red. A4 box resets unticked: 8 red. A5 wrapper passes newApp={undefined}: 9 red. A6 ResourceListPage mounts PackageFormDialog mode=create: 2 red. A5's first leg was a no-op (empty replacement refused, nothing landed) and was re-run with a real replacement. A4's grep anchor count reads 2 because the multi-line anchor is counted per line by grep -F; the tool's own on-disk check passed.", "gates": "Local, all at 97fa2d83, exit captured before any pipe: check:test-source-alias exit 0; ui check:i18n-keys exit 0; scripts/pm/overlap-check.mjs VERDICT clean exit 0 (merges with main and #37315, which shares the studio catalogues); check:nul-bytes 0; check:cross-package-test-inputs 0; dispatch-gates --commands derived 39 families, all run, all exit 0; --ran reconciliation 39 derived / 39 run / 0 NOT-MEASURED (derived zero, every row carries an exit code). The first ui scripts/ vitest run at 28a9d57a failed check-test-path-roots on the new test: a local named `path` was read as the fetch stub's URL path. Fixed by renaming it in 97fa2d83; the re-run gave 172 files passed, 2 skipped, 5130 tests. eslint --no-inline-config on the 6 touched files: exit 0, warnings all on pre-existing lines. CI on PR head 97fa2d83: 58 check-runs, 45 success, 13 skipped, 0 failed. These include Test Core, Test UI 1-16/16, Type Check UI, Type Check workspace/source/consumer/debt ledger, TypeScript Type Check, Lint UI, Lint ESLint and every scoped lint, Lint PM dispatch-gates, Check Changeset, Governed Surface Queue Guard, PR-body guards, Dogfood Regression Gate, Build & E2E UI, Live E2E UI and Check PR Size.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "3 — read-only: issue_read get #37134, issue_read get_comments #37134, pull_request_read get_check_runs #37338. No write tool used.", "api_writes": "2 relay strokes. (1) pr_create: POST /repos/objectstack-ai/objectstack/dispatches, which the run executed as POST /repos/objectstack-ai/objectstack/pulls (draft) and POST /repos/objectstack-ai/objectstack/issues/37338/assignees (os-justin); the read-back was byte-identical, 9055/9055. (2) This os-dev-report comment via post-stamped.mjs on #37134. Plus 2 git pushes (not REST).", "open_questions": [ { "question": "The app-worded catalogue rows (engine.studio.newApp.title, description, advancedHint, id, help.*, nsDerived, exists, failed) have no reader after this PR. Retire them?", "options": [ "A Leave them; retire them in a later key-retirement card under that process", "B Keep the app-worded variant as an opt-in prop, with no host" ], "recommendation": "A, because no door shows the app-worded face any more, and keeping a prop with no host is dead surface. Removing released keys is its own decision." }, { "question": "With the box ticked the submit button still reads 'Create package' / 「创建软件包」. Should it switch to something like 'Create package and app'?", "options": [ "A Keep it as is; the checkbox and its hint say an app comes too", "B Add a ticked-state submit label (one more additive key)" ], "recommendation": "A, because the card asked only for the checkbox and its default, and the success toast already names both." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: #37139 · noted, not filed: a Studio-only author who cannot open Setup > Packages still has no New Package door (#36908's own note); unchanged here and recorded in the PR's Acceptance notes." ] }Generated by Claude Code
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Finalized head for L1 · 2026-11-25T19:44Z ·
97fa2d83· zone a4-S (#37134)97fa2d83: 58 check-runs: 45 success, 13 skipped, 0 failed. K: 10 behindmain.check-governed-merges.mjs --pr 37338: not governed and under 3,000, so not Tier H. After seat 4's L1 ACCEPT the zone lands it; it stays draft until then.done. Six ablations (A1–A6) each turn pins red; local gates 39/39 exit 0; overlap-check clean.?new=package(Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908's doors), and ResourceListPage's create-a-package-first prompt.engine.studio.newApp.title,description,advancedHint,id,help.*,nsDerived,exists,failed): A. They stay in this PR; no key is removed, soClause-②: noholds. After this and Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201 land, the zone files one follow-up card that retires them, together with Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201'sengine.studio.menu.typeCount, under the 19.0.0 released-key rule.