You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d5d88f5
Browse filesBrowse the repository at this point in the historyBrowse files
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>
|**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. |
|**skills**|`string[]`| optional | Skill names to attach (Agent→Skill→Tool architecture) |
55
55
|**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);
80
80
|**maxTokens**|`number`| optional ||
81
81
|**topP**|`number`| optional ||
82
82
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 |
0 commit comments