Risk decisions and policy
See every payment decision made by the risk engine and the policy file it follows.
What it is
The Risk engine page lists every payment decision taken by rules, plus the thresholds and rules themselves. The decisions come from deterministic code. The AI does not decide them. All money is simulated.
Who uses it
Admin Admins and judges read this page. It is view-only.
When to use it
- To see how many actions were auto-released, sent for approval or blocked.
- To find out why one action got a certain tier.
- To check the limits (for example the Tier 1 maximum amount).
Step by step
Open Risk engine
In the sidebar choose Risk engine. Four counters show Auto-released, One-tap approvals, OTP-required and Blocked.
Decision counters. Read Decisions per day
The stacked chart shows decisions per day. Press Show chart data as a table for the numbers.
Decisions per day. Check Recent decisions
Each row shows When, Deal, Action, Tier, Decision, Reasons and Origin. Press Show rule trace to see which rules fired.
A decision with its rule trace. Read the Risk policy
Lower on the page, Risk policy lists thresholds and rules in groups: Block, Tier 3 and Tier 2. Press Show raw config/risk.yaml to see the source file.
The policy as loaded from the server.
What the results mean
| Item | Meaning |
|---|---|
| Tier 1 | Released automatically. |
| Tier 2 (One-tap approvals) | A person must tap to approve. Tier 2 · One-tap approval |
| Tier 3 (OTP-required) | OTP and a 10-minute cooling-off. Tier 3 · OTP + cooling-off |
| Blocked | Nothing can proceed (for example a sanctions hit). |
| Allowed / Approval required / Blocked | The decision column. |
| Origin | Where the action started (for example a user screen or the agent). |
Thresholds shown: Tier 1 maximum amount, fraud score above (Tier 3), new beneficiary window in days, and cooling-off in minutes.
Tips and common mistakes
- The policy table is read-only. The policy is edited in the server file
backend/config/risk.yaml, not in the web app. - The highest tier wins, and a Block beats every tier.
- Try the risk playground opens
/demo/risk-playground, a dry run that saves nothing.