Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

Execute independent phase 7 foundation gates and production evidence fail-closed policy without credentials

davoodmehraban89 committed Oct 20, 2026 at 09:08 UTC d0e1178629af610085a990e2fd3d498c9a859ebb
1 file changed +48
.github/workflows/v7-foundation-independent-regression-once.yml new
+48
@@ -0,0 +1,48 @@
1 +name: V7 foundation independent Linux quality and production fail-closed QA
2 +on:
3 + push:
4 + paths:
5 + - .github/workflows/v7-foundation-independent-regression-once.yml
6 +permissions:
7 + contents: read
8 +jobs:
9 + quality:
10 + runs-on: ubuntu-22.04
11 + timeout-minutes: 25
12 + steps:
13 + - uses: actions/checkout@v4
14 + with:
15 + ref: phase-7-production-infrastructure-bank-golive
16 + persist-credentials: false
17 + - uses: actions/setup-node@v4
18 + with:
19 + node-version: '22'
20 + - name: Install
21 + run: npm ci --ignore-scripts
22 + - name: Static type, unit, lint and build gates
23 + run: |
24 + npm run typecheck
25 + npm test
26 + npm run lint
27 + npm run build
28 + npm run smoke
29 + - name: Production evidence must fail closed without external authorization
30 + shell: bash
31 + run: |
32 + set +e
33 + output=$(npm run verify:external-evidence 2>&1)
34 + rc=$?
35 + set -e
36 + if [ "$rc" -eq 0 ]; then
37 + echo 'GATE_FAIL_PRODUCTION_EVIDENCE_ACCEPTED_WITHOUT_AUTHORIZATION'
38 + exit 1
39 + fi
40 + if ! printf '%s' "$output" | grep -q 'BLOCKED_EXTERNAL'; then
41 + echo 'GATE_FAIL_EXPECTED_EXTERNAL_BLOCKER_MARKER_MISSING'
42 + exit 1
43 + fi
44 + echo 'GATE_PASS_PRODUCTION_RELEASE_FAILS_CLOSED_WITHOUT_REAL_EVIDENCE'
45 + - name: Final nonfinal foundation declaration
46 + run: |
47 + echo 'GATE_PASS_REPOSITORY_PHASE7_QUALITY_BRANCH_ONLY'
48 + echo 'NOT_A_V7_PRIVATE_INTEGRATED_WINDOWS_RELEASE'