Intelligence, Advanced Charting & Trading Platform
feature/chartnova-ios-widget
diagnostics/chartnova-blank-screen-2026-10-15
diagnostics/chartnova-stage2-v27-preview-2026-10-15
docs/chartnova-stage1-reconcile-manifest-2026-10-15
feature/chartnova-ios-widget
feature/chartnova-light-catalog-lazy-series-2026-10-15
feature/chartnova-market-terminal
feature/chartnova-multimarket-chart-ws-foundation
feature/chartnova-neon-direct-history
feature/chartnova-neon-history
feature/paper-trading-risk-controls-2026-10-14
fix/alpha-vantage-live-payload
fix/chartnova-progressive-loading-2026-10-15
fix/live-proof-runner-cwd-2026-10-14
foundation/phase-0
foundation/postgres-core
main
ops/chartnova-emergency-rollback-2026-10-15
phase-1/candle-builder
phase-1/data-proof-artifact
phase-1/data-proof-metrics
phase-1/data-proof-report
phase-1/external-gates-state
phase-1/gold-api-fallback
phase-1/ingestion-pipeline
phase-1/live-proof-runner
phase-1/market-calendar
phase-1/market-domain
phase-1/neon-live-proof
phase-1/persistence-contract
phase-1/postgres-ci
phase-1/provider-adapters
phase-1/provider-recovery
phase-1/quality-propagation
phase-1/spike-detection
phase-1/xau-provider-adapter
risk/chartnova-alert-runtime-atomic-2026-10-22
risk/chartnova-atomic-outbox-2026-10-22
risk/chartnova-seven-track-safety-2026-10-21
safety/p0-triage-2026-10-13
ADR-0001: MVP Foundation Architecture
Status: Accepted Date: 2026-10-05
Context
VELYQOR must validate Iranian USD/gold charting and derived gold valuation quickly without creating an architecture that blocks future AI, community, additional markets, or trading capabilities.
Decision
- Start as a modular monolith plus independently schedulable ingestion workers.
- PostgreSQL is the canonical application and market datastore.
- Supabase is the preferred MVP PostgreSQL/Auth/Realtime platform, while domain/data contracts remain PostgreSQL-portable.
- Cloudflare is used for edge delivery, caching, protection, and suitable worker workloads; D1/KV/Durable Objects do not replace the canonical PostgreSQL market store.
- Market providers are isolated behind adapters.
- Raw observations are retained separately from normalized ticks/candles.
- Backend canonical timestamps are UTC; Iran-facing UI uses Asia/Tehran.
- Derived values retain complete source provenance and calculation version.
- TradingCursor, if used, is an external research/benchmark provider and never a production market-price source of truth.
- AI cannot directly execute trades; a future trading layer requires independent risk/order controls.
Consequences
This favors correctness, auditability, lower MVP operational complexity, and future extraction of genuinely high-load modules. It deliberately rejects premature microservices and provider-specific core logic.