Investment trading learning app
Go to file
Saravana Achu Mac aaa516122e feat(backend): wire Azure Key Vault secret resolution at startup
- Add bootstrap.ts as new entry point — resolves Key Vault secrets via
  DefaultAzureCredential before config/index.ts is evaluated, so all
  process.env reads pick up KV values (Azure CLI in dev, Managed Identity
  in prod). Falls back to .env if AZURE_KEYVAULT_URL is not set.
- Define INVTTRDG_SECRETS mappings for Cosmos, Azure OpenAI, product-id
- Add AZURE_OPENAI_ENDPOINT / KEY / DEPLOYMENT to config
- aiClient: prefer AzureOpenAIProvider (AI Foundry) when Azure OpenAI
  config is present; falls back to direct OpenAI if not configured
- Add @azure/identity, @azure/keyvault-secrets, @bytelyst/config deps
- Update dev/start scripts to use bootstrap.ts entry point
- Document AZURE_KEYVAULT_URL and Azure OpenAI vars in .env.example

Key Vault: https://kv-mywisprai.vault.azure.net/
Secrets prefix: invttrdg-*

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 18:28:47 -07:00
backend feat(backend): wire Azure Key Vault secret resolution at startup 2026-04-05 18:28:47 -07:00
docs docs(azure): add infrastructure audit doc for invttrdg Azure resources 2026-04-05 13:18:38 -07:00
mobile feat: standardize request ids across operator flows 2026-04-04 18:07:43 -07:00
scripts test: add release smoke coverage and runbook 2026-04-04 17:07:48 -07:00
shared refactor: share feature flag contract across backend and web 2026-04-04 18:10:34 -07:00
web refactor: share feature flag contract across backend and web 2026-04-04 18:10:34 -07:00
.env.example feat(backend): wire Azure Key Vault secret resolution at startup 2026-04-05 18:28:47 -07:00
.gitignore feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
docker-compose.yml feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
package.json test: add release smoke coverage and runbook 2026-04-04 17:07:48 -07:00
pnpm-lock.yaml feat(backend): wire Azure Key Vault secret resolution at startup 2026-04-05 18:28:47 -07:00
pnpm-workspace.yaml feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00
README.md docs: add operations runbook and refresh roadmap status 2026-04-04 14:36:41 -07:00
tsconfig.base.json feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00

ByteLyst Investment Trading

Canonical monorepo for the ByteLyst trading product.

Workspaces

  • backend/ — trading backend and execution/runtime APIs
  • web/ — trading dashboard
  • mobile/ — Expo mobile app
  • shared/ — canonical product identity and shared runtime helpers

Shared dependencies

This repo consumes local ByteLyst common-platform packages from:

  • ../learning_ai_common_plat/packages/*

Core principles

  • backend-authoritative trading state
  • platform-service for auth, kill switch, telemetry, and flags
  • no duplicated bootstrap logic across surfaces
  • domain-specific trading logic stays product-owned

Common commands

pnpm install
pnpm verify
pnpm lint
pnpm build

Operations

  • product and scope: docs/PRD.md
  • execution tracker: docs/ROADMAP.md
  • local dev, cutover, rollback, and release checks: docs/OPERATIONS.md