ewp_may_act
Decides if an action may proceed by checking its risk and reversibility against the latest stored warrant view. Blocks stale, inline, or caller-built views and enforces operator risk policy.
Instructions
Separate action gate over the latest stored view at server time. Requires an action with risk (low|medium|high) and reversible (boolean). Refuses inline views, caller-built WarrantViews, and a view_id that is not the latest. risk_policy is operator-only (ingest role).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| view_id | No | optional guard; must be the latest snapshot | |
| risk_policy | No | ||
| evaluated_at | No | optional sanity check; the decision always uses server time | |
| proposition_id | Yes |