POST /queue
Stores a proposed transfer, runsanalyzeRisk() inline against the vault’s patterns and policy, and routes it by verdict:
- APPROVE (< 40) — server self-calls
/execute, broadcasts, and notifies Telegram; returnsautoApproved: trueand thesignature - REVIEW (40–70) — marks
in_review, sends a Telegram message with ✅ / ❌ / 🔎 buttons - BLOCK (≥ 70) — marks
in_review, sends an urgent Telegram alert
screeningDisabled is set, the proposal is stored and returned without scoring.
Request
Response
If risk analysis fails (e.g. patterns can’t be loaded), the proposal is still stored and the response includes
riskError instead of risk.
