Human Approval Gate
Pauses high-stakes actions until a different human reviews the exact parameters and approves.
Either you block AI from ever helping with high-stakes tasks, or you let it click irreversible buttons unsupervised.
The AI prepares everything, pauses cleanly, and executes only the exact approved parameters once a second person says yes.
What It Does (In Plain English)
For irreversible commit actions (sending money, deleting data, signing contracts), Approvals parks the task safely and notifies an approver with the exact arguments and a hash of the live target record. Self-approval is blocked, and if the live record changes while waiting, the approval automatically invalidates.
Real-World Example
- 1Agent proposes a $12,000 wire transfer (
committool). - 2Approvals hashes the parameters and live account state, parks the task, and alerts Finance.
- 3A Finance approver (not the requester) inspects the diff and clicks Approve.
- 4Approvals issues a single-use grant, wakes the task, re-checks the live state hash, and executes once.
When Should You Turn It On?
Required automatically at Level 4 (commit).
Safety level note: Level 4 · Commit — High-stakes actions pause for a human to approve the exact details.
How to Add It (workspace.yaml)
level: commit
kits:
- "@neusym/kit-approvals@0.1.0"
kitConfigs:
approvals:
allowSelfApprove: false
expireAfterMs: 14400000Kits It Works With
Technical Details & Configuration Options (6 settings)
| Package | @neusym/kit-approvals |
|---|---|
| Provides Ports | approvals@1 |
| Requires Ports | grants@1 |
| Optional Ports | diagnostics@1goals@1notifier@1scheduler@1scopes@1secrets@1 |
| Publishes Events | approval.requestedapproval.decidedapproval.expiredapproval.stalesignal.resolved |
| Owned DB Collections | approvals |
Configuration Options (kitConfigs.approvals)
| Setting | Type | Default | Description |
|---|---|---|---|
allowSelfApprove | boolean | false | — |
expireAfterMs | integer | 259200000 | How long a request stays open before it expires, when the request names no expiry (0: never). With scheduler@1 bound, an expiry timer wakes the task waiting on it. |
defaultRequiredApprovers | integer | 1 | Default number of distinct approvers required before an approval completes (1-5). |
defaultAllowedApproverRoles | array | [] | Optional default role names required to approve pending requests. |
approverRolesByActor | object | {} | Optional declarative map of actorId -> assigned approver role names. |
escalationSteps | array | [] | Optional progressive SLA escalation steps scheduled when a request stays pending. |