Section 095
Incident Response
What happens when something goes wrong: detect, contain with exits open, fix the root cause, and report.
Incidents are handled with one priority: protect user funds while keeping positions managed. Concretely, containment never stops exits.
- Detect. Alerts fire on stale venue data, failed reconciliations, watchdog restarts, unexpected positions, stuck deposits or withdrawals, and service heartbeats that stop.
- Contain. The executor switches to reduce-only mode automatically on critical faults (section 71): no new entries, exits continue. Affected deposit or withdrawal items move to a review state; others keep flowing.
- Diagnose. Engineers reproduce the problem from logs and venue data and identify the root cause before changing anything in production.
- Fix and verify. The fix is tested against a copy of production data, deployed outside the weekly cutoff window and verified on the live system.
- Report. Users affected receive a notice in the interface. Material incidents get a public summary: what happened, impact, root cause and changes made.
If a third party fails (the venue, Circle, a blockchain or the sign-in provider), OpenHedge waits for it to recover, keeps exits running where possible and documents any delay. Post-incident reviews are blameless and focus on the system change that prevents a repeat.