Ten external feeds. Real-time trade streams, authoritative REST fills, market discovery, on-chain tx metadata, LLM news scoring, and the historical / funding backfills loaded at startup.
Streams are merged and de-duplicated (UNIQUE tx_hash), markets discovered, tx metadata cached, and OrderFilled logs captured as the source of truth.
Postgres holds canonical trades and the monitored-market set; SQLite holds OrderFilled truth, wallet nonces/profiles, and the unified signals.db that every detector writes to.
The central heartbeat (quick_observer, 30–50s fan-out) drives the inline cluster scorer plus fresh-wallet, behavioral, news, edge, event-slug and SAID market-selection producers. Two legacy detectors are superseded.
All signals converge for vote aggregation. The confluence engine emits a TradeProposal with an edge rating (0–5★), sizing, and direction.
Proposals evaluate to CLOB orders behind a Telegram APPROVE / REJECT gate — currently DRY-RUN.
Open positions run under the immune system — hard-stops, cluster-flip and volatility exits, and realized P&L, with alerts back to the operator.