diff --git a/.changeset/37419-ai-skill-tombstone-replacements.md b/.changeset/37419-ai-skill-tombstone-replacements.md new file mode 100644 index 00000000000..e5cec2adc78 --- /dev/null +++ b/.changeset/37419-ai-skill-tombstone-replacements.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the `objectstack-ai` skill names what replaces the two retired agent keys + +Clause-②: no +Metadata-protocol: none + +`skills/objectstack-ai/SKILL.md`: the `agent.tools` tombstone row now says where the tools go (a `defineSkill` under the stack's `skills`), and the `agent.knowledge` row names the two keys that restrict retrieval on the knowledge source (`aiExposed`, `source.where`). The words are paid for in the same file: the skill example loses one sample instruction line. No fact is removed. diff --git a/scripts/check-skills-token-ratchet.mjs b/scripts/check-skills-token-ratchet.mjs index 7ebfaaec6c6..ad5205a8f82 100644 --- a/scripts/check-skills-token-ratchet.mjs +++ b/scripts/check-skills-token-ratchet.mjs @@ -443,7 +443,10 @@ export const CEILINGS = new Map([ // Modify All cast no field vote). 27230 -> 27225 bytes; the row follows the measurement down. // 6800 -> 6799 (card #37304): the `supportKb` example's two renamed keys add // two bytes and its comment gives back six; the row follows the measurement down. - ['skills/objectstack-ai/SKILL.md', 6799], // -18 (was 6824), then -5 A2′ (was 6806) + // 6799 -> 6795 (#37797): LOWERED to the measurement on that PR's head merged + // with `main`. Two retired-key rows name their replacements; one sample + // instruction line left the skill example and over-paid by 4 tokens. + ['skills/objectstack-ai/SKILL.md', 6795], // -18 (was 6824), then -5 A2′ (was 6806) // -12 (was 6331): the `http.server` decision-table row dropped a trailing // clause that taught `contributes.routes` as a key that "parses but serves // nothing". The key is retired — an authored entry is now REFUSED, carrying diff --git a/skills/objectstack-ai/SKILL.md b/skills/objectstack-ai/SKILL.md index 881fcef3a6a..3215031f60e 100644 --- a/skills/objectstack-ai/SKILL.md +++ b/skills/objectstack-ai/SKILL.md @@ -90,7 +90,6 @@ export default defineSkill({ When managing cases: - Always check for duplicate cases before creating a new one. - Set priority by customer tier: Enterprise → High, Pro → Medium, Free → Low. - - Escalated cases must summarise the actions already taken. `, // Two platform tools (rung 2) and this stack's own Action (rung 3). tools: ['query_records', 'get_record', 'action_crm_escalate_case'], @@ -458,8 +457,8 @@ is a parse error carrying its migration | Retired key | REMOVED in protocol 17 — why, and what replaces it | |:--|:--| -| `agent.tools` | The inline slot resolved names against the *full* registry with no surface check. Not a rename: the migration deletes the key and names each tool that was listed; re-declare each in a skill (ADR-0064) | -| `agent.knowledge` | Declaring sources/indexes on an agent never scoped retrieval — `search_knowledge` takes `sourceIds` from the model's tool-call arguments. Restrict at the knowledge-service / source level; describe intended grounding in `instructions` | +| `agent.tools` | The inline slot resolved names against the *full* registry with no surface check. Not a rename: the migration deletes the key and names each tool that was listed; re-declare each in a `defineSkill` under the stack's `skills` (ADR-0064) | +| `agent.knowledge` | Declaring sources/indexes on an agent never scoped retrieval — `search_knowledge` takes `sourceIds` from the model's tool-call arguments. Restrict on the knowledge source (`aiExposed`, `source.where`); describe intended grounding in `instructions` | ---