GatedCallOutcome
@forge/monorepo / backend/src / GatedCallOutcome
Type Alias: GatedCallOutcome
GatedCallOutcome = {
outcome:"result";result:ToolResult; } | {approval:PendingApproval;outcome:"approval-requested"; }
Defined in: backend/src/hitl/approved-execution.ts:67
Union Members
Type Literal
{ outcome: "result"; result: ToolResult; }
The call ran (or failed on its own terms) — the ordinary path, approval or no approval.
Type Literal
{ approval: PendingApproval; outcome: "approval-requested"; }
The call needs a human. The run should pause; the approval is durable until decided.