- Ship the root
src/Next.js application and theml/FastAPI service as the only active production surfaces. - Replace dashboard mocks with live data, persistence, audit logging, and artifact-backed ML inference.
- Frontend / fullstack:
src/ - ML backend:
ml/ - Database migrations:
supabase/ - Legacy reference only:
frontend/,backend/,ml-service/
- Align deployment and environment config with the root Next.js +
ml/architecture. - Wire normalized market, search, news, and prediction APIs behind Next.js route handlers.
- Replace page-level mocks with React Query hooks and Supabase-backed data flows.
- Fix ML test regressions and switch LSTM/GAN to artifact-backed startup loading.
- Add launch verification:
npm run type-check,npm run test:web,npm run build,python -m pytest ml/tests -q.
- Treat
audit_logas append-only. - Do not store volatile market prices in Supabase.
- Keep FastAPI private behind Next.js API routes.
- Use Twelve Data first for quote/history where supported, with yfinance fallback through
ml/. - Keep launch auth on Supabase email/password only.