learning_ai_invt_trdg/backend/src
Saravana Achu Mac 4cfb446f57 feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry
- Add /trading and /admin named Socket.IO namespaces; root namespace kept for
  backward compat; admin namespace rejects non-admins at connect time
- Wire auditRepository.ts: persist TradeAuditEvent to Cosmos audit-events
  container (best-effort); expose GET /api/admin/audit for admin queries
- Add tradingTelemetry singleton (Node.js Map-based storage adapter); init
  and fatal-error tracking wired in index.ts main()
- Add TAB_MARKETPLACE_ENABLED / TAB_MEMBERSHIP_ENABLED config flags; expose
  tabs.* shape in GET /api/feature-flags response
- Fix SupabaseService URL validation (regex check before createClient)
- Wire check:api-contract and check:audit-repository into npm run test
- Switch @bytelyst/* deps to file:../vendor/* references

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 19:35:00 -04:00
..
backtest feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
config feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00
connectors feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
domain feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
scripts refactor: align reconciliation runtime flows with repository 2026-04-04 16:28:59 -07:00
services feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00
strategies feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
utils feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
bootstrap.ts feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00
index.ts feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00
test_simulation.js feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00