Repository navigation
Labels
Description
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Part of #36890. Ruling: #37192, comment 7151834490. Proposal: 7151777190 §3.4. The maintainer asked for this to be dispatched first.
What
- One new file:
ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.ts. It holds one ordered list of{ type, tier: 'common' | 'advanced' }, in the ruled order:- common: object · app, page, dashboard, report · flow · permission · agent, tool, skill
- every other menu type: advanced, in the proposal's order. This includes picklist (选项列表) and email template.
- The list holds order and tier only. The group stays the served
domain.
- Registry pin: every type in
DEFAULT_METADATA_TYPE_REGISTRYthat the directory can list has exactly one row, and every row names a registered type. - ADR pin: the order and tier columns of ADR-0084's table (the M1 card) equal the list, modelled on
studioAddressTable.test.ts.- If M1 has not merged yet, either land this pin together with M1, or add it in a follow-up commit once M1 is in.
- The new files are not wired into anything yet; M3 wires them.
Done when
- The table and both pins land.
- An ablation shows the pins go red when a row is removed, misordered, or names an unknown type.
Notes
- Shares no file with the open Studio PRs feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168, feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169, feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 and feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089, so it can run now.
- Size S.
Clause-②: no.Metadata-protocol: none.
Activity
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Claim: PM loop round 2
Session:
session_01QSeKYkkwuF6UuFtu85Yd5HAccount:
os-justinBranch:
claude/issue-37200-studio-menu-placementWorktree:
objectstack-issue-37200Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-S
File surface:
ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.ts(new),studioMenuPlacement.test.ts(new: the registry pin and, after #37199 merges, the ADR pin), and a changeset. Reads only:DEFAULT_METADATA_TYPE_REGISTRY,studioAddressTable.test.ts(the pin pattern), and ADR-0084. ⛔ No wiring into the menu (that is #37201, M3) and no edit to the ADR (that is #37199, M1) (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate",effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: none
Premise: holds (read on origin/main 3570b81):
studioMenuPlacement.tsdoes not exist; the menu modules arestudioMenuModel.ts,studioMenuData.tsandStudioMenu.tsx. No open Studio PR adds this file.Pre-claim lane: repo:objectstack seat 4 zone a4-S (sub-issue of epic #36890, filed by seat 4; maintainer 「相关任务立卡优先派发处理」; cap 6)
Pre-claim deps: none for the table and the registry pin. The ADR pin needs #37199 (M1, in flight, Tier H). It is added as a follow-up commit on this branch once M1 merges, and the PR does not land before that.
Prior rulings read: ruling on #37192, 7151834490, with the adjustments in 7151811337. Proposal 7151777190 §3.4: one placement table holding order and tier only, with the group kept as the served
domain. 常用 = object · app, page, dashboard, report · flow · permission · agent, tool, skill. Everything else is 高级, in the proposal's order, including picklist and email template.Serial constraints cleared: the file is new and shares nothing with #37089, #37166, #37168 or #37169. #37201 (M3) wires it later.
Size: S.
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
os-dev-report
{ "issue": 37200, "status": "done", "branch": "claude/issue-37200-studio-menu-placement", "pr": "https://github.com/objectstack-ai/objectstack/pull/37232", "session": "session_01QSeKYkkwuF6UuFtu85Yd5H", "premise_still_valid": true, "summary": "Added STUDIO_MENU_PLACEMENT (studioMenuPlacement.ts): 32 ordered {type, tier} rows, 10 common in the ruled order then 22 advanced in the proposal's order, ai_context advanced last in ai after merging origin/main (33 registered types, field hidden). studioMenuPlacement.test.ts holds it against DEFAULT_METADATA_TYPE_REGISTRY, against the ruled order as literals, and against ADR-0084's Order and Tier columns (merged via #37219): tier per type both ways, ADR group equals served domain, order inside each group. Not wired. Head 5568fa63a1, draft, assignee os-justin.", "tests": "head 5568fa63a1: vitest studioMenuPlacement.test.ts 1 file 12/12 passed. app-shell type-check exit 0, 0 errors (first run found a real TS2345 in the test, fixed in 2eae5a0f90). Ablations via ablation-replace.mjs on committed heads, each restored (HEAD blob hash equal, git diff HEAD 0 bytes): remove hook row 3 red; swap app/page 1 red; add not_a_registered_type 3 red (first attempt a no-op, refused by the tool as anchor 1->1, re-run with a vanishing anchor); remove ai_context 3 red; job retiered common 4 red; ADR picklist retiered 1 red naming picklist; ADR app Order 1->9 1 red naming group ui. No build/dist leg: the mutated file resolves by relative import from src.", "gates": "local on 5568fa63a1: dispatch-gates --commands derived 38 families, all 38 exit 0 (--ran: 38 run, 0 NOT-MEASURED, derived zero), incl. check:test-source-alias 0, check:cross-package-test-inputs 0, ui vitest scripts/ 0 (an earlier run on 8978038bc7 was 1 from an unbuilt dependency closure, green after the closure build). check:type-check-debt was exit 3 PREREQUISITE NOT MET after the first merge (no install), exit 0 after pnpm install. overlap-check --branch=HEAD: VERDICT clean exit 0. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — git push (branch); fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/37232/assignees), run 45553625449; post-stamped os-dev-report comment on #37200", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: seat repo:objectstack#4 · ADR-0146 still says 32 registered types at 151e8123 (docs/adr/0146, the amendment paragraph); the count on main is 33 with ai_context; governed ADR text, not edited here", "carrier: seat repo:objectstack#4 · card #37200 names studioAddressTable.test.ts as the pin model; no such file, the pin is studioAddress.test.ts; noted, not filed"], "deviations": "the first git push of the empty branch (before any edit) was refused by the auto-mode classifier; no re-route was attempted, and the later push after the coordinator's go succeeded. The worktree is kept until the seat's ACCEPT." }objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Finalized head for L1 · 2026-11-25T05:51Z ·
5568fa63a1· zone a4-S (#37200)5568fa63a1: 38 success, 13 skipped (path filters), 0 failed. Mergeable state clean.studioMenuPlacement.ts(new),studioMenuPlacement.test.ts(new), and a patch changeset for@object-ui/app-shell.check-governed-merges.mjs --pr 37232: NOT governed.field, which stays hidden. The 10 常用 rows come first in the ruled order (object, app, page, dashboard, report, flow, permission, agent, tool, skill). The 22 高级 rows follow in proposal order, withai_contextlast in ai.DEFAULT_METADATA_TYPE_REGISTRY, against the ruled order written as literals, and against ADR-0084's Order and Tier columns (landed in docs(adr): amend ADR-0084 — the Studio menu draws two tiers, 常用 and 高级, and the type table gains order and tier columns #37219). The ADR pin checks each type's tier both ways, each ADR group against the served domain, and the order inside each group. Seven ablations went red as expected, including two on the ADR copy, each naming the type that drifted.studioAddressTable.test.tsas the pin model, but the file isstudioAddress.test.ts.