Repository navigation
In progress
Copy link
Labels
area:uxdomain:specDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Description
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Filing gate: ③ · Source: docs/adr/0084 on main, #amendment-2026-11-26-moves: dataset and position are placed in 常用 by name (question 4, ruled yes; record 7187264388 on #37451). On 2026-11-26 at 13:25Z the maintainer asked to bring phase 3 forward (「这些很简单吧?」). Sub-issue of #37424 (phase 3).
Grade: area:ux · Feature · p2 · evidence: packages/spec/src/kernel/metadata-plugin.zod.ts:977 registers dataset with domain: 'ui'. studioMenuPlacement.ts already carries the 常用 / 高级 tiers (ruling on #37192).
Reader: area ux-37424.
维护者速读
- 用户能看到什么变化:Studio 菜单里的「数据集」从「界面」组挪到「数据」组,紧跟在对象后面,并且常驻显示。「岗位」在「访问」组里常驻显示。
- 为什么:数据集是图表和 AI 问数共用的语义层,属于数据。
- 注意:要改 spec 注册表,需要合约审查。ADR-0084 的菜单表有测试盯着,必须在同一个 PR 里一起改,所以走 Tier H 审批。
- 需要你做的:这个 Tier H PR 由你合并。
What
DEFAULT_METADATA_TYPE_REGISTRY: changedatasetfromdomain: 'ui'to'data'. Update every consumer of the domain: group labels, directory grouping, the menu model. This is a spec contract change, so L2 runs at the contract tier.studioMenuPlacement.ts:datasetgoes in 常用, directly afterobject.positiongoes in 常用, directly afterpermission.- Both are placements by name, each with its reason in a comment: dataset's schema requires one object; position is one slot per environment (ADR-0150 D7).
docs/adr/0084: rewrite the type→group table rows in the same PR.studioMenuPlacement.test.tsscans every ADR line of that row shape and pins it to the registry and the placement list, so never add a second table of that shape. Carry N8 in the same edit (专题:App Studio 改版(Studio 是开发软件包的入口:左右两栏、软件包切换和概览页、列表页按前端样式、专用色和新名字) #37424 comment 7189717418): link the 2026-11-24 note's mark to#amendment-2026-11-26-position.form(ADR-0159, form metadata type: define, register and serveformitems (ADR-0159, card ②) #37086) is not registered yet. If it lands first, its row follows the amendment: 常用, 界面 UI, afterreport.
Acceptance
- The menu draws dataset under 数据 right after 对象, and position under 访问 right after 权限集, both outside the 高级 fold. Screenshots in light and dark.
- The pin test is green with the rewritten rows, and a spec test covers the registry domain change.
- Sequencing: App Studio 改版(1-3):精简版软件包概览页——菜单第一项「概览」带待发布数字,信息页签只读、待发布页签接住发布,「⋯」软件包菜单搬进页头 #37454 (PR feat(studio): 概览 package overview page — Info and Pending tabs, ⋯ menu in its header #37546) also edits
studioMenuModel.ts. Merge main after it lands.
Metadata
Metadata
Assignees
Labels
area:uxdomain:specDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4
Claim: card thread, area ux-37424 (dispatch order
dispatch-37564.md)Session:
session_01Utp6CbL6Nn3scsU8yvLyU4Thread session:
session_01Utp6CbgELiNQU6e7me1RQyAccount:
os-billBranch:
claude/project-thread-80m7oiWorktree:
objectstack-issue-37564Domain:
domain:specSeat:
repo:objectstack#5Area: ux-37424
File surface:
packages/spec/src/kernel/metadata-plugin.zod.ts(thedatasetrow ofDEFAULT_METADATA_TYPE_REGISTRY: itsdomainvalue and the comment above it, nothing else) andpackages/spec/src/kernel/metadata-plugin.test.ts(the pin for that value); any generated spec artifactcheck:generatedproves stale (none expected: the declared type of the registry does not move);ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.tsand its test; the tests that pin the ten 常用 types as a literal list or holdpositionin the fold (studioMenuModel.test.ts,StudioMenu.test.tsx), and any other test the run names that pinsdatasetunderui;docs/adr/0084-application-builder-information-architecture.md(thedatasetandpositionrows of the type-to-group table, the order of the rows behinddataset, the marks that say the rows were rewritten, and nit N8: one link on the 2026-11-24 top note); one.changeset/*.md. ⛔ NotstudioMenuModel.tsorStudioMenu.tsx(#37454 and #37456 hold them; the model reads the list and needs no edit). ⛔ No second table of the pinned row shape in the ADR. Stop on breach; explain in the report.Container & model:
M,mode:thread,model: CONTRACT_REVIEW_TIER (dispatch-gates --tier: MANDATORY docs/adr/**),effort: xhigh (reason: ADR-0084 revision plus a spec registry value, standing ADR-revision order)Clause-②: no
Metadata-protocol: none
Registry change, judged:
dataset'sdomainmoves fromuitodatainside a published constant. No accepted set widens or narrows: thedomainenum keeps its six values, the registry is written by no author, and a*.dataset.tsitem validates as it did. The public surface does not grow: no export, key or type is added, and the constant's declared type (MetadataTypeRegistryEntryParsed[]) is unchanged, soapi-surfaceandauthorable-surfaceare expected not to move (measured on the build, reported in the PR). What does change is a served value:GET /meta/typesanswersdomain: "data"fordataset, and that listing's domain-then-type order moves the row. A contract-tier review is owed all the same, by path (packages/spec/src/**,docs/adr/**).Responsibility: n/a — not a defect card
Thread-read: none
Premise: holds — read at origin/main
411646562026-11-26T13:39Z.datasetis registereddomain: 'ui';STUDIO_MENU_PLACEMENTholdsdatasetandpositionasadvanced; ADR-0084's table drawsdatasetunder 界面 UI at order 7 andposition高级;formis not registered, so it gets no row here. The registrydomainis read by the/meta/typeslisting (served value and sort), the Studio menu, the type directory and a type page's badge, and by nothing else.Serial constraints cleared: #37454 (PR #37546, in rework) edits
studioMenuModel.ts,StudioMenu.tsxand both of their tests; this card edits the two tests only, and merges origin/main once after #37546 lands, before its final head. #37565 (card thread) retires the~allentry and edits the same expectations instudioMenuModel.test.ts; whichever lands second merges main. #37456 (card thread) reshapes the menu's header and reads no placement. #37566 touches labels only. No open PR touchesmetadata-plugin.zod.ts'sdatasetrow,studioMenuPlacement.tsordocs/adr/0084.Governing text:
docs/adr/0084#amendment-2026-11-26-moveson main, binding (dataseta 数据 Data type directly afterobject, 常用;position常用 where it is; each row rewritten in the pull request that moves it); ruling record 7187264388 on #37451 (question 4, ruled yes); carrier note 7189717418 on #37424 (N8).Landing: Tier H (
docs/adr/**). Approvers os-zhuang and hotlong; the maintainer merges. The thread opens the PR as a draft and arms nothing.objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:spec · Feature · priority:p2 ·
pm:dispatched· size S; rationale: phase 3-1 of topic #37424 (datasets move to the Data group as common, positions go to common). Grade follows the parent; already dispatched.