← Back
Harness Approval
ApprovalPrompt.init [intermediate]Agent-harness approval gate: blast-radius preview and keyboard-driven allow/deny scope choice
Agent-harness approval gate: blast-radius preview and keyboard-driven allow/deny scope choice
For the full interactive experience:
$ mix raxol.playground
Code
{:ok, approval} =
ApprovalPrompt.init(
id: "harness-approval-demo",
action: @risky_action,
blast_radius: @risky_blast_radius
)
%{model | show: true, approval: approval, last_decision: nil}