Introduction
Pre-flight simulate a transaction. Halt the moment realized profit drifts from simulation predictions — before drift compounds into real capital loss.
predicted ──▶ simulate ──▶ submit ──▶ realized
│ │
└──────────────▶ reconcile ◀─────────┘
│
halt / continue
This book documents the design, mathematical invariants, and architectural boundaries of driftbrake. For installation and working examples, see the repository README.
Resource Directory
| Resource | Location |
|---|---|
| Source Repository | github.com/Xtley001/driftbrake |
| Rust Package | crates.io/crates/driftbrake |
| Python Package | pypi.org/project/driftbrake-py |
| API Reference | docs.rs/driftbrake |
Navigation
- Architecture: Workspace boundaries, concurrency patterns, persistence, and non-goals.
- Whitepaper: Formal invariant proofs, multi-guard mathematics, and security trade-offs.
- API Reference: Trait signatures, data types, and Python bindings.
- Benchmark Methodology: Parameter calibration and empirical trade-off sweeps.
- Technical Post-Mortem: Case study of simulation failure modes observed in production.