Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/37419-ai-skill-tombstone-replacements.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 4 additions & 1 deletion scripts/check-skills-token-ratchet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions skills/objectstack-ai/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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` |

---

Expand Down
Loading