Intelligence, Advanced Charting & Trading Platform
phase-1/data-proof-report
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 Data Integrity & Data Proof. |
| 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 canonical database contract; hosting is replaceable through `DATABASE_URL`. |
| 20 | - Cloudflare is edge/runtime/cache/protection. Hyperdrive is configured only after a reachable PostgreSQL endpoint exists. |
| 21 | - Provider adapters feed immutable raw observations, normalization, quality gates, candle construction, and derived-series calculation. |
| 22 | - UTC canonical storage; Asia/Tehran presentation. |
| 23 | - No UI timeframe may imply precision not supported by observed source cadence. |
| 24 | |
| 25 | ## Completed |
| 26 | - Phase 0 foundation and provider-neutral PostgreSQL schema merged. |
| 27 | - Canonical instruments, raw observations, ticks, candles, derived values, quality events, workspaces and drawings schema defined. |
| 28 | - Deterministic theoretical 18K gold and premium calculations implemented. |
| 29 | - Timestamp alignment, staleness, provider normalization and provider health implemented. |
| 30 | - GOOD / DEGRADED / STALE / INVALID quality classification implemented. |
| 31 | - Provider-neutral ingestion and derived-gold pipeline implemented. |
| 32 | - Navasan adapters implemented for USD_IRT_FREE and GOLD18_IRT, including IRR→IRT normalization and historical daily OHLC parsing. |
| 33 | - Alpha Vantage XAU/USD spot adapter implemented. |
| 34 | - Data Proof metrics implemented for cadence, gaps, duplicates and out-of-order observations. |
| 35 | - Provider source matrix documented. |
| 36 | - Render Free PostgreSQL was tested and rejected because provisioning required payment credentials. |
| 37 | |
| 38 | ## In progress |
| 39 | - Deterministic multi-timeframe candle builder with no synthetic gap filling. |
| 40 | - Numeric quality scoring and propagation into candles/derived data. |
| 41 | - Live Data Proof for USD_IRT_FREE, GOLD18_IRT and XAU_USD. |
| 42 | - Managed PostgreSQL provisioning on a no-card free provider. |
| 43 | - Secondary legally usable Iranian source research for cross-check/failover. |
| 44 | |
| 45 | ## External blockers |
| 46 | 1. No live VELYQOR PostgreSQL endpoint is connected, so production-like migration/invariant execution and Hyperdrive binding cannot yet be completed. |
| 47 | 2. Live provider credentials are not connected to the runtime, so real cadence/quota/freshness measurements cannot yet be completed. |
| 48 | |
| 49 | ## Phase 1 exit gates |
| 50 | 1. PostgreSQL migrations and invariants execute successfully against a live reachable PostgreSQL instance. |
| 51 | 2. USD_IRT_FREE, GOLD18_IRT and XAU_USD each have a live tested ingestion path. |
| 52 | 3. Observed cadence, latency, gaps, duplicates, out-of-order behavior and failure/recovery are recorded for each source. |
| 53 | 4. Candle construction is deterministic and never invents missing observations. |
| 54 | 5. Quality state/score propagates into candles and derived values. |
| 55 | 6. At least one secondary legally usable reference is identified for Iranian market cross-check, or the lack of one is explicitly accepted as a launch risk. |
| 56 | 7. Secrets are runtime-only and absent from the repository. |
| 57 | 8. CI is green for all Phase 1 domain behavior. |
| 58 | |
| 59 | ## Risks |
| 60 | - Iranian market-data licensing, timestamp quality, anti-bot restrictions, history and reliability. |
| 61 | - Free source cadence may be insufficient for intraday timeframes; unsupported timeframes must stay disabled. |
| 62 | - Free database hosting is temporary infrastructure and must not become a product dependency. |
| 63 | |
| 64 | ## Next checkpoint |
| 65 | Finish all non-external Phase 1 gates, then execute live PostgreSQL and provider Data Proof immediately when runtime credentials/endpoints are available. |