Skip to content

Studio 菜单(M1):修订 ADR-0084——左侧菜单加「常用 / 高级」两层,类型表加顺序和层级两列 #37199

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Part of #36890. Ruling: #37192, comment 7151834490 (maintainer 「同意」, with adjustments 7151811337). Proposal: 7151777190 §3.1–§3.9. The maintainer asked for these cards to be dispatched first: 「相关任务立卡优先派发处理」.

What

Amend docs/adr/0084-application-builder-information-architecture.md in place.

  1. Replace the 2026-11-24 amendment's sentence "the menu draws no audience tier" (:76, :190) with the ruled two tiers, quoting the maintainer's words from [Decision] Studio left menu: features are there but the focus is unclear — order and visual weight inside the groups #37192:
    • 常用: always listed on a package.
    • 高级: one collapsed fold that holds everything else.
  2. Write the sorting rule from proposal §3.1. A type is 常用 when all three hold: it has no required parent object, a builder makes it directly, and it stays inside the package. A type with no row in the table falls into 高级; it never becomes invisible.
  3. Add two columns to the type → group table, order and tier, in the ruled order:
    • 数据: 对象
    • 界面: 应用 · 页面 · 仪表盘 · 报表
    • 自动化: 流程
    • 访问: 权限集
    • AI: 智能体 · 工具 · 技能, the last visible group
    • every other type: 高级, in the proposal's order. This includes 选项列表, 邮件模板 and 默认共享.

The six groups of decision 11 stay as they are. ADR-0146 D1 needs no edit, because it defers the menu to ADR-0084.

Done when

  • The ADR's text and table state exactly the ruled tiers and order.
  • Nothing else is touched.

Notes

  • Governed path (docs/adr/**), so Tier H: after ACCEPT the seat hands it to the maintainer.
  • Runs in parallel with M2 and with the open Studio PRs; none of them touches docs/adr/.
  • Size S.

Activity

  1. added
    priority:p2
    pm:queue
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 2
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-37199-adr-0084-menu-tiers
    Worktree: objectstack-issue-37199
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: docs/adr/0084-application-builder-information-architecture.md only (the 2026-11-24 amendment's tier sentence, the sorting rule, and the type → group table's two new columns). ⛔ Nothing else: no code, no other ADR (ADR-0146 D1 needs no edit per the card) (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: ceiling — dispatch-gates.mjs --tier: "Model tier — MANDATORY: claude-fable-5-2 (derived from the file surface, not recalled)" for docs/adr/**, effort: xhigh — reason: the ADR-revision row of 定档 (File surface is docs/adr/** alone)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds (read on origin/main 893eac8): the amendment's "the menu draws no audience tier" sentence is still in the file (the card cites :76 and :190). The six groups of decision 11 are unchanged.
    Pre-claim lane: repo:objectstack seat 4 zone a4-S (sub-issue of epic #36890, filed by seat 4; cap 6, 7150676005); governed path, Tier H
    Pre-claim deps: none. It runs in parallel with #37200 (M2) and the open Studio PRs, none of which touches docs/adr/
    Prior rulings read: ruling on #37192, 7151834490 (the maintainer's 「同意」, with the adjustments in 7151811337: 「选项列表 5也放到高级」 and 「AI 应该提到第一层分类,放在最下面」); proposal 7151777190 §3.1–§3.9; the maintainer's 「相关任务立卡优先派发处理」 (relayed by seat 4); epic #36890 decision 11 (the six groups stand).
    Serial constraints cleared: no open PR touches docs/adr/0084-*. #37200 adds an ADR pin test that reads this table, and follows in its own PR.
    Size: S. Governed (docs/adr/**), so Tier H: after L1 ACCEPT, seat 4 hands it to the maintainer.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  4. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
    os-dev-report

    {
      "issue": 37199,
      "status": "done",
      "branch": "claude/issue-37199-adr-0084-menu-tiers",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37219",
      "session": "session_01QSeKYkkwuF6UuFtu85Yd5H",
      "premise_still_valid": true,
      "summary": "ADR-0084 is amended in place on the ruling of #37192 (comment 7151834490, adjustments 7151811337): the sentence \"the menu draws no audience tier\" is struck at both places it stood and replaced by the two ruled tiers with the maintainer's words quoted; a new section \"Amendment (2026-11-25)\" states the ten 常用 types in the ruled order, the one 高级 fold, the sorting rule of proposal §3.1 and the no-row fallback; the type-to-group table is redrawn one row per type with Order and Tier columns; the status line and a top note name the ruling. One file changed (docs/adr/0084-application-builder-information-architecture.md, +126 -16 against main); draft PR 37219, head f05f4d3b90, label skip-changeset, assignee os-justin. Premise check: the sentence was at lines 76 and 190 at 893eac8b0c, as the claim said. One drift found while writing: main registered a 33rd type, ai_context (domain ai, commit 2a6f26a489), after the proposal, the ruling and the claim were read, so the branch merged origin/main a33691e567 and the table carries a 33rd row for it (last in AI, 高级), flagged in the ADR as item 6 of six readings taken where the ruling was silent.",
      "tests": "Docs only: no package touched, so no build closure and no package test owed; no ablation (no tested behaviour changed). One-off verification script (scratchpad, not committed) at head f05f4d3b90: exit 0, \"VERDICT: all checks passed\", 78 ok lines — every maintainer quotation in the edit is byte-for-byte in the record (body of #37192, comments 7151652724, 7151811337, 7151834490); table rows 33 = registry entries 33, each row a registered type in its registered domain, once; Order runs 1..n with no gap in each group; 常用 rows = object, app, page, dashboard, report, flow, permission, agent, tool, skill in that order; 22 高级 rows; field alone carries no order and no tier. node scripts/check-commit-card-trailers.mjs --range (main..HEAD): exit 0, \"4 commit message(s) ... carry no card relation and no model identifier in the trailer pair\". Control-character self-scan of the changed file: 0 lines.",
      "gates": "Local subset at head f05f4d3b90 = the 21 commands node scripts/pm/dispatch-gates.mjs --commands derives (merge base a33691e56), each exit captured before any pipe: node scripts/check-adr-links.mjs :: exit 0 ; node scripts/check-adr-links.mjs --self-test :: exit 0 ; node scripts/check-closing-keyword-parity.mjs :: exit 0 ; node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0 ; node scripts/check-comment-mask-corpus.mjs :: exit 0 ; node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0 ; pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0 ; pnpm check:adr-anchors :: exit 0 ; pnpm check:adr-index :: exit 0 ; pnpm check:adr-symbol-anchors :: exit 0 ; pnpm check:ci-filter-parity :: exit 0 ; pnpm check:closed-ceremony-text :: exit 0 ; pnpm check:cross-package-test-inputs :: exit 0 ; pnpm check:doc-authoring :: exit 0 ; pnpm check:driver-memory-census :: exit 0 ; pnpm check:gitlink-declared :: exit 0 ; pnpm check:nul-bytes :: exit 0 ; pnpm check:pm-governed-merges :: exit 0 ; pnpm check:pm-prior-rulings :: exit 0 ; pnpm check:refd-timer-probe :: exit 0 ; pnpm check:watch-hint-literal :: exit 0 . --ran reconciliation, exit 0: \"Run reconciliation — 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN.\" Outside the derived list: node scripts/adr-index.mjs --check :: exit 0 (\"adr-index: OK — docs/adr/README.md is current and every record parsed.\"). History of one family: check:doc-formula-expressions first exited 3 at eb7e433845 (PREREQUISITE NOT MET, formula and lint not built); the two packages were built under os-verify-lock (\"VERDICT command-exit 0\"), rebuilt after the merge (\"VERDICT command-exit 0\"), and the gate then exited 0. CI on PR 37219, check-runs of f05f4d3b90, second and last read a few minutes after the PR opened, 45 runs, not awaited: success (15) — Auto Label, Test UI, Dogfood Regression Gate, Lint · scoped · query-options erasure, Lint · scoped · tooling self-tests, Lint · PM dispatch-gates, Type Check · workspace, Type Check · debt ledger, Lint · scoped · slot lookup & corpus, Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards (claim · duplicate · Part-of · single-writer path), filter, Check Documentation Links; in_progress (7) — Plan Test Core shards, Lint · docs & code guards, Type Check · source gates, Lint · CI, release & engine gates, Lint · repo & tooling gates, Type Check · consumer gates, Lint · ESLint; skipped (23) — Type Check UI, Test UI shards, Lint UI, Build & E2E UI, Build Docs, Live E2E UI, Dogfood Regression Gate shards, Plan Test UI shards, Build Core, Dogfood Verify CLI, Temporal Conformance, UI Published Artifacts, Build UI Deps, the opt-in and schedule lanes, and the unlabelled-event twins of Check PR Size, Auto Label and Check Changeset; failure — none. The 7 in_progress families are NOT MEASURED here: reason — the report is delivered when local verification ends. Labels on the PR at that read: documentation, size/m, skip-changeset.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub tool was called; every read was a single-card REST GET",
      "api_writes": "2 — both POST /repos/objectstack-ai/objectstack/dispatches (the fleet-write relay): (1) pr_create, request fw-20261125T041148Z-3e62b7, run 45545102693 conclusion success, which sent POST /repos/objectstack-ai/objectstack/pulls (draft), POST /repos/objectstack-ai/objectstack/issues/37219/assignees and POST /repos/objectstack-ai/objectstack/issues/37219/labels; read-back \"9054 byte(s) sent, 9054 stored — identical\", assignee os-justin and label skip-changeset both listed; (2) this report comment through post-stamped.mjs, POST /repos/objectstack-ai/objectstack/issues/37199/comments. git push x3 on the issue branch (the empty-branch probe, eb7e433845, f05f4d3b90) are not REST writes.",
      "deviations": [
        "Merged origin/main (a33691e567) into the branch before the last commit, because main registered ai_context after the worktree was cut at 893eac8b0c and the table is read against the registry. Merge commit 6e605f9c5b; the delta against main is still the one ADR file.",
        "The table carries one row the ruling does not name (ai_context, AI, order 4, 高级). It is flagged in the ADR and in open_questions.",
        "Beyond the two named lines, three sentences of the 2026-11-24 amendment carry a one-sentence mark where they stand (the drawing of the menu, \"where the two disagree the registry is right\", \"which rows the menu draws\"), and the table intro carries a count mark. The file says \"everything not marked stands\", so a sentence the ruling narrows had to be marked. Nothing outside this file was touched.",
        "test:repo was not run locally: the diff changes no test of that project and the derived list does not name it; CI's Test Core runs it.",
        "@objectstack/formula and @objectstack/lint were built locally under the verify lock although the diff touches no package: a derived gate reads their compiled output.",
        "The harness attribution reminder asked for a model-named commit trailer and a two-line PR footer; the repo rule won: model-free trailer pair on all four commits, one session-URL footer block on the PR body."
      ],
      "open_questions": [
        {
          "question": "ai_context was registered on main (2a6f26a489) after the ruling was read at 893eac8b0c; it is an ai-domain type the ruling does not name. Which tier does it take in the menu?",
          "options": [
            "A 高级, last in AI — what the ADR now writes, flagged as item 6: its schema requires one root object (first test of the sorting rule), the ruling's 高级 holds every type it does not list as 常用, and a type with no row is drawn at the end of its group. No further edit.",
            "B 常用, fourth in AI — if 「AI 应该提到第一层分类,放在最下面」 means every AI type. One word in one table row, and \"ten\" becomes \"eleven\" in three sentences of the same file; about ten minutes on this branch."
          ],
          "recommendation": "A, because three ruled sentences agree on it and it needs no new ruling; B needs the maintainer's word, and the PR is his to merge by hand either way."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #37200 · noted, not filed — its registry pin will need a 33rd placement row (ai_context, advanced, last in ai) once its branch contains 2a6f26a489; the ADR table already has that row. The M2 and M3 card bodies were written against 32 types.",
        "carrier: #37200 · noted, not filed — its body names studioAddressTable.test.ts as the model for the ADR pin; at a33691e567 no file has that name. The address table is pinned in ui/packages/app-shell/src/views/studio-design/studioAddress.test.ts, and the header comment of studioAddressTable.ts names the missing file too (a stale comment, not a defect)."
      ]
    }

    Generated by Claude Code

  5. removed
    pm:dispatched
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions