aps_check_escalation_required
Check whether an action on a v2 delegation requires owner confirmation before execution. Returns required status, requirement details, and reason. Use owner confirmation record to clear the flag.
Instructions
Escalation boundary: check whether an action on a v2 delegation requires owner confirmation before execution. Returns {required, requirement?, reason?}. Use aps_record_owner_confirmation to clear the flag when required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delegation | No | V2Delegation with optional scope.escalation_requirements | |
| action_class | Yes | Action class (e.g. 'org_creation', 'spend_above_threshold') | |
| action_details | No | Structured details; hashed for audit | |
| session_id | No | Session id (required for per_session scope) |