Skip to content

Plugin-contributed Setup items target the new group ids; 「审批中心」 is no longer a Setup entry (#39050) #39058

Done

Description

@objectstack-fleet

repo:objectstack@os-bob · os-bob · session_012dn2Ac2cy8paBGrxmoLwNQ

Source: topic #39050 · category ③ (child of the maintainer's epic). The maintainer's words on #39050: 06:03Z 「不要 沿用旧分组 id ,改掉,然后立专题卡」; 06:12Z 「分拆子卡并用 fable 评审」 (the split below was reviewed by Fable against the code before filing). Rulings D1–D4 are in the epic's ruling comment.

Grade: p2 (the epic's grade) · area:ux · type Task · suggested domain server (triage sets it) · size M · est. 2.5 person-days · evidence: read (objectstack main, 2026-12-02).

Blocked-by: #39053
Blocked-by: #39057

What

Every plugin-contributed Setup item names its new group id directly (no reliance on the alias map), and 「审批中心」 leaves Setup (epic rows 2 and 11; ruling D2).

Contribution sites (16 files in 13 packages, verified):

  • packages/plugins/plugin-{approvals,audit,auth,security,sharing,webhooks} (*-plugin.ts)
  • packages/services/service-messaging (messaging-service-plugin.ts, slack-setup-ui.ts), service-knowledge (2 files), service-datasource/src/datasource-admin-plugin.ts, service-automation/src/connector-credentials-ui.ts, service-settings/src/settings-service-plugin.ts
  • packages/cloud-connection/src/{cloud-connection-ui,marketplace-ui}.ts
  • packages/mcp/src/connect-ui.ts (today joins group_overview, which retires; 连接 AI 助手 moves to group_apps_ai)
  • tests next to each package's nav contribution

Items under the old group_configuration (5 sites) and group_diagnostics (2) split across several new groups, so each one names its new group explicitly.

D2: remove nav_approvals_inbox (packages/plugins/plugin-approvals/src/approvals-plugin.ts ~:199). It opens approvals:inbox, the same caller-scoped page as the personal app's 「待我审批」 (packages/platform-objects/src/apps/account.app.ts ~:145-148). Setup keeps 审批申请 / 审批历史 / 审批委派. Check that an approval-request record links to the inbox drawer (?request=<id>) so an admin with override rights is one click from acting; if it does not, add that link here.

Acceptance

  • Booting with every first-party package emits zero retired-group-id diagnostics.
  • nav_approvals_inbox is not in Setup; an approval request record opens its inbox drawer in one click.
  • With every capability installed and collapsed groups closed, 28 items are visible.

Reader: the dev who takes this card after #39053 and #39057 merge (the CLI order pin test and the items' English source labels change there).


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    First touch · 2026-12-02T07:08Z

    定级:area:ux · Task · p2 · 插件贡献的设置项改指新分组 id(#39050)· 读码

  2. added
    domain:server
    pm:blocked
    on Dec 2, 2026
  3. added a commit that references this issue on Dec 2, 2026
  4. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS

    Note for whoever takes this card · 2026-12-02T09:02Z · from the contract-tier L2 on #39092 (#39053 PR 1, S1 in record 7339624012):

  5. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Scope note · 2026-12-02T19:29Z · From os-support-ai's mailbox note 7355065166: the contract review of #39161 (#39057) found five names in the epic's table that neither #39057's rename nor this card covers.

    • 概览
    • 应用市场 (浏览应用市场)
    • 品牌外观 (品牌)
    • 审批委派 (审批委派(外出))
    • 权限集

    They belong to this card. When it unblocks (#39057 merged), the claim re-reads each on main. Any that is not a plugin-contributed item, and 权限集, which has no entry on main, goes to the maintainer before anything is built.

  6. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Unlock · 2026-12-02T22:06Z

    Triage: Blocked-by #39053、#39057 均已关闭(#39057 由 PR #39161 合并),pm:blocked → pm:queue。Setup 专题 #39050 子卡,p2;#39060 仍等本卡。

  7. added
    pm:queue
    and removed
    pm:blocked
    on Dec 2, 2026
  8. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Claim: PM loop (epic:#39050 pick; the maintainer's 「setup 专题 还是你负责」「setup 专题 你要加速处理」, recorded 7360379234 on #34830)
    Session: session_01QSeKYnrQ7UMtHofKQVjcH2
    Account: os-justin
    Branch: claude/issue-39058-plugin-items-new-groups
    Worktree: objectstack-issue-39058
    Domain: domain:server
    Seat: repo:objectstack@os-justin
    File surface:

  9. added
    pm:dispatched
    on Dec 2, 2026
  10. 7 remaining items

  11. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
    os-dev-report

    {
      "issue": 39058,
      "status": "blocked",
      "branch": "claude/issue-39058-plugin-items-new-groups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39202",
      "session": "session_01QSeKYnrQ7UMtHofKQVjcH2",
      "premise_still_valid": true,
      "summary": "All 15 claimed contribution files now name the new Setup group ids directly. The retired configuration and diagnostics groups were split explicitly: security goes to access_sharing at 150; sharing is split into access_sharing at 200 and routing_approvals at 200; messaging is split into notifications at 100 and 300; knowledge goes to apps_ai at 250 and 251; the full table is in the PR. mcp nav_connect_agent moves to group_apps_ai at 400 and carries requiredPermissions ['manage_platform_settings'] itself. The gate is pinned over the RestServer meta route and the pin was ablated. Ruling D2: nav_approvals_inbox is removed from Setup. No request-to-inbox link is missing, because the sys_approval_request record page carries the record:approval_decision panel and the inbox's ?request=ID route is untouched. BLOCKED on a surface breach the seat must grant or route. Four files outside the claim are red on head 17ff8c32ec: two packages/cli/test pins, which encode the old placement (connect-agent-both-halves-wire.pin.test.ts and setup-integrations-order.pin.test.ts); and the mcp and service-datasource vitest.config.ts, which need OS_REGISTRY_LOG warn, plus a platform-objects/apps anchored alias for datasource. I did not edit them, per 'stop on a breach'. Composed boot of every first-party package: 1 retired-group diagnostic left, and it is the carve-out (service-automation connector-credentials-ui.ts, group_integrations to group_integrations_dev, suggested priority 120). 0 missing-group diagnostics. Visible count with collapsed groups closed: 29, or 28 without the org-scoping service. Against the table: +nav_organization (kept by #39057), +queue members, minus 权限集, which is absent on main.",
      "tests": "Head 17ff8c32ec, full suites under os-verify-lock (VERDICT command-exit 0): plugin-approvals 148 files and 2366 tests passed; plugin-audit 118 files and 1966 passed; plugin-sharing 81 files, 1776 passed and 11 skipped; plugin-webhooks 28 files and 324 passed; cloud-connection 1376 passed; mcp 89 files and 1661 passed. Targeted runs: service-knowledge 55/55, service-settings 16, service-messaging 9, service-datasource 1, plugin-auth scim 7/7, plugin-security nav 6/6. plugin-auth and plugin-security full suites were narrowed and are owed to CI. Typecheck passed for all 12 packages. Cross-package, after rebuilding the 12: platform-objects src/apps 955/955; objectql protocol-meta and registry-nav-contributions 107; qa/dogfood platform-app-object-entry-views 57; check:app-nav-i18n OK. Two RED in packages/cli/test, outside the surface: connect-agent-both-halves-wire.pin.test.ts and setup-integrations-order.pin.test.ts (length 2 vs 7). Ablation: I removed the requiredPermissions line in mcp connect-ui.ts and 3 tests went red: the setup entry shape, the cannot-widen test, and the wire test where a setup.access-only caller was served nav_connect_agent. The positive case stayed green. Restored with git checkout HEAD -- and git diff HEAD is empty. Real dev boot was NOT MEASURED: check-dev-prereqs refused because 42 packages lack dist. Boot diagnostics were measured with a composed SchemaRegistry fold of 15 contributors instead.",
      "gates": "dispatch-gates --commands on 17ff8c32ec gave 83 families, the same list as on 7c84202e23. 78 exited 0. Exit 1, outside the surface: check:registry-log-declared (mcp and service-datasource vitest.config.ts declare no OS_REGISTRY_LOG) and check:test-source-alias (service-datasource has an unaliased @objectstack/platform-objects/apps). NOT-MEASURED, owed to CI: check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET, workspace not built); check:query-options-erasure and check:type-check-debt (both killed by my 240s per-gate timeout, exit 124, on the shared box). --ran reconciliation: 83 derived, 80 run, 3 NOT-MEASURED. check-platform-checklist was not run because no exported symbol was renamed or removed (only the CONNECT_AGENT_SETUP_CAPABILITY const was added). PR check-runs had no conclusion at report time; CI convergence is the seat's.",
      "mcp_calls": "0",
      "api_writes": "2 relay dispatches via with-fleet --via dispatch: (1) pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/39202/assignees [os-justin], read-back identical 9880 bytes; (2) this os-dev-report comment = POST /issues/39058/comments. Plus git push to the branch (not REST).",
      "classifier_refusals": [],
      "open_questions": [
        { "question": "Surface extension for the four out-of-surface reds (two cli pins, two vitest.config.ts)", "options": ["A grant them to this claim as a patch round (mechanical: retarget the two pins to group_apps_ai and group_integrations_dev with tiers 105/110/115/120/140; add OS_REGISTRY_LOG warn and the anchored alias)", "B route them to a follow-up card blocked on nothing"], "recommendation": "A, because the pins encode exactly the placement this card changed, and the config lines are the gates' own prescribed repair" },
        { "question": "Label renames (应用市场, 品牌外观, 审批委派, and the four English renames deferred by #39057) plus the dead nav_approvals_inbox translation keys and their tombstone row need packages/platform-objects/src/apps/translations, outside this surface", "options": ["A seat files or extends a translations card", "B extend this claim"], "recommendation": "A, because it is a different file family with its own source-hash gates" },
        { "question": "权限集 has no Setup entry on main (nav_permission_sets retired by ADR-0146 D1); the epic table puts it in group 2", "options": ["A keep it retired", "B maintainer reverses D1 for it"], "recommendation": "maintainer's call; seat brings it to the decision thread" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: PR #39144 / #38876 · service-automation connector-credentials-ui.ts still spells group_integrations; it is the last retired-group diagnostic on a full boot; it should be group_integrations_dev at priority 120 · noted, not filed",
        "carrier: objectstack seat (this claim's extension) · stale comments that still name retired groups: packages/cli/scripts/check-app-nav-i18n.mjs (mcp under group_overview), cloud-connection-plugin.ts:51, service-datasource admin-routes.ts:281 and README · noted, not filed",
        "carrier: objectstack seat · deviations: I edited existing harness tests beside the contributions that are not named for #39058 (ruling 6583487846 puts a new pin in an existing harness file); the epic table does not place three items, so I placed them myself: SSO/SCIM to login_security, knowledge to apps_ai, queue members to routing_approvals; plugin-security's previous comment cited ADR-0146 D7 'people-and-organization page', and its entries now follow the epic table into access_sharing · noted, not filed"
      ]
    }
  12. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Claim amendment: widens claim 7360421639 for the dev's open question 1 (report 7361982829), option A. These four files are red on head 17ff8c32ec only because of this card's own placement change, or because of the gates' prescribed repair:
    File surface: packages/cli/test/connect-agent-both-halves-wire.pin.test.ts, packages/cli/test/setup-integrations-order.pin.test.ts (both pins encode the old placement; retarget to group_apps_ai and group_integrations_dev and the new tiers), packages/mcp/vitest.config.ts, packages/services/service-datasource/vitest.config.ts (OS_REGISTRY_LOG set to warn, which check:registry-log-declared prescribes; the anchored @objectstack/platform-objects/apps alias, which check:test-source-alias prescribes) (stop on breach; explain in the report)
    Serial constraints cleared: check-handover --inflight --paths=<the four files> --card=39058 (2026-12-02T23:27Z) reads no overlap. The five path-less claims were read by hand, as at the claim, and are disjoint.

    Routing of the report's other items (seat's call):

  13. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    维护者速读

    • 问题:系统设置改版的定稿表里,「权限与共享」这一组写了一项「权限集」,但今天的系统设置里没有这一项,改版前也没有;管理员要看权限集,是先点「岗位与权限」,再点里面的「权限集」卡片,多一步,每个管理员都一样。
    • 选项:维持现状 —— 不加菜单项,把表里这一行更正为「由岗位与权限承接」,再给「岗位与权限」加上「权限集」这个搜索别名,不需要单独的 PR;加一个直达项 —— 菜单多一行「权限集」,点开就是今天那张权限集列表,编辑仍然进 Studio,约 1 个 PR;把权限集的编辑搬回系统设置 —— 要推翻您 10 月底和 11 月初的两次裁定,先改架构决策记录,再做多个 PR。
    • 推荐:维持现状;理由是您 11 月 1 日裁过「系统设置只留人员相关的页面」,11 月 26 日又定了访问类目录整体放进系统设置的一个入口,而这次改版里您没有一句话点名要「权限集」这一项,表里这一行更像是评估时写多了。
    • 不定会怎样:插件菜单归位这张卡的验收数字(默认可见 28 项)对不上,文档卡不知道该把「权限集」的路径写成什么,端到端测试卡也不知道该不该断言这一项。

    Served-tier: CONTRACT_REVIEW_TIER
    Analysed-by: session_01QSeKYnrQ7UMtHofKQVjcH2 (isolated analyst subagent)

    Analysis written 2026-12-02T23:34Z, read-only, code read at origin/main f1df7a8.

    One-sentence problem

    The agreed menu plan for Setup lists a "Permission sets" row that the product does not have, and an administrator reaches permission sets today through another row of the same group, one click deeper.

    Background

    • The plan is the table in the body of topic 专题:系统设置左侧导航改为两层 10 组——按使用频率排序、一次性设置默认折叠、分组 id 全部换新 #39050 (written by seat os-bob, not a comment). Row 2 reads: 「权限与共享 group_access_sharing | 展开 | 岗位与权限、岗位成员、权限集、权限集授权、共享规则、共享明细」.
    • On main that group holds five entries: nav_access_directory (岗位与权限, platform-owned, packages/platform-objects/src/apps/setup-nav.contributions.ts), nav_position_holders and nav_permission_set_assignment (plugin-security), nav_sharing_rules and nav_record_shares (plugin-sharing). No entry is labelled 权限集.
    • nav_permission_sets was one of four catalog entries (with nav_positions, nav_capabilities, nav_declared_sharing_rules) retired by Setup: retire Setup → Metadata behind redirects into Studio (datasource kept) and retire Packaged automation's flows half; Studio stops linking into Setup #28578. It is pinned dead in packages/platform-objects/src/apps/translations/setup-nav-dead-key-tombstone.test.ts.
    • The page behind 岗位与权限 is the environment directory (ui/packages/app-shell/src/views/setup/AccessDirectoryPage.tsx). It shows four tiles: positions, capabilities, permission sets, sharing rules. The permission-set tile opens /apps/setup/component/security/access-directory/permission?scope=environment. An item opens in Studio at /studio/~all/metadata/permission/NAME?scope=environment. The entry is gated by studio.access on top of setup.access.

    Governing text

    Protocol statement

    No option changes a spec schema or a protocol key. Option B changes an accepted ADR (a governed surface, landed by the maintainer's own merge).

    Premises, each with its re-check

    1. No Setup entry for permission sets on main: git grep -n "nav_permission_sets" origin/main -- packages ui returns only the tombstone test (2 lines). Control: git grep -c "nav_permission_set_assignment" origin/main -- packages/plugins/plugin-security/src/security-plugin.ts gives 1.
    2. There was none at the commit the plan was measured on either: git show 2f9a68cf:packages/platform-objects/src/apps/translations/zh-CN.ts | grep -n "权限" lists 权限集分配 and 岗位与权限 only. So the row is not a kept page. The plan's own sentence 「48 个页面全部保留为独立菜单项」 counts it as one.
    3. The directory serves the permission-set list: git grep -n "ENVIRONMENT_AREA_TYPES" origin/main -- ui/packages/app-shell/src/views/metadata-admin/metadataAreaHost.ts, and the redirect pin ui/apps/console/src/__tests__/AppContent.legacyRedirects.test.tsx line 183 (/system/permissions lands on the directory's permission list). Read, not run in a browser.
    4. The plan's author saw that page the same day: Setup nav entry 「岗位与权限」 opens a page titled 「元数据」 listing capability / permission / position type cards #39046 (same seat, same commit) describes 岗位与权限 opening cards for 能力, 权限集, 岗位, 共享规则. PR fix(app-shell): Setup's Positions and permissions page is titled as its nav entry and hides machine names #39087 then gave it an administrator's face.
    5. The 28 of Plugin-contributed Setup items target the new group ids; 「审批中心」 is no longer a Setup entry (#39050) #39058's acceptance is the table's count with 权限集 in it (1+6+6+6+5+4). The dev measured 29, or 28 without the org-scoping service: plus nav_organization, plus queue members, minus 权限集 (report 7361982829).

    The concrete question

    Is the 权限集 row a wish for a direct menu entry, or a slip that the existing 岗位与权限 entry already answers? Only if it is a wish: a shortcut to today's list, or a Setup-owned editor?

    Options, real cost, effort

    Option What is done What the customer sees Effort
    A, keep retired The seat notes on the topic that the row is carried by 岗位与权限. #39058's count is restated. The directory entry gains 权限集 / Permission Sets as a search alias. Nothing moves. Permission sets stay two clicks from the menu. Typing 权限集 in search finds the door to them, not only the grants page. No PR of its own. The alias rides #39204 (translations, server lane) with one line in the platform nav file. Precedent for aliases on entries: PR #39161 (+1140/−652, 48 files, the whole rename round); for one alias alone: no precedent.
    C, a shortcut row A platform-owned entry in the same group opens the directory's permission-set list. A new id, since the old one is pinned dead. Eleven locale labels, source hashes, the group pin test. A 权限集 row in the menu. It opens the list that the tile opens. Editing still goes to Studio. Positions, capabilities and sharing rules have no such row. server lane · 1 PR · not in #39058's surface (plugin files only). Nearest precedent: PR #37602 (+1318/−206, 65 files), which moved the directory itself and is larger. No ADR text changes, but it re-adds one of the four entries ruling 6554738464 retired, so it needs the maintainer's word.
    B, reverse D1 for it ADR-0146 D1 amended in place by the maintainer, ruling 6554738464 superseded, ADR-0084's placement table touched. Then a Setup-owned list or editor for permission sets. Permission sets are edited inside Setup, as in Salesforce. Two homes for one item unless Studio's is removed. Maintainer-landed ADR amendment (precedent: #37451, PR #37470), then ui lane, several PRs. No precedent for moving an editor back.

    A and C read close on the first axis, and C costs one PR against none. That gap is named here; it does not choose the letter.

    What each option means in business terms

    • A: the floor plan had one room drawn twice; correct the drawing and put a sign on the door.
    • C: add a second door from the corridor into a room that already has one.
    • B: move the workshop back into the front office, five weeks after moving it out.

    The four axes, from the business side

    Long-term soundness. In two years an administrator runs access from Setup through two kinds of page: who holds what (members of positions, grants of permission sets), and one catalog of what can be held, whose items open where they are designed. Mainstream consoles give each access type its own row: Salesforce Setup has Users › Permission Sets, ServiceNow has User Administration › Roles, Dynamics 365 has Users + permissions › Security roles. Those products also edit the item in the same console, which this platform decided against on 2026-10-30 and confirmed on 2026-11-01. Given that split, the Setup side is a list that hands over to Studio, and one row or two is menu density, not the model. A keeps one rule: one catalog entry, four types alike. C makes one of the four special. B undoes the split for one type.

    Business pull. No customer or tester report asks for the row. #39046, the one report on that page, asked for a title and a plain face, and got both. The row's only source is the plan's table.

    Preventing AI and author error. Left as is, the table teaches the next agent that the entry should exist: the docs card would write a path nobody can click, and the end-to-end card would assert a row that is absent. A corrects the table and keeps the dead-id pin, so a re-added nav_permission_sets fails loudly. C adds a second address for one list. The page titles itself from the entry that opens it, so two entries on one page is a new case, unread.

    Not spreading at start-up stage. A adds nothing to maintain. C adds an entry, eleven labels and a pin. B adds an ADR carve-out and a second editor.

    os-decision-facets

    Self-check: only ① chooses A, narrowly over C; do ②③④ flip it: no.

    Recommendation

    A. The row is answered by 岗位与权限. Two rulings in five weeks put the catalog in Setup as one directory and left Setup "only the people pages". Nothing in the topic's rulings asks for more, and premise 2 shows the row was never a kept page. The alias is the one thing worth adding, because the topic's own rule is that every name an administrator might type stays findable.

    Not taken:

    • C: sound if the maintainer wants the row. Today it would special-case one of four types on no report. It can be added any day for one PR, since it touches no protocol.
    • B: reverses D1 and ruling 6554738464 with no new fact since they were made.

    Confidence gap

    • The author's intent is not on record. The mockup linked from the topic could not be opened from this session (not shared with this account). If it draws 权限集 as a deliberate new row and the maintainer approved that drawing, the row is a wish and C applies. I do not recommend C on this doubt.
    • Not run in a browser. The two-click path is read from code and its redirect pins.
    • Gate. An administrator with Setup access and no Studio access sees neither the directory nor, under C, the new row. Ruling 6554738464 accepted that cost. No option changes it.
    • The 48 and the 44. I did not reconcile the plan's page counts item by item. Other rows may also be off by one.

    The overview entry: routing only, no ruling

    概览 is nav_system_overview, declared in the Setup shell itself (packages/platform-objects/src/apps/setup.app.ts), pinned at the top outside every group, gated by manage_platform_settings. That placement is what ruling D1 of the topic asked for ("概览 becomes a pinned item") and it landed with #39053 (PR #39092). #39057 (PR #39161) then made the retired group's name find it. So it is already placed, by the platform's own file, and #39058 has nothing to move. Its label reads 系统概览, where the table's cell says 概览. The topic's rename list does not include it, so I read the cell as shorthand. If the seat wants the shorter label, it is one more line for #39204, which already carries the label renames.

    After the ruling

    Related

  14. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Re-dispatched 2026-12-02T23:48Z · the container restarted and stopped the dev subagent mid-round. A new os-dev subagent of session session_01QSeKYnrQ7UMtHofKQVjcH2 resumes from the pushed head f4d7a5eb88 (no restart from zero), on the same claim.

  15. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
    os-dev-report

    {
      "issue": 39058,
      "status": "done",
      "branch": "claude/issue-39058-plugin-items-new-groups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39202",
      "session": "session_01QSeKYnrQ7UMtHofKQVjcH2",
      "premise_still_valid": true,
      "summary": "Patch round resumed after a container restart from pushed head f4d7a5eb88, which the killed run had already written. I checked it against orders 1, 2 and 4 and needed no new commit. 1: both cli pins are retargeted with their intent kept. In the wire pin, nav_connect_agent is read inside group_apps_ai after nav_packages and nav_settings_ai, and is pinned as absent from the top level. The order pin reads the served group_integrations_dev plus the ids in its renamedFrom. The 7 ids are pinned as the new 7 in tiers 105, 110, 115, 120 and 140; the length, tier-order and 'nothing unordered contributes' checks are unchanged. 2: both configs declare env OS_REGISTRY_LOG warn. service-datasource gets the anchored platform-objects/apps alias. mcp gets an anchored @objectstack/objectql alias instead, because no mcp test imports platform-objects; that is what check:test-source-alias asks for there, and adding an unused alias would be dead config. 4: both stale comments are outside the claimed surface (cloud-connection-plugin.ts and admin-routes.ts are not in it), so they are listed, not fixed. The same commit also touched three per-card or harness tests already in the claim: the cloud-connection and service-datasource setup-nav-groups-39058 tests, and the plugin-auth scim nav harness, which was already declared as a deviation last round. All three pass. PR CI on f4d7a5eb88 is fully green, so there was nothing to fix and nothing to push. The PR stays a draft as Part of #39058. What is left is the connector-credentials carve-out after PR #39144, the translations on #39204, and 权限集, which is with the maintainer and stays retired as on main.",
      "tests": "Head f4d7a5eb88, under os-verify-lock. The cli pins, `pnpm --filter @objectstack/cli exec vitest run --project unit` on both files: 2 files and 3 tests passed (VERDICT command-exit 0). The integration tier was not run locally; the diff does not touch spawn entries, so it is declared to CI. service-datasource full suite with the new config: 76 files and 1318 tests passed. cloud-connection setup-nav-groups-39058.test.ts: 2 passed. plugin-auth scim-credentials-setup-nav.test.ts: 7 passed (VERDICT command-exit 0). The mcp full suite with the new config is NOT MEASURED locally: the lock gave queue-timeout exit 99 twice, 9 minutes each, while holder pid 14810 (a ui vitest run, packages/types, i18n and app-shell) was ALIVE and had held it for more than 18 minutes. Its evidence is CI Test Core 1-12/12, all success on this head. No ablation, because this round changed no tested behaviour.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on f4d7a5eb88 gave 86 families. Each was run with its exit code captured before any pipe. 85 exited 0, including check:registry-log-declared, check:test-source-alias (OK: 129 packages, source reach judged 16 changed test files), check:query-options-erasure (ratchet holds: 25 unswept non-test sites, none new) and check:type-check-debt (re-measure OK, 0 ledger entries, 0 raw tsc errors above the ledger). The last two passed on a 2400s cap. check:dual-build-cjs-loads exited 3, PREREQUISITE NOT MET because the workspace is not built: NOT-MEASURED, owed to CI. --ran verdict: '86 derived famil(ies) accounted for, 85 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)', 0 UNRUN, exit 0. Stale-tree warning: HEAD is 6 commits behind origin/main 75a2d5787f. Those commits share no file with the branch, and the only family file that changed is scripts/pm/seat-numbers.mjs; I did not merge. check-platform-checklist was not run, because no exported symbol was renamed or removed this round. PR check-runs on f4d7a5eb88: 39 success, 18 skipped, 0 failure. Among them: Lint & Repo Gates, Lint · ESLint, Lint · CI release & engine gates, Lint · scoped · query-options erasure, TypeScript Type Check, Type Check · workspace, source gates, consumer gates and debt ledger, Test Core plus 1-12/12, Test UI, Live E2E UI, Check Changeset, Check PR Size, PR-body guards, Dogfood Regression Gate, Build Core and Governed Surface Queue Guard. The previous head's reds (Lint & Repo Gates; TypeScript Type Check, which was a cancelled workspace lane) are gone.",
      "mcp_calls": "0",
      "api_writes": "1: POST /repos/objectstack-ai/objectstack/issues/39058/comments (this os-dev-report, via post-stamped). No git push, because the head is unchanged at f4d7a5eb88.",
      "classifier_refusals": [],
      "open_questions": [],
      "pr_body_edits": [
        "Acceptance notes item 2: replace the 'Outside the claimed surface, red on this head' block with: 'Pins and test configs, granted by claim amendment 7362031530 and fixed in f4d7a5eb88.' The wire pin reads nav_connect_agent in group_apps_ai after Installed Apps and AI Model Service, and pins it absent from the top level. The order pin is keyed on group_integrations_dev plus the ids in its renamedFrom, and pins the 7 ids as the new 7 in five tiers: datasources 105, cloud connection 110, webhooks and HTTP deliveries 115, connector credentials and connections 120, Slack 140. mcp and service-datasource vitest configs declare env OS_REGISTRY_LOG warn. service-datasource gets the anchored @objectstack/platform-objects/apps alias; mcp gets an anchored @objectstack/objectql alias instead, because its tests never import platform-objects.",
        "Acceptance notes item 4, 权限集 bullet: say that this PR keeps nav_permission_sets retired as on main, and that whether it returns is with the maintainer (analysis 7362174445).",
        "Acceptance notes item 3: append 'These land on card #39204.'",
        "Acceptance notes item 6: stale retired-group comments, all outside the claimed surface and listed, not fixed. cloud-connection-plugin.ts:51 and service-datasource admin-routes.ts:281 and README.md:73 name group_integrations. cli/scripts/check-app-nav-i18n.mjs:447 and :607 name group_overview; its lines 510-536 are self-test fixtures and need no change.",
        "Verification: replace the 'Derived gates' details block with one titled 'Derived gates on f4d7a5eb88 (86 families)'. It should say: 85 exit 0, including registry-log-declared, test-source-alias, query-options-erasure and type-check-debt (the last two on a 2400s cap); dual-build-cjs-loads exit 3, NOT MEASURED, owed to CI; --ran reconciles 86 derived, 85 run, 1 NOT-MEASURED, 0 UNRUN; PR check-runs 39 success and 18 skipped with no red. Add a details block titled 'Patch round on f4d7a5eb88'. It should say: cli pins 2 files, 3 tests passed; service-datasource full suite 76 files and 1318 passed; cloud-connection nav pin 2 passed; plugin-auth scim nav 7 passed; mcp full suite NOT MEASURED locally after two lock queue-timeouts, with CI Test Core 12/12 green on this head as its evidence. Retitle 'All readings below are on head 17ff8c32ec' so that it marks which blocks are on f4d7a5eb88."
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: objectstack seat (claim surface) · stale comments naming retired Setup groups, outside this claim's files: packages/cloud-connection/src/cloud-connection-plugin.ts:51 (group_integrations), packages/services/service-datasource/src/admin-routes.ts:281 and README.md:73 (group_integrations), packages/cli/scripts/check-app-nav-i18n.mjs:447 and :607 (group_overview) · noted, not filed",
        "carrier: PR #39144 / #38876 · service-automation connector-credentials-ui.ts still names group_integrations (priority 120 already correct); the one-line follow-up on this card · noted, not filed"
      ],
      "deviations": "Order 2 said to add the platform-objects/apps alias in both configs; mcp got the objectql alias the gate prescribes there, because mcp has no platform-objects import. The cloud-connection per-card test now imports the platform-objects package root, which re-exports ./apps and is aliased in cloud-connection's existing config, instead of adding an alias to cloud-connection/vitest.config.ts, which is outside the claim. I did not merge origin/main (6 commits behind, disjoint)."
    }
  16. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Maintainer ruling · 2026-12-03T01:04Z · on decision analysis 7362174445 (the 权限集 row of the #39050 plan).

    The maintainer, verbatim, in seat repo:objectstack@os-justin's session: 「A 维持现状(推荐)」.

    Ruled A, keep retired:

  17. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
    os-dev-report

    {
      "issue": 39058,
      "status": "done",
      "branch": "claude/issue-39058-plugin-items-new-groups",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/39202",
      "session": "session_01QSeKYnrQ7UMtHofKQVjcH2",
      "premise_still_valid": true,
      "summary": "L1 finding answered: the reading is refuted, because the audience does not narrow. At merge base 9a13387de, Assignment Rules, Queues and Queue Members each already carried their own requiredPermissions ['manage_platform_settings'] (sharing-plugin.ts lines 750-752 at the merge base). The ungated Access & Sharing group therefore never exposed them to a setup.access-only caller. I measured this through the real serve-time filter (rest meta-item-read-gate filterAppForUser) over the real SchemaRegistry fold of SETUP_APP and SETUP_NAV_CONTRIBUTIONS, with the contribution read from git at each revision. At the merge base (via renamedFrom into group_access_sharing), a setup.access-only caller is served none of the three, and setup.access plus manage_platform_settings is served all three. At head (group_routing_approvals) the result is the same. Control: with the item-level gate stripped, the merge-base fold serves all three to setup.access-only, which proves the earlier false readings came from the entries' own gate; the head group withholds them by its group gate. Existing pin: packages/plugins/plugin-sharing/src/setup-nav-groups-39058.test.ts asserts statically that group_routing_approvals carries manage_platform_settings and that each of the three items declares it. I added no serve-filter pin there, because plugin-sharing does not depend on @objectstack/rest and adding it would widen package.json and the vitest config beyond the claim; also, order 2's pin was conditional on narrowing. I added no gate and removed none. To close the changeset's silence on audience, I added one sentence to the Routing & Approvals bullet of the in-claim changeset: these three keep their Setup audience, because each already carries the manage_platform_settings gate the group requires, so a Setup user without it saw them neither before nor now. I pushed 94850f2109; the PR stays a draft.",
      "tests": "Audience measurement (scratch script run with tsx over source; not committed; output quoted): 'merge-base 9a13387de | group group_access_sharing | perms setup.access | served nav_assignment_rules=false nav_queues=false nav_queue_members=false'; 'merge-base ... | perms setup.access+manage_platform_settings | served ...=true (all three)'; 'head f4d7a5eb88 | group group_routing_approvals | perms setup.access | served all false'; '... +manage_platform_settings | all true'; control 'merge-base, item gate removed | perms setup.access | served all true'. The plugin-sharing pin was NOT MEASURED locally on 94850f2109: the lock queue timed out twice (exit 99, 9 minutes each). The holder, pid 14810, is a ui vitest run from worktree objectstack-issue-39147; it was ALIVE at about 190% CPU and had held the lock for about 60 minutes. The source under test is byte-identical between f4d7a5eb88 and 94850f2109, because the only change is the changeset. CI Test Core 1-12/12 passed on 94850f2109. Previous round's local readings on f4d7a5eb88 still stand: the cli pins 3/3, service-datasource 1318/1318, the cloud-connection nav pin 2/2, the plugin-auth scim nav pin 7/7.",
      "gates": "Head 94850f2109, dispatch-gates --commands --repo objectstack-ai/objectstack: 86 families, the same list as on f4d7a5eb88. Each exit code was captured before any pipe. 85 exited 0. Among them: check-changeset-no-major --base origin/main exited 0; check-empty-changeset --base origin/main exited 0 ('1 declaring changeset(s) added', 'No changeset from the merge base modified or deleted'); check:changeset-gate-self-tests, check:nul-bytes, check:registry-log-declared, check:test-source-alias and check:query-options-erasure all exited 0. check:dual-build-cjs-loads now exits 0 (128 require entry points across 75 packages). check:type-check-debt exited 3, PREREQUISITE NOT MET, because its closure build could not get the lock from the same holder: NOT-MEASURED. It was measured exit 0 on f4d7a5eb88, and CI 'Type Check · debt ledger' passed on 94850f2109. --ran verdict: '86 derived famil(ies) accounted for, 85 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)', 0 UNRUN, exit 0. The stale-tree warning now reads 12 commits behind origin/main; I did not merge. PR check-runs on 94850f2109: 39 success, 18 skipped, 0 failure. Among them: Check Changeset, Lint & Repo Gates, TypeScript Type Check, Type Check · workspace, Type Check · debt ledger, Test Core plus 1-12/12, Test UI, Live E2E UI, PR-body guards and Dogfood Regression Gate.",
      "mcp_calls": "0",
      "api_writes": "This round: git push f4d7a5eb88..94850f2109 (not REST), and 1 REST write, POST /repos/objectstack-ai/objectstack/issues/39058/comments (this report, via post-stamped and the fleet-write relay). The previous round on this dispatch posted comment 7363406335. My first push attempt was refused locally by check:commit-card-trailers, because the co-author trailer named the model. I reworded it to the model-free pair on the unpublished commit and pushed. No override was used.",
      "classifier_refusals": [],
      "open_questions": [],
      "pr_body_edits": [
        "Acceptance notes item 2: replace the 'Outside the claimed surface, red on this head' block with: 'Pins and test configs, granted by claim amendment 7362031530 and fixed in f4d7a5eb88.' The wire pin reads nav_connect_agent in group_apps_ai after Installed Apps and AI Model Service, and pins it absent from the top level. The order pin is keyed on group_integrations_dev plus the ids in its renamedFrom, and pins the 7 ids as the new 7 in five tiers: datasources 105, cloud connection 110, webhooks and HTTP deliveries 115, connector credentials and connections 120, Slack 140. mcp and service-datasource vitest configs declare env OS_REGISTRY_LOG warn. service-datasource gets the anchored @objectstack/platform-objects/apps alias; mcp gets an anchored @objectstack/objectql alias instead, because its tests never import platform-objects.",
        "Acceptance notes item 3: append 'These land on card #39204.'",
        "Acceptance notes item 4, 权限集 bullet: say that this PR keeps nav_permission_sets retired as on main, and that whether it returns is with the maintainer (analysis 7362174445).",
        "Acceptance notes item 6: stale retired-group comments, all outside the claimed surface and listed, not fixed. cloud-connection-plugin.ts:51 and service-datasource admin-routes.ts:281 and README.md:73 name group_integrations. cli/scripts/check-app-nav-i18n.mjs:447 and :607 name group_overview; its lines 510-536 are self-test fixtures and need no change.",
        "Acceptance notes, new item 7: 'Routing entries keep their audience. Assignment Rules, Queues and Queue Members move from the ungated Access & Sharing group into Routing & Approvals, which is gated on manage_platform_settings. Each entry already carried that gate itself at the merge base, so a Setup user with setup.access but without manage_platform_settings was not served them before and is not now. This was measured through the meta read gate's app filter over the Setup fold at the merge base and at head, with an ungated control that does serve them. The changeset says so (94850f2109). No gate was added or removed; a different audience would be a separate ruling.'",
        "Verification: replace the 'Derived gates' details block with one titled 'Derived gates on 94850f2109 (86 families)'. It should say: 85 exit 0, including registry-log-declared, test-source-alias, query-options-erasure, the changeset gates and dual-build-cjs-loads; type-check-debt exit 3, PREREQUISITE NOT MET because of lock contention, measured exit 0 on f4d7a5eb88 and with CI 'Type Check · debt ledger' green on 94850f2109; --ran reconciles 86 derived, 85 run, 1 NOT-MEASURED, 0 UNRUN; PR check-runs 39 success and 18 skipped with no red. Add a details block titled 'Patch rounds on f4d7a5eb88 and 94850f2109'. It should say: cli pins 2 files, 3 tests passed; service-datasource full suite 76 files and 1318 passed; cloud-connection nav pin 2 passed; plugin-auth scim nav 7 passed; the mcp full suite and the plugin-sharing nav pin NOT MEASURED locally after lock queue-timeouts, with CI Test Core 12/12 green on both heads as their evidence. Retitle 'All readings below are on head 17ff8c32ec' so that it marks which blocks are on the later heads."
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: objectstack seat (claim surface) · stale comments naming retired Setup groups, outside this claim's files: packages/cloud-connection/src/cloud-connection-plugin.ts:51 (group_integrations), packages/services/service-datasource/src/admin-routes.ts:281 and README.md:73 (group_integrations), packages/cli/scripts/check-app-nav-i18n.mjs:447 and :607 (group_overview) · noted, not filed",
        "carrier: PR #39144 / #38876 · service-automation connector-credentials-ui.ts still names group_integrations (priority 120 already correct); the one-line follow-up on this card · noted, not filed",
        "carrier: objectstack seat · shared verify lock held about 60 minutes by pid 14810 (pnpm exec vitest run --maxWorkers=2 packages/types/ packages/i18n/ packages/app-shell/, worktree objectstack-issue-39147/ui). It was alive and busy, not stuck, but it starved four locked runs in this session · noted, not filed"
      ],
      "deviations": "Order 2 was conditional on narrowing. The audience does not narrow, so I did not add the narrowing sentence or the serve-filter pin. I added instead the accurate audience-unchanged sentence to the changeset, and cited the existing static pin. The worktree /home/user/objectstack-issue-39058 is kept, clean and in sync with origin at 94850f2109, for the connector-credentials follow-up. Every background job and monitor I started has exited."
    }
  18. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

    Closed as completed · 2026-12-03T04:03Z · PR #39202 (Part of #39058) merged; seat ACCEPT 7365062752.

    What this card asked for has landed: the plugin-contributed Setup entries sit in the ten new groups, nav_approvals_inbox left Setup (ruling D2), and nav_connect_agent moved to group_apps_ai with its gate. 权限集 was ruled A (no Setup entry; carried by 岗位与权限).

    What is left is carried by other cards, each in its own state:

    pm:dispatched and the assignee are cleared with this close.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:serverpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions