Interface: ScopedHumanTargetNode<TResponse>
Defined in: ast/scoped-human-target-node.ts:12
Passive AST node representing a role-aliased bidirectional human decision target with a bound output schema (human.withName(alias).output(schema)).
Used by P.lane.maxCostUsd and structured human approval gates where the human channel must validate its response against a specific Zod schema outputSchema.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TResponse | unknown | Validated human decision response type. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
alias | readonly | string | Role alias displayed in decision requests and audit logs. | ast/scoped-human-target-node.ts:18 |
human | readonly | HumanNode<"bidirectional"> | Underlying bidirectional HumanNode authority. | ast/scoped-human-target-node.ts:16 |
outputSchema | readonly | ZodType<TResponse> | Zod schema validating the human's decision response. | ast/scoped-human-target-node.ts:20 |
type | readonly | "harness:scoped-human" | Discriminant identifying a scoped human target AST node. | ast/scoped-human-target-node.ts:14 |