Skip to content

Commit c5a5d51

Browse files
committed
docs(ai): agents page names the excess-property tsc error for the removed tools and knowledge keys; spec patch changeset
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cxBECSPtHxQMZDHSie
1 parent b812eb6 commit c5a5d51

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): the note where `AIKnowledgeSchema` used to live no longer says the protocol-17 `agent-knowledge-topics-to-sources` conversion is still in the chain. That rename was absorbed before release into the removal of the whole `agent.knowledge` block, so no registry or entry module carries the id and `retired-after.census.json` has no row for it. Comment only: no schema, type or export changes.
6+
7+
Clause-②: no
8+
Metadata-protocol: none

‎content/docs/ai/agents.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ own `ask` / `build` records use exactly these fields):
308308
| `instructions` | System prompt / prime directives |
309309
| `model` | Model config: `model` (the model name, optional — absent means the deployment's default model), `temperature`, `maxTokens`, `topP`. There is no `provider`: it was **removed in protocol 19 (#37712)** because no runtime read it — the deployment's AI settings choose the provider, and resolve the model name among the providers they turn on |
310310
| `skills` | Skill names to attach (the primary Agent → Skill → Tool capability model) |
311-
| `tools` | **Removed in protocol 17 (#3894)** — the key is not on the type, and the strict schema refuses it as an unknown key, naming the [upgrade guide](https://objectstack.ai/docs/protocol-upgrade). This is **not** a rename: there is no key the value moves to. Declare each tool on a **skill** instead — a platform tool by its registered name, or `action_<name>` for one of your own AI-exposed Actions — and attach that skill through `skills` (ADR-0064) |
312-
| `knowledge` | **Removed in protocol 17 (#3896)** — the key is not on the type, and the strict schema refuses it as an unknown key, naming the [upgrade guide](https://objectstack.ai/docs/protocol-upgrade). Declaring `sources` / `indexes` here never scoped retrieval: `search_knowledge` takes `sourceIds` from the LLM's own tool-call arguments, not from the agent record, so an author who “scoped” access here scoped nothing. This is **not** a rename: there is no key the value moves to — delete the block. Restrict retrieval at the knowledge-service / source level (per-source permissions), and describe intended grounding in `instructions` so the model asks for the right sources |
311+
| `tools` | **Removed in protocol 17 (#3894)** — the key is not on the type, so a `defineAgent({ … })` literal that sets it fails `tsc` as an excess property, and the strict schema refuses it at parse as an unknown key, naming the [upgrade guide](https://objectstack.ai/docs/protocol-upgrade). This is **not** a rename: there is no key the value moves to. Declare each tool on a **skill** instead — a platform tool by its registered name, or `action_<name>` for one of your own AI-exposed Actions — and attach that skill through `skills` (ADR-0064) |
312+
| `knowledge` | **Removed in protocol 17 (#3896)** — the key is not on the type, so a `defineAgent({ … })` literal that sets it fails `tsc` as an excess property, and the strict schema refuses it at parse as an unknown key, naming the [upgrade guide](https://objectstack.ai/docs/protocol-upgrade). Declaring `sources` / `indexes` here never scoped retrieval: `search_knowledge` takes `sourceIds` from the LLM's own tool-call arguments, not from the agent record, so an author who “scoped” access here scoped nothing. This is **not** a rename: there is no key the value moves to — delete the block. Restrict retrieval at the knowledge-service / source level (per-source permissions), and describe intended grounding in `instructions` so the model asks for the right sources |
313313

314314
There is no `type` field and no fixed agent "type" taxonomy — behaviour comes from
315315
persona, instructions, skills, and tools. There are no `triggers` / `schedule`

0 commit comments

Comments
 (0)