Interface: FlowNode<TIn, THandle, TStepIds>
Defined in: ast/flow-node.ts:17
Passive AST node representing a declarative multi-step workflow (P.flow(id)).
Binds an input schema, a capability-tiered IsolationScopeASTNode, an optional TelemetryCollectorASTNode, an ordered sequence of FlowStepNode and FlowBranchNode items, and a terminal exitState label.
Type Parameters
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
__stepIdsBrand? | readonly | BivariantCallback<[stepId: TStepIds], void> | Phantom bivariant brand preserving TStepIds across flow composition boundaries. | ast/flow-node.ts:39 |
exitState | readonly | string | Terminal exit state label recorded when the flow completes its final node. | ast/flow-node.ts:37 |
id | readonly | string | Unique identifier of the flow. | ast/flow-node.ts:25 |
inputSchema | readonly | ZodType<TIn> | Zod schema validating the work item input entering the flow. | ast/flow-node.ts:27 |
nodes | readonly | readonly ( | FlowStepNode<unknown, unknown, THandle, string> | FlowBranchNode<TIn, unknown, THandle, string>)[] | Ordered sequence of step and branch AST nodes executed by the flow. | ast/flow-node.ts:33 |
scope | readonly | IsolationScopeASTNode<THandle, Record<string, unknown>, Record<string, unknown>> | Passive isolation scope AST node governing workspace lifecycle, checkpoints, and branching. | ast/flow-node.ts:29 |
telemetry? | readonly | FsTelemetryCollectorNode | Optional passive telemetry collector AST node folding observed ToolEffect lists into custom metrics. | ast/flow-node.ts:31 |
type | readonly | "harness:flow" | Discriminant identifying a workflow AST node. | ast/flow-node.ts:23 |