System map
One mobile surface, one runtime spine, multiple controlled lanes.
The current architecture is organized around an idempotent API entrypoint, queue-backed relay, audited storage, and a device-first control surface.
Core topology
- SwiftUI front end for Panel, Markets, Bots, and Settings surfaces.
- FastAPI runtime for health, ready, outbox admin, and runbook APIs.
- Redis and Kafka for relay, retry, and asynchronous delivery paths.
- Postgres for durable order, outbox, and audit persistence.
- Prometheus and Grafana for metrics, trend lanes, and runtime dashboards.
Primary control domains
- TrainingJourney for onboarding, prerequisites, and secure capability checks.
- MarketBridge for snapshot, bridge, and guide orchestration.
- Panel and HQ Admin for runtime pulse, outbox pressure, and replay controls.
- TradeView for DCA, grid, copy-trade rehearsal, and outbox clearing.