Delegation of Authority
Approval limits by action, amount and role, imported from a delegation-of-authority matrix and enforced before money moves.
- Key
- delegation_of_authority
- Version
- delegation_of_authority-v1
- Rules
- 2
- Domain
- DELEGATED_AUTHORITY
Rules, in the order the evaluator tries them
Highest priority first. The first rule whose conditions all hold decides; with none, the decision is a REVIEW.
Block amounts in a currency the matrix does not list
priority 200doa-currency-unlisted · DELEGATED_AUTHORITY
When- context.currency not in ["USD"]
ThenAUTO_REJECT → REJECT · elevated · SLA 30 min
An amount in an unlisted currency cannot be compared with an approval limit, so it never runs unattended.
Escalate every listed finance action until a matrix is imported
priority 100doa-approval-required · DELEGATED_AUTHORITY
When- transaction_type in ["payment_release", "vendor_bank_change", "purchase_order", "contract", "journal_entry"]
- amount > 0
ThenESCALATE → ESCALATE · elevated · SLA 60 min
Until an approval matrix is imported, every consequential finance action needs a named approver.
Evaluate under it
Locally, with @decionis/mcp: the payload becomes the request's context, and its action the decision type. On the hosted protocol, once the bundle is stored for your organization, name vertical_pack, policy_version and require_exact_policy_version: true. @decionis/mcp 0.4.0 does not carry this pack: the hosted protocol decides a hosted gateway's requests under it.
decionis_evaluate arguments
{ "policy_pack": "delegation_of_authority", "payload": { "action": "<decision type>" } }In a hosted evaluate-decision request
"vertical_pack": "delegation_of_authority",
"policy_version": "delegation_of_authority-v1",
"require_exact_policy_version": trueWorkflow keys that resolve to this pack: delegation_of_authority.
What its rules read
amount, transaction_type are fields of the request itself, not of its context. A value put only in the context is discarded, and the evaluator holds the decision as an ESCALATE rather than decide without it. @decionis/mcp puts the whole payload in the context, so a payload that carries amount, transaction_type is held.
- amountrequest
- context.currency
- transaction_typerequest
Signals it maps
- auto_clear_ratiofinance_workflow
- escalation_ratiofinance_workflow
- above_matrix_countfinance_workflow
