diff --git a/.changeset/37782-ai-skill-retired-agent-keys-refusal.md b/.changeset/37782-ai-skill-retired-agent-keys-refusal.md new file mode 100644 index 00000000000..e0e3fa1d65c --- /dev/null +++ b/.changeset/37782-ai-skill-retired-agent-keys-refusal.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the `objectstack-ai` skill describes the refusal the two retired agent keys get today + +Clause-②: no +Metadata-protocol: none + +`skills/objectstack-ai/SKILL.md`: the paragraph above the retired-key table called `agent.tools` and `agent.knowledge` tombstones whose parse error carries its migration, and cited two line numbers of `agent.zod.ts` that no longer point at either key. Both tombstones left the schema in protocol 18. The paragraph now says what the strict `AgentSchema` does: it refuses each as an unknown key, and the refusal names https://objectstack.ai/docs/protocol-upgrade. The table header says the same in short. The two table rows and what they teach as replacements are unchanged, and the file's token count is unchanged. diff --git a/skills/objectstack-ai/SKILL.md b/skills/objectstack-ai/SKILL.md index 881fcef3a6a..6f7734e1052 100644 --- a/skills/objectstack-ai/SKILL.md +++ b/skills/objectstack-ai/SKILL.md @@ -452,11 +452,11 @@ absent or `true` = the binding rule above. part), auto-registered **only** when an analytics service (`IAnalyticsService`) is wired — `query_data` / `aggregate_data` return numbers, not charts. -Two `AgentSchema` keys are **tombstones**, not legacy options — authoring either -is a parse error carrying its migration -(`packages/spec/src/ai/agent.zod.ts:234, :251`): +Two `AgentSchema` keys are retired, not legacy options: the strict schema +refuses each as an unknown key, naming +https://objectstack.ai/docs/protocol-upgrade: -| Retired key | REMOVED in protocol 17 — why, and what replaces it | +| Retired key | Removed in 17, tombstone gone in 18 — 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` |