Skip to content

ApprovalRuleDecision

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:407

What the rule lists decided about a call, or null when no entry matched.

action: "allow" | "deny" | "escalate"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:409

§3 — most-restrictive-wins: deny over escalate over allow.


entry: ApprovalEntry

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:411

The entry that fired, for the provenance the prompt and the refusal message must show.


rate: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:417

§3.2 — for an allow action, whether the rater still reviews the call as a tripwire. Always false for deny (nothing to rate) and for escalate (which goes straight to the human with no rating call, because the user pre-decided that a human answers).