Skip to content

Interface: HumanNode<TMode> ​

Defined in: ast/human-node.ts:11

Passive AST node representing an external human authority or notification target (P.human(id)).

Binds a logical human authority role identifier to either a bidirectional decision channel or a one-way notification channel, along with an optional slot-yielding keep-alive window.

Type Parameters ​

Type ParameterDefault typeDescription
TMode extends "bidirectional" | "notify-only""bidirectional" | "notify-only"Interaction mode supported by the underlying human channel ('bidirectional' | 'notify-only').

Properties ​

PropertyModifierTypeDescriptionDefined in
channelreadonlyHumanChannelASTNode<TMode>Passive human channel AST node (SlackApproverNode, SlackNotifierNode, or custom channel).ast/human-node.ts:21
idreadonlystringUnique identifier of the human authority role.ast/human-node.ts:17
keepAliveSeconds?readonlynumberOptional keep-alive duration in seconds before yielding a concurrency slot while awaiting a decision.ast/human-node.ts:19
typereadonly"harness:human"Discriminant identifying a human authority AST node.ast/human-node.ts:15

Released under the MIT License.