@davoodmehraban89 / VELYQOR / commits / 1e53381
Fork 0

Intelligence, Advanced Charting & Trading Platform

docs(state): record single-use notification permit and exact-recipient source-binding safety gates

davoodmehraban89 committed Oct 23, 2026 at 02:44 UTC 1e53381c4c556d235e26b7aed75b1e35b4695416
1 file changed +1
PROJECT_STATE.md
+1
@@ -6,6 +6,7 @@
6 - The new `alert-postgres-coordinator.mjs` bridges PR #33's **actual pure data-quality gate and alert engine** to PR #34's PostgreSQL contract with source/instrument/BUY/SELL identity validation, non-advisory labels and bounded retry. **Historical data storage permission is mandatory**; public display/alert rights alone are insufficient for persisting trailing/price state.
7 - Independent disposable PostgreSQL tests check revoked/missing consent, stale revision, suspended quality data, exactly one event after concurrent claims and no public SQL role grants. GitHub CI separately checks source-pinned PR #33 modules at immutable commit `52ebe040d661d67d447d20afe5f49769ec7a095b`.
8 - An additional claim-time opt-in gate (`alert_notification_claim_consented`) refuses revoked recipients, terminally suppresses unsent revoked entries and scans at most 16 pending rows to prevent one revoked user starving others. **A future sender must recheck consent immediately before outbound HTTP**, and least-privilege DB roles remain unimplemented.
9 +- Additional review-only safety checks: a single-use PostgreSQL `send_started_at` permit prevents parallel duplicate sends under one claim, `alert_notification_egress_allowed` rechecks consent at the final network boundary, and `leased-bale-dispatch.mjs` requires a trusted opaque recipient resolver and binds the destination/channel in SQL. CI tests the **real pinned PR #33 Bale adapter** exclusively with a mock transport and checks two concurrent PostgreSQL send-permit attempts. No real delivery, secret, or third-party account was used.
10 - Live Neon, Cloudflare, market providers and any real Bale recipient **untouched**. Migration `0005_navasan_private_daily_ohlc.sql` remains blocked and untouched. No Merge, Deploy, secret access, paid subscription, recipient message or real-money trade executed.
11 - **Still not complete**: actual server-side authentication, least-privilege service DB role, source rights contracts, private recipient registry and delivery, device-specific v26/v27 incident, cross-PR reconciliation and independent human/AI security review. Three CI perspectives are not three independent agents.
12 - [Implementation/evidence and release gates](docs/operations/chartnova-alert-runtime-staging-2026-10-22.md).