Skip to main content
Behavioral learning handles the gray areas; policy rules handle the absolutes. Rules let you encode hard constraints that adjust the risk score directly — block a recipient outright, cap a single transfer, or restrict trading hours — regardless of what the vault has learned.

Global Limits

Every vault has a set of limits applied on every proposal. Update them from Telegram (update limits) or PATCH /status.

Custom Rules

Beyond global limits, you can define named rules evaluated on every proposal. Each rule has a type, conditions, an action, and a priority. Each rule’s action is approve, review, or block, and it contributes a riskScoreDelta to the score when triggered.

Example: block large transfers

Manage rules from Telegram (list rules, create rule, update rule, delete rule) or directly via the Rules API.
Rules and behavioral factors stack. A trusted recipient subtracts risk; a triggered block rule adds 70+. The final score (clamped 0–100) is mapped to APPROVE / REVIEW / BLOCK by your configured thresholds.