Governance for storefront and marketplace decisions — price and promotion changes, inventory mutations, order acceptance and release, and refunds — against the merchant's margin, inventory and refund floors.
Highest priority first. The first rule whose conditions all hold decides; with none, the decision is a REVIEW.
reject_refund_above_refundable · COMMERCE
AUTO_REJECT → REJECT · urgent · SLA 60 min
A refund that exceeds what the order has left to refund is never sent.
escalate_order_release · COMMERCE
ESCALATE → ESCALATE · elevated · SLA 240 min
Releasing an order the gate held is its own decision and needs an approver to prove who made it.
escalate_large_refund · COMMERCE
ESCALATE → ESCALATE · elevated · SLA 240 min
A refund above the unattended limit needs a named approver before it is sent.
review_repeat_refund · COMMERCE
REQUIRE_REVIEW → REVIEW · elevated · SLA 240 min
A refund on an order line that was already refunded is the double-refund case.
review_margin_floor · COMMERCE
REQUIRE_REVIEW → REVIEW · elevated · SLA 240 min
Review commerce actions that would take net margin below the merchant floor.
review_inventory_floor · COMMERCE
REQUIRE_REVIEW → REVIEW · elevated · SLA 240 min
Review fulfilment when source-of-truth inventory is below the safety floor.
review_discount_stacking · COMMERCE
REQUIRE_REVIEW → REVIEW · elevated · SLA 240 min
Review carts that combine more discount sources than the merchant allows.
approve_routine_commerce · COMMERCE
AUTO_APPROVE → APPROVE · routine · SLA 30 min
A storefront action proceeds when no floor is breached and nothing is held.
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_evaluate arguments
{ "policy_pack": "commerce", "payload": { "action": "<decision type>" } }In a hosted evaluate-decision request
"vertical_pack": "commerce",
"policy_version": "commerce-v1",
"require_exact_policy_version": trueWorkflow keys that resolve to this pack: commerce, commerce_order_release, commerce_refund_approve, commerce_refund_request, commerce_price_change, commerce_promotion_change, commerce_inventory_mutation, commerce_order_acceptance.
decision_type, workflow_key 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.