diff --git a/.changeset/38012-agent-knowledge-absorbed-conversion-note.md b/.changeset/38012-agent-knowledge-absorbed-conversion-note.md new file mode 100644 index 00000000000..e98a3dd1143 --- /dev/null +++ b/.changeset/38012-agent-knowledge-absorbed-conversion-note.md @@ -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 diff --git a/content/docs/ai/agents.mdx b/content/docs/ai/agents.mdx index 299298dba44..4669735debe 100644 --- a/content/docs/ai/agents.mdx +++ b/content/docs/ai/agents.mdx @@ -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_` 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_` 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` diff --git a/packages/spec/src/ai/agent.zod.ts b/packages/spec/src/ai/agent.zod.ts index b17236b238b..aa0c14e0fe3 100644 --- a/packages/spec/src/ai/agent.zod.ts +++ b/packages/spec/src/ai/agent.zod.ts @@ -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) ──────────