refactor: rename tli→fxt, delete legacy scripts/RunPod/deploy artifacts

- Rename tli/ directory to fxt/, update package + binary name to "fxt"
- Replace all `use tli::` → `use fxt::` across 52 Rust files
- Update build.rs proto paths (tli/proto → fxt/proto) in 6 services
- Update Dockerfiles, CI workflows, deploy.sh for new paths
- Delete ~170 legacy shell scripts (kept 15 essential ones)
- Delete RunPod Python client (runpod/), tests (tests/runpod/)
- Delete foxhunt-deploy crate (RunPod-only deployment tool)
- Delete terraform/runpod/ (moved to Scaleway)
- Delete ML Python hyperopt scripts (replaced by Rust Argmin PSO)
- Delete .gitlab-ci.yml (using GitHub + Gitea)
- Remove foxhunt-deploy from workspace members

504 files changed, -74,355 lines of legacy code removed.
Workspace compiles clean (0 errors, 0 warnings).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-24 10:31:47 +01:00
parent ff15341c3e
commit 2da5bafc0e
504 changed files with 257 additions and 74355 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# Foxhunt HFT Trading System - Complete System Startup
# Starts 3 standalone services + databases as per TLI_PLAN.md architecture
# Starts 3 standalone services + databases as per FXT_PLAN.md architecture
set -euo pipefail
@@ -13,7 +13,7 @@ NC='\033[0m' # No Color
echo -e "${GREEN}🦊 Starting Foxhunt HFT Trading System${NC}"
echo "===================================================="
echo "Architecture: TLI Client → 3 Standalone Services → Docker Databases"
echo "Architecture: FXT CLI → 3 Standalone Services → Docker Databases"
echo ""
# Function to check if a port is available
@@ -132,11 +132,11 @@ echo "├── Backtesting Service: localhost:$BACKTESTING_PORT (PID: $BACKTEST
echo "├── ML Training Service: localhost:$ML_TRAINING_PORT (PID: $ML_TRAINING_PID)"
echo "└── Databases: PostgreSQL(5432), InfluxDB(8086), Redis(6379)"
echo ""
echo "To start TLI client: cargo run --release -p tli"
echo "To start FXT CLI: cargo run --release -p fxt"
echo "To stop system: ./stop.sh"
echo "To view logs: docker logs foxhunt-postgres"
echo ""
echo -e "${GREEN}System ready for TLI connection!${NC}"
echo -e "${GREEN}System ready for FXT connection!${NC}"
# Keep services running and handle shutdown
trap 'echo -e "\n${YELLOW}🛑 Shutting down services...${NC}"; ./stop.sh; exit 0' INT