@davoodmehraban89 / VELYQOR / commits / f7eacdf
Fork 0

Intelligence, Advanced Charting & Trading Platform

docs(state): capture verified ECB rows, pending Neon read-only activation and security gap

davoodmehraban89 committed Oct 11, 2026 at 23:23 UTC f7eacdf8c1b1b6f9483e4200ae40908a5b178324
1 file changed +7
PROJECT_STATE.md
+7
@@ -72,3 +72,10 @@ Phase 1 — Market Data Integrity & Data Proof.
72
73 ## Next checkpoint
74 Securely connect the Navasan and Alpha Vantage runtime credentials and the Neon database credential to Cloudflare Hyperdrive without committing or exposing secrets; execute continuous live Data Proof for all three required instruments; record provider and Hyperdrive evidence; then close Phase 1 only if all external gates pass.
75 +
76 +## Handoff update — 2026-10-11: ECB history and direct-Neon work
77 +- **Verified in production Neon:** 762 licensed ECB EXR daily reference observations in `market_ticks`, 254 per EUR_USD_ECB/EUR_GBP_ECB/EUR_CHF_ECB, 2025-10-13 to 2026-10-09; 0 invalid/duplicate checks. The `candles` table remains empty. The 2026-10-11 importer `--commit` reported 0 *new* rows; do not attribute prior inserts to this run.
78 +- **Verified deployed:** existing `/api/history` retrieves 254-row annual observations through Cloudflare KV and line-chart UI; live smoke also passed domestic, widget, and Scriptable routes. This is not yet a live PostgreSQL read.
79 +- **Implemented in isolated GitHub branch, not deployed:** bounded/parameterized Neon-first API with KV fallback, 9 passing Worker history unit tests and syntax check.
80 +- **Security blocker:** SQL-created `chartnova_history_ro` has read access exclusively to the ECB history view but is NOLOGIN awaiting secure credential activation. An API-created `chartnova_history_reader` unexpectedly inherited privileged `neon_superuser` membership and **must not be used**; administrative removal/revocation is pending. Safe Cloudflare secret handoff was blocked, and `CHARTNOVA_HISTORY_DATABASE_URL` is absent.
81 +- **Next checkpoint:** secure least-privilege role credential through approved dashboard, complete API+UI integration and live test on a reviewed Worker deployment, then continue seeking explicitly licensed OHLC sources. Details and rollback are in `docs/data/neon-history-direct-handoff-2026-10-11.md`.