Skip to content

已安装应用的动作启停:开关搬到 Studio 对应应用的动作条目上,设置里的「打包动作」页退休 #34724

Closed

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #34571(控制台核心业务操作体验专题,维护者直派,「都是p1」)。⛔ 不是认领。
维护者 2026-11-17 原话:「打包动作不是应该在 studio 对应的软件包中自定义吗」;对「平台自己的动作不给启停开关」的答复:「同意,立卡」。

本卡改的是 ADR-0146 D4 明确留下的一项:「The action ledger switch is out of this epic … action keeps ADR-0126 §8's disable leg where it is」。维护者 11-17 的话把它定了方向,与 10-30 对流程的那条裁决一致(「正常的操作我应该是在studio中进入 hotcrm app,选中一个流程,点禁用或者复制更符合逻辑吧?」)。ADR-0146 的 D4 需要随本卡加一条带日期的修订说明。

现状(读码,objectstack origin/main a34eb07;界面实测在本地 HotCRM 实例)

  • 流程的启停开关已在 Studio 的流程条目上(ui/packages/app-shell/src/views/studio-design/FlowLedgerSwitch.tsx,由 StudioDesignSurface.tsx 约 :8812 渲染),设置里的打包流程页已退休。
  • 动作的启停开关还在设置:导航项 nav_packaged_actions(packages/platform-objects/src/apps/setup-nav.contributions.ts:79–85,注释 :55–59 写明 D4 把它留在这里),页面 ui/packages/app-shell/src/views/setup/PackagedActionsPage.tsx,数据层 setup/packagedActions.ts 与 PackagedActionsSection.tsx。
  • 实测:这页是一张 40 多行的平铺表,已安装应用的动作(安排会议、打印报价)和平台自己的动作(编辑 OIDC 设置、撤销 API 密钥、封禁用户、创建用户)混在一起,每行一个开关;zh-CN 下菜单名是「打包动作」。
  • 动作在 Studio 里已有位置:数据栏里对象的「动作」视图 studio-design/ObjectActionsPanel.tsx,列出厂商的动作以及配对 .custom 包里自己写的动作(pairObjectActions.ts)。独立的 action 元数据条目在「全部元数据」区。
  • 开关的读写门不用变:读 sys_metadata_activation(metadata_type: 'action'),写走 objectstack#12348 的翻转门;packagedActions.ts 里的读取与合并规则可以原样复用。

要做的

  1. Studio 里,只读应用的对象「动作」视图上,每个厂商动作带「本环境启用 / 停用」开关,读写与设置页现在用的是同一套门;措辞与流程的开关一致(「本部署已停用」),拒绝时原样显示服务端的话。
  2. 独立的 action 条目在它的条目页上带同一个开关。
  3. 平台自己的动作(内核包提供的,如 sys_user、sys_api_key、sys_sso_provider 上的动作)不提供开关,界面上任何地方都不出现它们的启停。
  4. 设置里的 nav_packaged_actions 导航项与 PackagedActionsPage 退休,原地址跳转到 Studio(跳转在第 1、2 项落地之后才生效,中间不留空档)。
  5. Studio 着陆页上每个应用的「已停用 N 项」已经包含动作;点进去能找到被停用的动作。
  6. ADR-0146 D4 加修订说明;setup-nav.contributions.ts 的注释与钉住该导航项的测试(setup-packaged-actions-nav.test.ts、setup-landing-audience.pin.test.ts)随之更新。

不做的

  • 不给动作开覆盖通道:ADR-0146 D6 规定代码类类型没有覆盖,改不了厂商动作的行为,只能停用,或在自己的包里另写一个。
  • 不改账本与写门的权限(围墙部署下仍只有平台管理员能翻转)。
  • 已经被停用的平台动作如何处理不在本卡内:实现前先查线上账本里有没有这样的行,有的话在卡上报数,由维护者定。

验收

  1. 在 Studio 打开 HotCRM 的商机对象「动作」视图,停用「克隆商机」:记录页上该按钮按现有规则不再可用;设置里不再有「打包动作」菜单。
  2. 访问旧地址跳到 Studio。
  3. Studio 里找不到「封禁用户」「撤销 API 密钥」这类平台动作的开关。
  4. 无权翻转的用户看到的是禁用态和服务端的原话,不是一个点了就 403 的开关。

Reader: domain:ui 车道为主(ObjectActionsPanel.tsx、setup/PackagedActions*),platform-objects 的导航项与 ADR 修订需要 domain:server / 文档配合。

Dedupe: repo:objectstack-ai/objectstack packaged actions switch Studio ObjectActionsPanel ledger retire Setup page → 0 条命中,没有把动作开关搬到 Studio 的卡(含已关);#27842、#27504 是开关本身的行为,均已关。

Activity

  1. added
    enhancement
    priority:p1
    domain:ui
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: pm:queue · 2026-11-17T08:49Z

    ⛔ Not a claim.

  3. added
    pm:queue
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziD6XhBNH9acXaG2Me

    Claim: PM loop round 1 · 2026-11-17T08:52Z
    Session: session_01WGufzgh1zkZzDXL36ckWAG
    Thread session: session_01WGufziD6XhBNH9acXaG2Me
    Account: os-support-ai
    Branch: claude/project-thread-oq71f6 (card-thread pinned branch, one PR for items 1-6)
    Worktree: objectstack (thread checkout)
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface (measured on dc66d33 by a repo-wide census of Packaged Actions / automation:packaged-actions / nav_packaged_actions; wider than the seat order's list, reported to the seat for amendment):

    • Studio switch: ui/packages/app-shell/src/views/studio-design/{ObjectActionsPanel,FlowLedgerSwitch}.tsx, views/studio-design/setupMetadataRedirect.ts, views/metadata-admin/ResourceEditPage.tsx (the standalone action item page only), views/setup/packagedActions.ts + a new views/setup/packagedActionLedger.ts (the reads and the flip, moved out of the retired section), their tests, ui/packages/i18n/src/namespaces/studio/{en,zh}.ts (new keys only)
    • Retirement: packages/platform-objects/src/apps/setup-nav.contributions.ts, apps/setup-packaged-actions-nav.test.ts, apps/translations/*.ts + *.source-hashes.ts (the nav_packaged_actions label), apps/translations/setup-nav-dead-key-tombstone.test.ts, packages/cli/test/setup-landing-audience.pin.test.ts; ui/packages/app-shell/src/views/setup/PackagedActions{Page,Section}.tsx + tests (deleted), services/builtinComponents.tsx, src/index.ts (the PackagedActionsPage export), console/AppContent.tsx (old URL → Studio), console/__tests__/AppContent.setupMetadataStudio-28578.test.tsx, views/studio-design/noRetiredSetupLink-28578.test.ts
    • Text the retirement makes false: packages/types/src/packaged-item-turned-off.ts (+ test: the action sentence names Setup › Packaged Actions) and the tests that pin that sentence (packages/objectql/src/action-activation.test.ts, packages/runtime/src/domains/action-activation-dispatch.test.ts, packages/qa/dogfood/test/{api-action-door-forward,packaged-action-disabled-dispatch-live}.dogfood.test.ts); packages/spec/src/api/protocol.zod.ts (disabledActions .describe() text only) + regenerated content/docs/references/api/{app-bundle,protocol}.mdx; comment-only mentions in packages/services/service-automation/src/connector-credentials-ui.ts, packages/platform-objects/src/system/sys-metadata-activation.object.test.ts, ui/packages/core/src/utils/served-object-label.ts; docs/qa/platform-checklist/{RUNNER,FOLLOW-UPS}.md and areas/{automation,api-backend}.json
    • docs/adr/0146-*.md (D4 amendment note only), root .changeset/
      Container & model: L, mode:thread (large card; hands its head back to area o3-D), model: TIER_DEFAULT, effort: high
      Clause-②: yes (narrowing: the Setup nav_packaged_actions entry, its automation:packaged-actions page and the public PackagedActionsPage export of @object-ui/app-shell retire; widening: new studio-namespace locale keys)
      Metadata-protocol: none (no spec schema changes; platform-objects serves one fewer Setup navigation item, and one .describe() sentence changes)
      Responsibility: n/a — not a defect card
      Ruling-ref: the card body (maintainer 2026-11-17 「打包动作不是应该在 studio 对应的软件包中自定义吗」, and 「同意,立卡」 for no switch on platform actions); ADR-0146 D4 gains a dated amendment (Tier H)
      Thread-read: 6943266493
      Premise: holds (on dc66d33 the action switch is still the Setup page PackagedActionsPage behind nav_packaged_actions; the flow precedent FlowLedgerSwitch is in Studio; the action door is POST /actions/_activation/:object/:action)
      Serial constraints cleared: views/studio-design/** neighbours PR feat(studio): Open app returns from the workbench to the running app; the switcher hides kernel packages #34677, PR feat(console-ai): an AI build shows the app itself in the main area, with one Publish on screen #34713, the Studio 里的 AI 面板:与应用里的 AI 助手统一名字、入口、宽度和标题栏,放大改为原地铺满 #34725 and Studio 着陆页:按「要做什么」重排,说明缩成一句,「只读」换成「定制」,两张无包卡片换说法 #34715/Studio 着陆页:加一张「本环境的定制」汇总,所有已安装应用的改动列在一处 #34714 threads: this card does not touch StudioDesignSurface.tsx or BuilderLanding.tsx; overlap-check before every push. Item 5 (the landing's switched-off link) is BuilderLanding.tsx, held by the Studio 着陆页:按「要做什么」重排,说明缩成一句,「只读」换成「定制」,两张无包卡片换说法 #34715 thread: reported to the seat.

    Lease o3-D (seat post #34584); child of epic #34571.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Claim amendment · 2026-11-17T08:54Z

    Claim 6943333260 (branch claude/project-thread-oq71f6): file surface widens to the card thread's repo-wide census on dc66d33, because retiring the Setup page makes text false outside the order's list:

    • ui/apps/console/src/**/AppContent.tsx (old-URL redirect route)
    • ui/packages/app-shell/src/index.ts (removes the public PackagedActionsPage export)
    • ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx (item 2: the standalone action entry page)
    • packages/platform-objects/** translations, source-hashes and the dead-key tombstone test (nav label)
    • packages/types/**/packaged-item-turned-off.ts (the runtime ACTION_DISABLED sentence that names "Setup > Packaged Actions") and the objectql / runtime / dogfood tests that pin that sentence
    • packages/spec/src/api/protocol.zod.ts (disabledActions .describe() names the Setup page) and the regenerated content/docs/** output
    • docs/qa/platform-checklist/ RUNNER, FOLLOW-UPS, automation.json, api-backend.json

    Clause-②: yes (narrowing: the Setup nav item, page and the public PackagedActionsPage export retire; old URL redirects). Landing needs the dogfood battery on the exact head.
    Metadata-protocol: the spec .describe() text changes (no key or value change).
    Review: governed docs/adr (ADR-0146 D4 amendment) and published spec schema text ⇒ seat L2 at CONTRACT_REVIEW_TIER; Tier H, os-zhuang approval.
    Item 5 (the landing's 已停用 N 项 path must reach a switched-off action): stays in this card. BuilderLanding.tsx joins the surface only after #34715's PR merges; then merge main, change that one link, and run overlap-check against #34714's PR before each push.

  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziD6XhBNH9acXaG2Me

    #34724 · 不做的 #3: already switched-off PLATFORM actions in the activation ledger — what was and was not measured (2026-11-17T09:20Z)

    Not measured: any production or customer ledger. This thread has no read access to a deployed environment, so the live count the card asks for is still open. Nothing below stands in for it.

    Measured (local, this branch, origin/main f6f5b50 + the change):

    Reading Result
    Fresh showcase boot (pnpm dev -- --fresh), admin GET /api/v1/data/sys_metadata_activation?top=1000 {"records":[],"total":0,"hasMore":false}: 0 rows of any type
    Seeds and examples that write the ledger (grep sys_metadata_activation examples/, seed files, dogfood fixtures) none; a ledger row exists only after an operator flips something
    Could the retired page switch off a platform action? (collectPackagedActions at HEAD, packagedActions.ts) yes: it listed every action whose package id was not sys_metadata and not org-authored, which includes kernel packages' actions (sys_user ban_user, sys_api_key revoke_api_key, …)
    Does the write door refuse platform actions? no; the server door is unchanged by this card

    So a deployment can already hold active: false rows for platform actions, written through the retired page or the door. After this change those rows still take effect, but no console surface offers a switch to turn them back on.

    The query for the maintainer, per deployment (as a platform operator):

    1. GET /api/v1/data/sys_metadata_activation?top=1000, then keep rows with metadata_type = 'action' and active = false, grouped by package_id.
    2. GET /api/v1/packages gives each package's manifest.scope. Any package_id from step 1 whose scope is system or cloud, or that the Studio package switcher does not list, is a switched-off platform action.

    Recovery if any are found: POST /api/v1/actions/_activation/<object>/<action> with body {"enabled": true} (object-less actions use global). That is the same door the Studio switch calls, and it needs no console UI.

    Whether to ship a migration that clears such rows, or a one-off notice, is a maintainer call. The seat has this comment.

  8. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Ruled: maintainer, decision card in seat 3's thread · recorded 2026-11-17T09:42Z

    The maintainer answered at 2026-11-17T09:42Z the question 「停用过的平台动作在设置页退休后怎么处理?」 with A 「保持原状并写明恢复方法」.

    On exclusion #3 (reading 6943920659): rows that already switch off a platform (kernel-package) action stay in force. No boot or upgrade step re-enables them, and the write door is unchanged. The changeset / release note names the per-deployment query (treat hasMore: true as incomplete) and the recovery POST /actions/_activation/:object/:action {enabled:true}.

    In scope with it (independent review): this PR rewrites the ACTION_DISABLED sentence in packages/types/**/packaged-item-turned-off.ts; for a platform action Studio has no switch, so the sentence must name the activation door rather than Studio.

    Options not taken: the door refusing platform switch-off (would reverse packages/runtime/src/domains/actions.ts's written stance), an upgrade step re-enabling rows, a temporary Studio re-enable list.

  9. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziD6XhBNH9acXaG2Me
    os-dev-report

    {
     "issue": 34724,
     "status": "done",
     "branch": "claude/project-thread-oq71f6",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34799",
     "head_sha": "86e18a95b4c14aaf23b37da2040b1a7c9cdff72c",
     "session": "session_01WGufziD6XhBNH9acXaG2Me",
     "premise_still_valid": true,
     "summary": "A read-only app package's vendor action carries the activation ledger switch in Studio (object Actions view and the standalone action item page), with the flow switch's control, pre-judged gate and verbatim refusals; platform (kernel-package) actions and unreadable package lists get none. Setup's nav_packaged_actions entry, its page and the PackagedActionsPage export retire in the same change; the old URL redirects to Studio. Per ruling 6944409840, switched-off platform action rows stay; the ACTION_DISABLED sentence for one names the activation door, and the changeset carries the per-deployment query and recovery. Item 5 (landing link) waits for #34715's PR, per seat amendment 6943362097.",
     "tests": "New: ObjectActionsPanel.ledgerSwitch-34724.test.tsx 11 pass, ResourceEditPage.actionLedgerSwitch-34724.test.tsx 4 pass; objectql 606 files / 13604 tests pass; types 916 pass; runtime activation files 209 pass; platform-objects 41 files / 819 pass; cli setup-landing pin pass. Ablation: replacing the kernel judgement in engine-actions.ts with false turns 'a switched-off platform action's sentence names the activation door' red (1 failed / 22 passed), restored. Live browser on a showcase dev boot: AC1-4 read as in the PR body (switch flip POST bodies, ledger rows, persisted after reload, no switch on plugin-auth sys_user actions, no Setup entry, two redirects). Walled state not measured live (single posture boot); unit-pinned.",
     "gates": "dispatch-gates --commands: 129 + check:error-status-conformance; 124 exit 0 first run; adr-0087 exit 1 -> disposition added, exit 0; spec check:generated exit 1 (test-typecheck OOM) -> check:test-typecheck alone exit 0; lean-entry-closure exit 1 -> metadata-protocol import removed, exit 0; test-source-alias exit 1 -> collection-time imports added, exit 0; plugin-teardown --self-test exit 3 (shallow clone cannot reach its pinned fixture; CI); error-status-conformance exit 0; overlap-check (12 neighbour PRs) clean exit 0; check-nul-bytes OK; CI families: see the PR's check-runs.",
     "dogfood_battery": "6b36d1681b (tree f867b47e1a, identical to pushed head 86e18a95b4) · os-verify-lock VERDICT command-exit 0 · Test Files 478 passed / 3 skipped (481) · Tests 4055 passed / 68 skipped (4123) · no failures",
     "mcp_calls": "1 read (issue_read schema load only, no call) + subscribe_pr_activity; 0 MCP GitHub writes",
     "api_writes": "5 relay writes: label-write claim comment 6943333260; post-stamped 6943920659; dispatch pr_create #34799; post-stamped this report",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · the packagedAutomation.* console locale keys the retired page read are unread now and left for a later sweep (noted in the changeset)"
     ],
     "deviations": [
      "Item 5 deferred to after #34715's PR merges (seat amendment 6943362097)",
      "ruling 6944409840 scope added: types sentence variant + objectql projection keeps package per disabled row",
      "changed lines 3265 > 3000: human-merge line as well as Tier H"
     ],
     "files_changed": [
      ".changeset/34724-action-switch-moves-to-studio.md",
      "content/docs/references/api/app-bundle.mdx",
      "content/docs/references/api/protocol.mdx",
      "docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md",
      "docs/qa/platform-checklist/RUNNER.md",
      "docs/qa/platform-checklist/areas/api-backend.json",
      "docs/qa/platform-checklist/areas/automation.json",
      "docs/qa/platform-checklist/areas/platform-core.json",
      "packages/cli/test/setup-landing-audience.pin.test.ts",
      "packages/objectql/src/action-activation.test.ts",
      "packages/objectql/src/action-activation.ts",
      "packages/objectql/src/engine-actions.ts",
      "packages/platform-objects/src/apps/setup-nav.contributions.ts",
      "packages/platform-objects/src/apps/setup-packaged-actions-nav.test.ts",
      "packages/platform-objects/src/apps/setup-packages-door.test.ts",
      "packages/platform-objects/src/apps/translations/ar.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/ar.ts",
      "packages/platform-objects/src/apps/translations/de.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/de.ts",
      "packages/platform-objects/src/apps/translations/en.ts",
      "packages/platform-objects/src/apps/translations/es-ES.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/es-ES.ts",
      "packages/platform-objects/src/apps/translations/fr.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/fr.ts",
      "packages/platform-objects/src/apps/translations/ja-JP.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/ja-JP.ts",
      "packages/platform-objects/src/apps/translations/ko.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/ko.ts",
      "packages/platform-objects/src/apps/translations/pt-BR.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/pt-BR.ts",
      "packages/platform-objects/src/apps/translations/ru.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/ru.ts",
      "packages/platform-objects/src/apps/translations/setup-nav-dead-key-tombstone.test.ts",
      "packages/platform-objects/src/apps/translations/zh-CN.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/zh-CN.ts",
      "packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.ts",
      "packages/platform-objects/src/apps/translations/zh-Hant.ts",
      "packages/platform-objects/src/system/sys-metadata-activation.object.test.ts",
      "packages/qa/dogfood/test/api-action-door-forward.dogfood.test.ts",
      "packages/qa/dogfood/test/packaged-action-disabled-dispatch-live.dogfood.test.ts",
      "packages/runtime/src/domains/action-activation-dispatch.test.ts",
      "packages/services/service-automation/src/connector-credentials-ui.ts",
      "packages/spec/src/api/protocol.zod.ts",
      "packages/types/src/packaged-item-turned-off.test.ts",
      "packages/types/src/packaged-item-turned-off.ts",
      "ui/packages/app-shell/src/console/AppContent.tsx",
      "ui/packages/app-shell/src/console/__tests__/AppContent.setupMetadataStudio-28578.test.tsx",
      "ui/packages/app-shell/src/index.ts",
      "ui/packages/app-shell/src/services/builtinComponents.tsx",
      "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.actionLedgerSwitch-34724.test.tsx",
      "ui/packages/app-shell/src/views/metadata-admin/ResourceEditPage.tsx",
      "ui/packages/app-shell/src/views/setup/PackagedActionsPage.navContribution.test.tsx",
      "ui/packages/app-shell/src/views/setup/PackagedActionsPage.tsx",
      "ui/packages/app-shell/src/views/setup/PackagedActionsSection.test.tsx",
      "ui/packages/app-shell/src/views/setup/PackagedActionsSection.tsx",
      "ui/packages/app-shell/src/views/setup/packagedActionLedger.ts",
      "ui/packages/app-shell/src/views/setup/packagedActions.test.ts",
      "ui/packages/app-shell/src/views/setup/packagedActions.ts",
      "ui/packages/app-shell/src/views/studio-design/FlowLedgerSwitch.tsx",
      "ui/packages/app-shell/src/views/studio-design/ObjectActionsPanel.ledgerSwitch-34724.test.tsx",
      "ui/packages/app-shell/src/views/studio-design/ObjectActionsPanel.tsx",
      "ui/packages/app-shell/src/views/studio-design/noRetiredSetupLink-28578.test.ts",
      "ui/packages/app-shell/src/views/studio-design/setupMetadataRedirect.test.ts",
      "ui/packages/app-shell/src/views/studio-design/setupMetadataRedirect.ts",
      "ui/packages/core/src/utils/served-object-label.ts",
      "ui/packages/i18n/src/namespaces/studio/en.ts",
      "ui/packages/i18n/src/namespaces/studio/zh.ts"
     ]
    }
  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Claim amendment 2 · 2026-11-17T11:03Z

    Claim 6943333260 with amendment 6943362097, answering L1-b REWORK 6946188330 (PR #34799 @ 86e18a95).

    M2, surface. These four files join the claim surface; they carry ruling 6944409840 (the platform-action sentence names the activation door) and the nav retirement's pins:

    • packages/objectql/src/action-activation.ts and packages/objectql/src/engine-actions.ts (the switched-off row keeps its package; describeDisabledAction judges a kernel package locally, because ./core must not import metadata-protocol)
    • docs/qa/platform-checklist/areas/platform-core.json
    • packages/platform-objects/src/apps/setup-packages-door.test.ts

    M3, declaration. The line reads, in this amendment, the PR body and the changeset:
    Clause-②: yes (narrowing: the Setup nav item, page and the public PackagedActionsPage export retire, the old URL redirects; widening: new studio-namespace locale keys, @objectstack/types describeTurnedOffPackagedItem(kind, options?) with the exported TurnedOffPackagedItemOptions, and @objectstack/objectql ActionActivationProjection.disabledPackageOf(name) with describeDisabled(name, platform?))
    The seat L2 at CONTRACT_REVIEW_TIER reads both widenings.

    S1, order. Item 5 stays in this PR. os-zhuang is asked only after the item 5 push (BuilderLanding.tsx plus its pin), once #34747 (#34715) is on main; L1-b reads that delta, then the seat's L2 delta, then the Tier H record.

  11. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Claim amendment 2, M3 line corrected · 2026-11-17T11:04Z

    The card thread's wording is exact (@object-ui/app-shell is private, so the page export is not a published narrowing). The Clause-② line of amendment 6946211234 is replaced, verbatim, in the claim, the PR body and the changeset by:

    Clause-②: yes (narrowing: Setup's nav_packaged_actions entry and its automation:packaged-actions console page retire, and PackagedActionsPage leaves the private @object-ui/app-shell; widening: new studio-namespace locale keys, an optional options argument and the exported TurnedOffPackagedItemOptions on @objectstack/types' describeTurnedOffPackagedItem, and ActionActivationProjection.disabledPackageOf plus an optional platform argument on describeDisabled in @objectstack/objectql)

    M2 and S1 of 6946211234 stand.

  12. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Claim amendment 3 · 2026-11-17T13:00Z

    This amends the claim as amended by 6946211234 and 6946224637, on PR #34799 @ d6b8707b0a (L1-b delta REWORK 6948695111 M1; seat L2 delta 6948730442 ③).

    1. Surface adds, all serving this card only:
      • packages/objectql/src/engine.ts (the N3 docblock);
      • packages/cli/test/connect-agent-both-halves-wire.pin.test.ts (Setup serves 31 ids, not 33, after nav_packaged_actions retires along with the group_apps entry it alone held);
      • ui/packages/app-shell/src/console/appRouteMetadataReads.ts (the NONE row for the redirect route);
      • ui/packages/app-shell/src/views/studio-design/packageCustomizations-io.ts (item 5's switchedOffActions).
    2. Must-fix before landing (seat L2 M1): item 5 links every switched-off action to the standalone action item page. An action embedded in its object's actions[] is not an action item: its switch lives on the object's Actions view (this PR's own ADR amendment says so). The customizations read serves { type, name } with no object. The landing link must reach the switch for an embedded action too, either by sending it to its object's Actions view or by an equivalent route the dev proves with a live reading on an embedded app action. This rides on the merge-forward push after feat(console): the Studio landing lists every change this environment made to its installed apps in one panel #34825.
    3. After feat(console): the Studio landing lists every change this environment made to its installed apps in one panel #34825 lands: the merge-forward carries switchedOffActions into feat(console): the Studio landing lists every change this environment made to its installed apps in one panel #34825's customizationCountsOf (L1-b M2). A switched-off action then shows both as a named link on its card and as a panel row. That is redundant but consistent, and the seat accepts it.

    Review: L1-b delta, then the seat's L2 delta on the merge-forward head, then dogfood on that exact head, then the Tier H record for os-zhuang.

  13. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Claim amendment 4 · 2026-11-17T13:03Z

    This amends amendment 3 (6948756773), M1 route. The landing resolves an embedded switched-off action's object: when no standalone action item of the base holds the name, it uses the base object whose served actions[] holds it. The link becomes /studio/<pkg>/data?surface=object%3A<obj>&action=<name>.

    Surface add: ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx, Data pillar only. It adds a mount-time ?action= param read next to the existing ?surface= capture, which calls the existing showObjTarget({ kind: 'action', id }) once the deep-linked object opens. That is about 10 lines plus a pin.

    Run overlap-check against #34677 and the merged #34713 before pushing. The live reading uses an object-embedded action added locally to showcase_task and reverted afterwards, uncommitted.

  14. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

    Claim amendment 5 · 2026-11-17T13:51Z

    This amends amendment 4. It covers the merge-forward of PR #34799 over #34825, and folds in the card thread's finding of 13:50Z.

    1. Route as built: the embedded-action lookup sits in a new module, ui/packages/app-shell/src/views/studio-design/switchedOffActionTargets.ts. It makes one list('object', {packageId}) read and maps each action to the object whose actions[] holds it. ?action= is read in useSurfaceDeepLink.ts (and its test), and the Data pillar makes one hook call. Both replace the in-surface read that amendment 4 named. Neither is re-exported, so Clause-②: no holds.
    2. Surface add (same class as M1): ui/packages/app-shell/src/views/studio-design/landingCustomizations-io.ts and LandingCustomizationsPanel.tsx, plus their tests. On main, feat(console): the Studio landing lists every change this environment made to its installed apps in one panel #34825's panel row for a switched-off action links itemHref to /metadata/action/<name> (landingCustomizations-io.ts:108). That page answers 404 for an action embedded in an object. The panel's switched-off action rows now take their link from switchedOffActionPath, fed by the same actionObjects read, so the landing count and the panel row go to the same place.
    3. Pin both links: a standalone action, and an action embedded in an object. Run overlap-check against open PRs before pushing.
  15. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzi3ezPzTysQPDEjmVz

    Closed by merge · 2026-11-18T03:20Z

    PR #34799 (Tier H: ADR-0146 surface, size/xl) merged at 2026-11-17T22:25Z by the maintainer on head 5122812f3e: an installed app's action is switched on or off on the action itself, in Studio, and Setup's Packaged Actions page is retired. Reviews on that head: L1 ACCEPT 6953718644, seat contract review 6953827531, seat record 6955456209. Area o3-D never readied or queued it (Tier H). pm:dispatched and lease:o3-D removed.

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

Metadata

Metadata

Assignees

Labels

domain:uienhancementpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions