Skip to content

Commit d5d88f5

Browse files
committed
docs(spec): regenerate agent.mdx on the merged tree
The merge of main brought the agent.lifecycle retirement. agent.mdx is generated, so it is regenerated from the merged tree instead of being text-merged, and state-machine.mdx stays deleted as main has it. Against main's copy, the references delta is 453 rows on 85 pages. Each row only adds `?` to a defaulted member (925 markers), and no other byte moves. Claude-Session: https://claude.ai/code/session_01UtnxvdiN376GF3sgXwAw4d Co-authored-by: Claude <noreply@anthropic.com>
1 parent ac83ab0 commit d5d88f5

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

‎content/docs/references/ai/agent.mdx‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const result = AIModelConfigSchema.parse(data);
4949
| **role** | `string` | ✅ | The persona/role (e.g. "Senior Support Engineer") |
5050
| **instructions** | `string` | ✅ | System Prompt / Prime Directives |
5151
| **model** | `{ provider?: Enum<'openai' \| 'azure_openai' \| 'anthropic' \| 'local'>; model: string; temperature?: number; maxTokens?: number; … }` | optional | |
52-
| **lifecycle** | `{ id: string; description?: string; contextSchema?: Record<string, any>; initial: string; … }` | optional | [EXPERIMENTAL — not enforced] State machine defining the agent conversation flow and constraints. Parsed but no runtime consumer yet. |
52+
| **lifecycle** | `never` | optional | [REMOVED] `agent.lifecycle` was removed in @objectstack/spec 17.7.0 (ADR-0049 enforce-or-remove) — no runtime ever read it: no agent moved through a declared state and no transition was ever refused. Delete the key. A phase of a conversation is a skill with its own `instructions` and `tools`, selected by its `triggerConditions` (ADR-0064); multi-step process orchestration is a Flow (ADR-0019); a record's status transitions are a `state_machine` validation rule on the object (ADR-0020). Run `os migrate meta --from 17` to list the mechanical edits for existing sources; apply them by hand. |
5353
| **surface** | `Enum<'ask' \| 'build'>` | optional (default: `"ask"`) | Product surface this agent binds ('ask' \| 'build') — ADR-0063 §1 |
5454
| **skills** | `string[]` | optional | Skill names to attach (Agent→Skill→Tool architecture) |
5555
| **tools** | `never` | optional | [REMOVED] `agent.tools` was removed in @objectstack/spec 17 — use `skills`. An agent reaches exactly the tools its surface-compatible skills declare (ADR-0064), so move each reference into a skill: a platform tool by its registered name, or `action_<name>` for one of your own AI-exposed Actions. This is NOT a rename — there is no key the value moves to: the migration DELETES the key and emits a notice naming each tool that was listed, and you re-declare each one in a skill by hand. ADR-0064 itself still reads `Proposed` and is cloud-owned — that scopes its RUNTIME half (tool resolution, which lives in cloud `service-ai`), not this rejection: the authoring invariant binds you here, and ADR-0109 (Accepted — implemented) is the in-repo record that carries it. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; apply them by hand. |
@@ -80,17 +80,6 @@ const result = AIModelConfigSchema.parse(data);
8080
| **maxTokens** | `number` | optional | |
8181
| **topP** | `number` | optional | |
8282

83-
### Nested Shape: `Agent.lifecycle`
84-
85-
| Property | Type | Required | Description |
86-
| :--- | :--- | :--- | :--- |
87-
| **id** | `string` | ✅ | Unique Machine ID |
88-
| **description** | `string` | optional | |
89-
| **contextSchema** | `Record<string, any>` | optional | Zod Schema for the machine context/memory |
90-
| **initial** | `string` | ✅ | Initial State ID |
91-
| **states** | `Record<string, { type?: Enum<'atomic' \| 'compound' \| 'parallel' \| 'final' \| 'history'>; entry?: (string \| object)[]; exit?: (string \| object)[]; on?: Record<string, string \| object \| object[]>; … }>` | ✅ | State Nodes |
92-
| **on** | `Record<string, string \| { target?: string; cond?: string \| object; actions?: (string \| object)[]; description?: string } \| { target?: string; cond?: string \| object; actions?: (string \| object)[]; description?: string }[]>` | optional | |
93-
9483
### Nested Shape: `Agent.planning`
9584

9685
| Property | Type | Required | Description |

0 commit comments

Comments
 (0)