resolveApprovalRules
resolveApprovalRules(
subject,lists,options?):ApprovalRuleDecision|null
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:448
§3.3 — resolve a call against all three lists, most-restrictive-wins.
Every deny entry is consulted before any escalate entry, and every escalate entry before any allow entry. That ordering is the whole property: author order within a list, and the order in which lists were concatenated, cannot change the outcome, and appending an entry can never perturb an existing one. The first match inside a list decides only which entry is reported.
Returns null when nothing matched — the rung then decides on its own.
Parameters
Section titled “Parameters”subject
Section titled “subject”options?
Section titled “options?”Returns
Section titled “Returns”ApprovalRuleDecision | null