From 47a39aad02dabfa75b46df273826e6e0f50991b3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Nov 2026 07:47:22 +0000 Subject: [PATCH] docs(skills): the objectstack-ui action-type table no longer lists ask_ai The type left ActionType (ADR-0160 D7). The table row goes, the line under it reads "Every type but `script` requires `target`", and the file's token ceiling follows the measurement down, 2262 to 2228. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01L9qibwetA7wdKM2c8khHDC --- .changeset/37857-skill-ui-action-types-no-ask-ai.md | 10 ++++++++++ scripts/check-skills-token-ratchet.mjs | 5 ++++- skills/objectstack-ui/SKILL.md | 3 +-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .changeset/37857-skill-ui-action-types-no-ask-ai.md diff --git a/.changeset/37857-skill-ui-action-types-no-ask-ai.md b/.changeset/37857-skill-ui-action-types-no-ask-ai.md new file mode 100644 index 00000000000..6c2e3fbac04 --- /dev/null +++ b/.changeset/37857-skill-ui-action-types-no-ask-ai.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the `objectstack-ui` action-type table no longer lists `ask_ai` + +Clause-②: no +Metadata-protocol: none + +The `ask_ai` action type left `ActionType` (ADR-0160 D7), so `skills/objectstack-ui/SKILL.md` stops listing it: the `ask_ai` row leaves the *Action Types* table, and the line under the table reads "Every type but `script` requires `target`", which is what `TARGET_REQUIRED_TYPES` in the spec says. The entry to the in-app assistant is the shell's 「问 AI」 entry, which carries the current record automatically; no page declares an AI button of its own. The file's token ceiling follows the measurement down, 2262 to 2228. diff --git a/scripts/check-skills-token-ratchet.mjs b/scripts/check-skills-token-ratchet.mjs index b44ca19af85..4ca8a440894 100644 --- a/scripts/check-skills-token-ratchet.mjs +++ b/scripts/check-skills-token-ratchet.mjs @@ -1168,7 +1168,10 @@ export const CEILINGS = new Map([ // ceiling +6, the measured remainder only, pinned AT the measurement (2 under the 2264 the // row held before the fence dropped its key). Standing ruling (2026-10-27, tap A): // 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). - ['skills/objectstack-ui/SKILL.md', 2262], // +6 to the measurement (was 2256) + // 2262 -> 2228: the Action Types table drops its `ask_ai` row and the footnote under it + // drops the same name, the type having left `ActionType` (ADR-0160 D7). 9075 bytes (9048 + // priced) -> 8937 (8910 priced) -> 2228 tokens; the row follows the measurement down. + ['skills/objectstack-ui/SKILL.md', 2228], // -34 to the measurement (was 2262) // 8333 -> 6193: RE-LOCK at the landed count after the #19715 split (decision // batch #213 item 1, maintainer 「1 2 4 同意」): the worked R1, the report // template and the v17-canonical shapes block moved VERBATIM into diff --git a/skills/objectstack-ui/SKILL.md b/skills/objectstack-ui/SKILL.md index 98a6e0a1a61..f853fe3ceba 100644 --- a/skills/objectstack-ui/SKILL.md +++ b/skills/objectstack-ui/SKILL.md @@ -148,9 +148,8 @@ never its label ([Actions](./rules/actions.md)): | `flow` | Launch a screen/auto-launched flow by name; a multi-step operation is this, with a flow you also author | | `api` | Call a registered API endpoint | | `form` | Open a FormView by name (routed to `/_console/forms/:name`) | -| `ask_ai` | Open the in-app assistant focused on the one record the action runs on; no `target`, never `ai.exposed: true` | -Every type but `script` and `ask_ai` requires `target`. +Every type but `script` requires `target`. ## Report Types