Skip to content

Commit b64bb72

Browse files
docs(spec): the disabledActions description names Setup › Packaged Actions, not the retired Packaged automation page (#29511)
domain:spec#1 · os-steve · session_01ADHkmPi25XXKx92Xmg4viS <!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi983WcYofmE11yucgRHg2cVP)_ Fixes #29446 Fixes #28820 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:`disabledActions` 字段说明里"在 Setup › Packaged automation 关掉"改为 Setup › Packaged Actions,并重新生成两页 API 参考文档。 - 为什么改:Packaged automation 页面已退役,管理员照着已发布的 API 参考去找会找不到;packaged action 的开关现在在 Setup 的 Packaged Actions。 - 风险与回滚:只改文字,字段形状、何时出现、ACTION_DISABLED 错误码都不变;回滚即 revert 本 PR。 - 先看:packages/spec/src/api/protocol.zod.ts(disabledActions 的 describe 一行)、content/docs/references/api/app-bundle.mdx。 - 两分钟验证:`git grep -n -i 'packaged automation' -- packages/spec content/docs/references` 应无命中。 - 需要你做的:无,席位落地。 ## What changes - `packages/spec/src/api/protocol.zod.ts`: the `disabledActions` `.describe()` now says an administrator turned the actions off under **Setup › Packaged Actions** (the `nav_packaged_actions` entry's label in `packages/platform-objects/src/apps/setup-nav.contributions.ts`), not the retired Setup › Packaged automation page. The same spelling the sibling #29374 PR (#29476) gives the `ACTION_DISABLED` refusal sentence. - Regenerated `content/docs/references/api/protocol.mdx` (1 row) and `content/docs/references/api/app-bundle.mdx` (5 rows) through `check:generated --fix`, which proved only `check:docs` stale. - `.changeset/29446-disabled-actions-packaged-actions.md`: `@objectstack/spec` patch. That was the only spec occurrence: `git grep -n -i 'packaged automation' -- packages/spec` returns nothing on this head. Not `packages/types` (#29374's half, PR #29476). ## Tests Words only, so no test is added or edited, and no forced test edit. No spec test pins this sentence. <details><summary>Spec suite at d734db7/daa54ce6 (describe + regen; the later merge brought in ui/ only)</summary> - `os-verify-lock -c 'pnpm --filter @objectstack/spec test && pnpm --filter @objectstack/spec typecheck'`: `VERDICT command-exit 0`, Test Files 792 passed (792), Tests 23519 passed, 1 todo; typecheck and `check:test-typecheck` OK. - `pnpm --filter @objectstack/spec check:generated`: before the fix `1 of 14 artifact(s) stale: check:docs`; `--fix` regenerated only those two pages (`VERDICT command-exit 0`). </details> ## Acceptance notes - Not a contract-face change: the accept/reject result of every input is the same, so no consumer package tests are owed. - Other open PRs on `protocol.zod.ts` (#29218, #29456) edit other regions. ## Verification <details><summary>Derived gates at 6558d23: 97 derived, 97 run, 0 NOT-MEASURED, 0 UNRUN</summary> - `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` listed 97 commands; every one exited 0. - Six first exited 3 (PREREQUISITE NOT MET, not a red) and exited 0 once their prerequisite was met: `check-plugin-teardown-shape --self-test` (shallow clone, fetched the commit its fixture needs), `check:doc-formula-expressions` and `check:doc-security-posture` (built `@objectstack/formula` and `@objectstack/lint`), `check:skill-examples`, `check:dual-build-cjs-loads` and `check:lean-entry-closure` (built `./packages/**`, 78/78 tasks). - `--ran` reconciliation: `✓ 97 derived famil(ies) accounted for — 97 run, 0 NOT-MEASURED`. - `check-changeset-no-major.mjs --base origin/main --event` on this body: exit 0, `Clause-②: no`, `Metadata-protocol: none`, level patch. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmSE1wCSKEv15rWZ5G2)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmSE1wCSKEv15rWZ5G2 --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8e505db commit b64bb72

4 files changed

Lines changed: 19 additions & 7 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): the `disabledActions` description names Setup › Packaged Actions, not the retired Setup › Packaged automation page
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The description of `disabledActions`, the key a `GET /api/v1/meta/object/:name` read serves beside `item`, told the reader that an administrator turned those actions off under Setup › Packaged automation. That page is retired: a packaged action's switch is on Setup's Packaged Actions page. The description, and the generated API reference pages built from it (`protocol` and `app-bundle`), now name Setup › Packaged Actions.
11+
12+
Words only. The key's shape, when it is present, and the `ACTION_DISABLED` code are unchanged.

0 commit comments

Comments
 (0)