Intelligence, Advanced Charting & Trading Platform
feature/paper-trading-risk-controls-2026-10-14
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 | # ChartNova staging checkpoint — CI and local WebSocket evidence (2026-10-12) |
| 2 | |
| 3 | ## CI diagnosis (verified) |
| 4 | |
| 5 | The GitHub Actions run at https://github.com/davoodmehraban89/VELYQOR/actions/runs/38198123692 failed **before runner allocation**, not in a test step. Direct GitHub jobs API returned **no runner names and empty steps arrays** for both verify and postgres-invariants, both completed in about 3 seconds. No code or migration test executed in this CI run. Root cause of runner non-allocation is unconfirmed; check the repository's Actions General policy and account Actions billing/quota/budgets before trying to fix source code. See `docs/operations/github-actions-pre-run-failure-2026-10-12.md`. |
| 6 | |
| 7 | ## Cloudflare Worker compilation |
| 8 | |
| 9 | Ran from isolated development worktree on authorized Windows host: |
| 10 | |
| 11 | `npx --yes wrangler@4 deploy --dry-run --config deploy/chartnova/wrangler.realtime.example.toml` |
| 12 | |
| 13 | Result: **PASS** with Wrangler 4.149.0, local script bundle 15.88 KiB, and expected bindings `STREAM_ROOMS` Durable Object, `STREAM_SYMBOL_ALLOWLIST`, and `STREAM_ALLOWED_ORIGINS`. The command exited on dry-run and did NOT deploy or create billed resources. |
| 14 | |
| 15 | ## Actual local WebSocket publish/receive |
| 16 | |
| 17 | Ran a local Worker and Durable Object instance using Wrangler and a **fictional localhost-only test token**. Then executed `node scripts/smoke-local-stream.mjs` (the script explicitly rejects non-localhost origins). |
| 18 | |
| 19 | Observed: |
| 20 | - `GET /stream?symbol=EUR_USD_ECB` returned **101 Switching Protocols**. |
| 21 | - A version-1 `stream.subscribe` received `session.ready`. |
| 22 | - An authenticated **fictional test-only reference-price event** posted to `/internal/market-update` returned **HTTP 200**. |
| 23 | - A connected WebSocket received `market.update` with `sequence=1` and `delivered=1`, without revealing the test publisher token or license evidence. |
| 24 | - The local Worker and child workerd process were stopped after the test. No real vendor market price, live public WebSocket, Neon insert, paid Cloudflare deployment, or public website change occurred. |
| 25 | |
| 26 | ## Prior local checks |
| 27 | |
| 28 | - **126/126** domain / feed tests passed; **18/18** Worker / history tests passed. |
| 29 | - Existing standalone React + Vite + Lightweight Charts build passed. |
| 30 | - Production Neon still recorded 762 ECB reference observations, zero OHLC candles, and an unactivated `chartnova_history_ro` database role at the start of this checkpoint. |
| 31 | |
| 32 | ## Remaining production gates |
| 33 | |
| 34 | 1. Obtain precise GitHub pre-run failure annotation from administrator; fix account/Actions policy or runner provisioning; require green CI after jobs actually run. |
| 35 | 2. Acquire documented licensed source for commercial redistribution of each intended market; validate quote units/timezones. Neither research-only Yahoo/yfinance data nor point observations may be converted into fake OHLC. |
| 36 | 3. Securely activate least-privileged Neon reader via approved secret flow, and prove live read-only Worker→Neon connectivity on staging. |
| 37 | 4. Approve any billable Durable Object / production deployment; configure true publisher credentials and edge rate limits. |
| 38 | 5. Perform sustained staging real-time load/latency/sequence-gap, browser rendering, and failure/recovery tests before public launch. |
| 39 | |
| 40 | The original Windows Git working tree was preserved, including its uncommitted Navasan migration. |