Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .changeset/38012-agent-knowledge-absorbed-conversion-note.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@objectstack/spec': patch
---

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.

Clause-②: no
Metadata-protocol: none
4 changes: 2 additions & 2 deletions content/docs/ai/agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ own `ask` / `build` records use exactly these fields):
| `instructions` | System prompt / prime directives |
| `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 |
| `skills` | Skill names to attach (the primary Agent → Skill → Tool capability model) |
| `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) |
| `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 |
| `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) |
| `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 |

There is no `type` field and no fixed agent "type" taxonomy — behaviour comes from
persona, instructions, skills, and tools. There are no `triggers` / `schedule`
Expand Down
8 changes: 6 additions & 2 deletions packages/spec/src/ai/agent.zod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,12 @@ export const AIModelConfigSchema = lazySchema(() => acceptRetiredDefaultResidue(
* path never read the agent record, so the whole block was a grounding claim
* nothing enforced. The key's tombstone aged out at protocol 18, so the
* strict `AgentSchema` refuses it as an unknown key naming the upgrade guide.
* The protocol-17 `agent-knowledge-topics-to-sources` conversion remains in
* the chain (it rewrites historical SOURCES and imports nothing from here).
* No conversion for the block's old `topics` spelling is in the chain: the
* protocol-17 `agent-knowledge-topics-to-sources` rename was absorbed before
* release into the removal of the whole block (the ABSORBED note in
* `conversions/entries/17/sharing-rule-access-level-full-to-edit.ts`), so no
* registry or entry module carries that id and `retired-after.census.json`
* has no row for it.
*/

// ── Retired structured-output members (ADR-0049 enforce-or-remove) ──────────
Expand Down
Loading