Intelligence, Advanced Charting & Trading Platform
docs: establish project state ledger
davoodmehraban89 committed
Oct 5, 2026 at 09:45 UTC
084f36f2ad4bbc5de7aa4fa0b4de6548f3cab2c1
1 file changed
+59
PROJECT_STATE.md
new
+59
@@ -0,0 +1,59 @@
1
+# VELYQOR Project State
2
+
3
+Last updated: 2026-10-05
4
+
5
+## Current phase
6
+Phase 0 — Foundation & Governance
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 the MVP.
18
+- TypeScript/React/Next.js web application; exact package versions are pinned when implementation begins.
19
+- PostgreSQL as canonical datastore; Supabase is the preferred MVP PostgreSQL/Auth/Realtime platform, pending project connection.
20
+- Cloudflare as edge/runtime/cache/protection layer, not the primary database.
21
+- Provider adapters feed immutable raw observations, normalization, quality gates, candle construction, and derived-series calculation.
22
+- UTC canonical storage; Asia/Tehran presentation.
23
+
24
+## Connection priority
25
+P0: GitHub, Context7, PostgreSQL/Supabase, Cloudflare.
26
+P1: Figma, Notion.
27
+P2: TradingCursor (benchmark/research only), Gmail, Railway/Render if a demonstrated need appears.
28
+
29
+## Completed
30
+- Independent private GitHub repository created: `davoodmehraban89/VELYQOR`.
31
+- Initial `main` branch established by owner.
32
+- Foundation branch created: `foundation/phase-0`.
33
+- Product README normalized.
34
+- Engineering/agent operating rules added.
35
+- Next.js current documentation checked through Context7; current v16 documentation requires Node.js >=20.9 and supports TypeScript/App Router defaults.
36
+
37
+## In progress
38
+- Architecture Decision Records.
39
+- Canonical instrument/unit/time contracts.
40
+- Repository skeleton and CI baseline.
41
+- Supabase/PostgreSQL connection.
42
+- Cloudflare environment connection.
43
+- Phase 1 provider research and data proof.
44
+
45
+## Blockers / external actions
46
+- Supabase project for VELYQOR is not yet identified/connected.
47
+- Cloudflare application/environment for VELYQOR is not yet identified/connected.
48
+- Figma and Notion project spaces are not required to start data proof, but are pending for P1.
49
+
50
+## Risks
51
+- Iranian market-data providers may have licensing, timestamp-quality, anti-bot, history, or reliability limitations.
52
+- UI timeframe availability must be constrained by actual observation frequency; synthetic precision is prohibited.
53
+- XAU/USD and USD/IRT source timestamps require explicit alignment and staleness thresholds for theoretical gold.
54
+
55
+## Next checkpoint
56
+1. Commit initial ADRs and data contracts.
57
+2. Establish minimal TypeScript/Next.js repository skeleton and CI.
58
+3. Connect/create PostgreSQL/Supabase resources.
59
+4. Begin provider research and implement the first raw-ingestion proof only after provider/legal/technical suitability is documented.