Section 071
Reduce-Only Mode
When the executor cannot trust its data or the venue, it switches to closing positions only until health returns.
Reduce-only mode is the executor's answer to uncertainty. If it cannot be sure what the market is doing or what the book holds, it stops adding risk but keeps removing it.
Triggers are classified by severity:
- Critical causes switch a book to reduce-only immediately: an unreconciled position mismatch, venue rejection of account state, a lost lease on the writing instance, or an inconsistency in the book's ledger.
- Transient causes switch it only if they persist for 10 seconds: missing market data, venue read errors, slow responses or a WebSocket gap.
While in reduce-only mode:
- Every order is sent with the reduce-only flag, so it can only shrink positions.
- Leader exits are still copied; leader entries are recorded as skipped with the reason.
- Pending entry orders are cancelled.
The book leaves reduce-only mode automatically after 3 consecutive healthy checks: fresh data, a reconciled snapshot and a valid lease. No manual reactivation is needed, so a short outage costs a few minutes of entries, never a stopped product. Each switch into and out of the mode is recorded with its cause, so the decision trail explains every skipped entry.