Intelligence, Advanced Charting & Trading Platform
phase-1/data-proof-metrics
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
| 1 | # VELYQOR Project State |
| 2 | |
| 3 | Last updated: 2026-10-05 |
| 4 | |
| 5 | ## Current phase |
| 6 | Phase 1 — Market Domain & Data Proof started. Phase 0 PostgreSQL foundation is merged. |
| 7 | |
| 8 | ## Product scope locked for MVP |
| 9 | - Iran free-market USD/IRT |
| 10 | - Iran 18K gold/IRT market price |
| 11 | - Global XAU/USD |
| 12 | - Theoretical 18K gold/IRT |
| 13 | - Gold market premium/discount absolute and percentage series |
| 14 | - Professional charting, drawing tools, technical indicators, overlays, and persistent user workspaces |
| 15 | |
| 16 | ## Architecture baseline |
| 17 | - Modular monolith for MVP, with independently schedulable ingestion workers. |
| 18 | - TypeScript/React/Next.js web application. |
| 19 | - PostgreSQL is the only canonical database contract. Hosting provider is replaceable through `DATABASE_URL`. |
| 20 | - Initial hosting target is Aiven Free PostgreSQL if it can be provisioned without payment credentials; Aiven is infrastructure only, never a domain dependency. |
| 21 | - Supabase, Neon, Render and Railway are not architectural dependencies. They remain replaceable hosting alternatives. |
| 22 | - Cloudflare is edge/runtime/cache/protection. Hyperdrive can front any compatible reachable PostgreSQL once credentials exist. |
| 23 | - Provider adapters feed immutable raw observations, normalization, quality gates, candle construction, and derived-series calculation. |
| 24 | - UTC canonical storage; Asia/Tehran presentation. |
| 25 | - No UI timeframe may imply precision not supported by source data. |
| 26 | |
| 27 | ## Completed |
| 28 | - Independent private GitHub repository established. |
| 29 | - Phase 0 foundation merged to `main` with green CI. |
| 30 | - Provider-neutral PostgreSQL market core merged to `main` with green CI. |
| 31 | - Engineering rules, Definition of Done, architecture baseline and canonical market contracts established. |
| 32 | - PostgreSQL migrations exist for instruments, providers, raw observations, normalized ticks, candles, derived values, data-quality events, users, workspaces and drawings. |
| 33 | - Six canonical MVP instruments are seeded. |
| 34 | - Database invariant test exists for canonical instruments and invalid OHLC rejection. |
| 35 | - Cloudflare account connection verified. |
| 36 | - Render Free PostgreSQL was tested and rejected for the current zero-cost constraint because provisioning required payment credentials. |
| 37 | - Deterministic theoretical 18K gold and premium calculations implemented. |
| 38 | - Source timestamp alignment and staleness semantics implemented. |
| 39 | - Provider normalization contract implemented, including IRR-to-IRT conversion and refusal to guess unsupported units. |
| 40 | - Provider health contract implemented. |
| 41 | - Deterministic market-data quality classification implemented for GOOD / DEGRADED / STALE / INVALID. |
| 42 | - CI floating-point assertion defect was identified from workflow logs and corrected with tolerance-based numeric assertions. |
| 43 | |
| 44 | ## In progress |
| 45 | - Phase 1 provider research/data proof for USD/IRT, GOLD18/IRT and XAU/USD. |
| 46 | - Managed PostgreSQL provisioning on a no-card free provider. |
| 47 | - Provider-specific adapters only after legal/technical source suitability is documented. |
| 48 | - Integration of quality state with ingestion/candle pipeline. |
| 49 | |
| 50 | ## External blocker |
| 51 | A live VELYQOR PostgreSQL endpoint is not yet connected. This blocks executing migrations against production-like infrastructure, but it does not block domain implementation, deterministic tests, provider research, or application scaffolding. |
| 52 | |
| 53 | ## Risks |
| 54 | - Iranian market-data provider licensing, timestamp quality, anti-bot restrictions, history and reliability. |
| 55 | - UI timeframes must reflect actual observation frequency; synthetic precision is prohibited. |
| 56 | - XAU/USD and USD/IRT source timestamps require explicit alignment/staleness thresholds. |
| 57 | - Free database hosting is temporary infrastructure and must not become a product dependency. |
| 58 | |
| 59 | ## Next checkpoint |
| 60 | 1. Get Phase 1 domain/provider contract CI green and merge. |
| 61 | 2. Complete provider source matrix and select primary/secondary candidates for each canonical symbol. |
| 62 | 3. Connect Aiven or another no-card PostgreSQL endpoint and execute migrations/invariants. |
| 63 | 4. Configure Cloudflare Hyperdrive only after a real PostgreSQL endpoint exists. |
| 64 | 5. Start chart application shell after Data Proof gates are satisfied. |