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/37782-ai-skill-retired-agent-keys-refusal.md
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 4 additions & 4 deletions skills/objectstack-ai/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
Loading