diff --git a/AGENTS.md b/AGENTS.md index db20d3f7e4..833aeeea45 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -59,7 +59,7 @@ packages/ Harness packages, grouped by role at packages///. core/ product API spine session/ event-sourced session log + in-memory store system-prompt/ prompt-section + tool-schema assembly registry - tools/ tool registry + tools/execute waterfall + tools/ tool registry + tools/pre-execute/post-execute pipeline agent/ Agent interface, registry, agent/* event vocabulary agent-loop/ THE concrete plugin: ReactLoopAgent + the loop driver agent-core/ bundle plugin: the providerless/executor-less/UI-less spine diff --git a/packages/core/tools/src/index.ts b/packages/core/tools/src/index.ts index a8f881c214..b08403503e 100644 --- a/packages/core/tools/src/index.ts +++ b/packages/core/tools/src/index.ts @@ -224,7 +224,7 @@ export interface ToolResult { isError: boolean } -/** One pending tool call, as it flows through the execution waterfall. */ +/** One pending tool call, as it flows through the execution pipeline (`tools/pre-execute` → dispatch → `tools/post-execute`). */ export interface ToolExecution { callId: CallId name: string diff --git a/packages/core/tools/src/schema.ts b/packages/core/tools/src/schema.ts index b717eabf9a..05197986bd 100644 --- a/packages/core/tools/src/schema.ts +++ b/packages/core/tools/src/schema.ts @@ -182,7 +182,7 @@ export function schemaSpecToJsonSchema(spec: SchemaSpec): JsonSchemaObject { /** * Thrown by a {@link defineTool} tool when the model-generated arguments don't * match the declared {@link SchemaSpec}. Extends {@link HarnessError} - * (`code: 'INVALID_ARGS'`); the registry's execute waterfall catches it and + * (`code: 'INVALID_ARGS'`); the registry's execution pipeline catches it and * returns an `isError` ToolExecutionResult carrying the structured error, so * the model can self-correct and downstream plugins can route on the code. */