learning_ai_invt_trdg/shared
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
..
backend-control-config.ts feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
control-plane.ts feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
feature-flags.ts feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00
platform-clients.ts feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
platform-mobile.ts feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
platform-web.ts feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
product.json feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
product.ts feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
realtime.ts feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00
request-id.ts refactor: seed cosmos stores and standardize request ids 2026-04-04 17:16:18 -07:00
runtime.ts feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry 2026-04-29 19:35:00 -04:00