Intelligence, Advanced Charting & Trading Platform

1 # Phase 1 Live PostgreSQL Proof — Neon
2
3 Date: 2026-10-07
4
5 ## Scope
6
7 This record captures the external PostgreSQL acceptance evidence for Phase 1. Credentials and connection strings are intentionally excluded.
8
9 ## Environment
10
11 - Provider: Neon
12 - Project: VELYQOR
13 - Branch: production
14 - Database: neondb
15 - Role: neondb_owner
16 - Engine observed: PostgreSQL 18.6
17 - Transport: TLS connection
18 - Application credential source: local runtime-only `.env.local`
19 - Repository secret exposure: none
20
21 ## Live execution result
22
23 Connection to the reachable Neon PostgreSQL endpoint succeeded.
24
25 Applied migrations, in lexical order:
26
27 1. `0001_market_core.sql` — PASS
28 2. `0002_workspaces.sql` — PASS
29 3. `0003_phase1_persistence_hardening.sql` — PASS
30
31 Executed database invariant suites:
32
33 1. `market_core_invariants.sql` — PASS
34 2. `phase1_persistence_invariants.sql` — PASS
35
36 Post-execution verification:
37
38 - Canonical instruments: 6
39 - Public tables: 11
40 - Invalid OHLC rejection: verified
41 - Duplicate canonical tick rejection: verified
42 - Future provider timestamp rejection: verified
43 - Test transaction rollback behavior: verified
44
45 ## Domain regression
46
47 Local market-domain regression suite executed after the live database proof:
48
49 - Tests: 66
50 - Passed: 66
51 - Failed: 0
52
53 ## Acceptance impact
54
55 Phase 1 exit gate 1 is satisfied: PostgreSQL migrations and invariants execute successfully against a live reachable PostgreSQL instance.
56
57 Remaining external provider gates are not satisfied yet because `NAVASAN_API_KEY` and `ALPHAVANTAGE_API_KEY` are not present in the runtime. No provider result is claimed without those credentials.