- Rename test functions, variables, bench names (api_gateway → api) - Update e2e orchestrator executable path (target/debug/api) - Clean Grafana dashboards: remove dead web-gateway panels, fix trailing pipes/commas, update pod selectors - Update metrics_validation test metric prefixes (api_gateway_ → api_) - Fix .gitlab-ci.yml remaining path reference - Fix FXT CLI test flag and function names - Keep JWT issuer foxhunt-api-gateway (cross-service auth compat) - Keep serde alias api_gateway_url (config backwards compat) cargo check --workspace passes cleanly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
common
Shared types, error handling, and utilities for the Foxhunt HFT ecosystem.
Key Types
FoxhuntError— unified error enum withResultaliasModelType— canonical ML model enum (10 primary variants)CircuitBreakerTrait— async circuit breaker interfaceTlsProtocolVersion,ClientIdentity— TLS configuration types- Market data types (
Tick,OrderBook) and order types (LimitOrder,MarketOrder)
Modules
model_types— canonicalModelTypeenum re-exported by ml/ and model_loader/resilience—CircuitBreakerTraitasync traittls— TLS types and configurationquestdb— QuestDB client configuration
Usage
use common::{FoxhuntError, ModelType};