Intelligence, Advanced Charting & Trading Platform
risk/chartnova-alert-runtime-atomic-2026-10-22
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 | name: ChartNova staged alert-state coordinator |
| 2 | on: |
| 3 | pull_request: |
| 4 | paths: |
| 5 | - 'db/migrations/0006_alert_runtime_atomic.sql' |
| 6 | - 'db/tests/alert_runtime_invariants.sql' |
| 7 | - 'db/tests/alert_runtime_untrusted_role.sql' |
| 8 | - 'db/tests/alert_egress_verified_retry.sql' |
| 9 | - 'packages/market-domain/src/alert-postgres-coordinator.mjs' |
| 10 | - 'packages/market-domain/test/alert-postgres-coordinator.test.mjs' |
| 11 | - 'scripts/check-alert-runtime-concurrency.mjs' |
| 12 | - 'scripts/test-alert-coordinator-with-pr33.test.mjs' |
| 13 | - 'packages/market-domain/src/leased-bale-dispatch.mjs' |
| 14 | - 'scripts/test-leased-bale-pr33.test.mjs' |
| 15 | - '.github/workflows/chartnova-alert-coordination.yml' |
| 16 | - 'docs/operations/chartnova-alert-runtime-staging-2026-10-22.md' |
| 17 | workflow_dispatch: |
| 18 | permissions: |
| 19 | contents: read |
| 20 | jobs: |
| 21 | integrated-postgres-and-domain: |
| 22 | runs-on: ubuntu-latest |
| 23 | timeout-minutes: 12 |
| 24 | services: |
| 25 | postgres: |
| 26 | image: postgres:18 |
| 27 | env: |
| 28 | POSTGRES_USER: postgres |
| 29 | POSTGRES_PASSWORD: postgres |
| 30 | POSTGRES_DB: velyqor_test |
| 31 | ports: ['5432:5432'] |
| 32 | options: >- |
| 33 | --health-cmd "pg_isready -U postgres -d velyqor_test" |
| 34 | --health-interval 5s |
| 35 | --health-timeout 5s |
| 36 | --health-retries 10 |
| 37 | env: |
| 38 | PGHOST: 127.0.0.1 |
| 39 | PGPORT: '5432' |
| 40 | PGUSER: postgres |
| 41 | PGPASSWORD: postgres |
| 42 | PGDATABASE: velyqor_test |
| 43 | VELYQOR_TEST_DATABASE: velyqor_test |
| 44 | CHARTNOVA_PINNED_PR33_MODULE_DIR: ${{ github.workspace }}/.tmp-pr33-pinned |
| 45 | steps: |
| 46 | - uses: actions/checkout@v4 |
| 47 | with: |
| 48 | fetch-depth: 0 |
| 49 | persist-credentials: false |
| 50 | - uses: actions/setup-node@v4 |
| 51 | with: |
| 52 | node-version: '22' |
| 53 | - name: Read exact unmerged PR #33 pure-domain module revision without changing repository |
| 54 | run: | |
| 55 | git fetch --no-tags --depth=1 origin 52ebe040d661d67d447d20afe5f49769ec7a095b |
| 56 | test "$(git rev-parse FETCH_HEAD)" = "52ebe040d661d67d447d20afe5f49769ec7a095b" |
| 57 | mkdir -p .tmp-pr33-pinned |
| 58 | git show 52ebe040d661d67d447d20afe5f49769ec7a095b:packages/market-domain/src/alert-data-gate.mjs > .tmp-pr33-pinned/alert-data-gate.mjs |
| 59 | git show 52ebe040d661d67d447d20afe5f49769ec7a095b:packages/market-domain/src/informational-alert-engine.mjs > .tmp-pr33-pinned/informational-alert-engine.mjs |
| 60 | git show 52ebe040d661d67d447d20afe5f49769ec7a095b:packages/market-domain/src/bale-once-adapter.mjs > .tmp-pr33-pinned/bale-once-adapter.mjs |
| 61 | test -s .tmp-pr33-pinned/alert-data-gate.mjs |
| 62 | test -s .tmp-pr33-pinned/informational-alert-engine.mjs |
| 63 | - name: Unit and exact pinned PR33-to-outbox domain integration |
| 64 | run: node --test packages/market-domain/test/alert-postgres-coordinator.test.mjs scripts/test-alert-coordinator-with-pr33.test.mjs scripts/test-leased-bale-pr33.test.mjs |
| 65 | - name: Apply schema on ephemeral CI PostgreSQL only; 0005 excluded by policy |
| 66 | run: | |
| 67 | for file in db/migrations/*.sql; do |
| 68 | case "$file" in |
| 69 | *0005_navasan_private_daily_ohlc.sql) echo 'Blocked migration 0005 cannot run'; exit 1;; |
| 70 | esac |
| 71 | psql -X -v ON_ERROR_STOP=1 -f "$file" >/dev/null |
| 72 | done |
| 73 | - name: PostgreSQL atomic transaction and consent invariant tests |
| 74 | run: | |
| 75 | for file in db/tests/*.sql; do |
| 76 | psql -X -v ON_ERROR_STOP=1 -f "$file" >/dev/null |
| 77 | done |
| 78 | - name: Separate-session CAS race between two simulated Workers |
| 79 | run: node scripts/check-alert-runtime-concurrency.mjs |