GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Automation and CI / globalgrid2050 / .github/workflows

GlobalGrid2050 V923 Six Hour Python Repair Workflow and 6 more files

A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand.

651 lines of YAML from globalgrid2050, in 7 files. Topic: Automation and CI. Section 1736 of 2044.

Cut 2026-12-06T03:07:51+00:00. A copy for reading; the repository at the stated commit is the source.

In the State lines below, domain stage, users and canonical status are rule-based first approximations from code and path evidence (rules explore-agent-rules-v1), not observed facts: the rules.

In this section

  1. GlobalGrid2050 V9 7 Validate Workflow automation · globalgrid2050 / .github/workflows/v9-7-validate.yml lines 1–82
  2. GlobalGrid2050 V923 GridAtlas Real Map QA Workflow automation · globalgrid2050 / .github/workflows/v923-gridatlas-real-map-qa.yml lines 1–108
  3. GlobalGrid2050 V923 Six Hour Python Repair Workflow automation · globalgrid2050 / .github/workflows/v923-six-hour-python-repair.yml lines 1–157
  4. GlobalGrid2050 V924 Public Readback Workflow automation · globalgrid2050 / .github/workflows/v924-public-readback.yml lines 1–89
  5. GlobalGrid2050 V928 Preview Acceptance Workflow automation · globalgrid2050 / .github/workflows/v928-preview-acceptance.yml lines 1–85
  6. GlobalGrid2050 V929 Preview Acceptance Workflow automation · globalgrid2050 / .github/workflows/v929-preview-acceptance.yml lines 1–66
  7. GlobalGrid2050 V930 Preview Acceptance Workflow automation · globalgrid2050 / .github/workflows/v930-preview-acceptance.yml lines 1–64

GlobalGrid2050 V9 7 Validate Workflow

A GitHub Actions workflow that builds and publishes the site. Runs on push, on pull requests and by hand.

automationglobalgrid2050 / .github/workflows/v9-7-validate.yml · lines 1–82 of 82 · Entry point

What it does
It builds and publishes its content. Side effects: starts processes.
Inputs & outputs
Out: GitHub Pages deployment.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.7 Exact Commit Validation”; runs Run V9 7 (`uk_renewables_pipeline/v9.7/tests/run_v9_7.sh`); publishes to GitHub Pages.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Run V9 7 (workflow run)
Used by
none found
Produces
none declared
Defines here
V9.7 Exact Commit Validation
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v9-7-validate.yml:1-82 · blob d39dbcf532afd687c0f07adfbdac2ed38c47da2c · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: V9.7 Exact Commit Validation

on:
  workflow_dispatch:
  pull_request:
    branches: [main]
    paths:
      - "index.html"
      - "uk_renewables_pipeline/v9.7/**"
      - ".github/workflows/v9-7-validate.yml"
      - ".github/workflows/deploy-pages.yml"
  push:
    branches: [main, "codex/**"]
    paths:
      - "index.html"
      - "uk_renewables_pipeline/v9.7/**"
      - ".github/workflows/v9-7-validate.yml"
      - ".github/workflows/deploy-pages.yml"

permissions:
  contents: read
  statuses: write

jobs:
  validate:
    runs-on: ubuntu-latest
    timeout-minutes: 12
    steps:
      - name: Mark exact-commit validation pending
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          gh api --method POST \
            -H "X-GitHub-Api-Version: 2022-11-28" \
            "repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \
            -f state=pending \
            -f context='globalgrid/v9.7-validation' \
            -f description='V9.7 exact-commit validation running' \
            -f target_url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
      - name: Checkout exact commit
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Set up Node
        uses: actions/setup-node@v4
        with:
          node-version: 22
          cache: npm
          cache-dependency-path: uk_renewables_pipeline/v9.7/package-lock.json
      - name: Install pinned browser harness
        working-directory: uk_renewables_pipeline/v9.7
        run: |
          npm ci
          npx playwright install --with-deps chromium
      - name: Run V9.7 committed-byte gate
        env:
          V9_BROWSER_SMOKE: "1"
        run: bash uk_renewables_pipeline/v9.7/tests/run_v9_7.sh
      - name: Mark exact-commit validation successful
        if: success()
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          gh api --method POST \
            -H "X-GitHub-Api-Version: 2022-11-28" \
            "repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \
            -f state=success \
            -f context='globalgrid/v9.7-validation' \
            -f description='V9.7 auditable regional-news and regression gates passed' \
            -f target_url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
      - name: Mark exact-commit validation failed
        if: failure()
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          gh api --method POST \
            -H "X-GitHub-Api-Version: 2022-11-28" \
            "repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" \
            -f state=failure \
            -f context='globalgrid/v9.7-validation' \
            -f description='V9.7 exact-commit or browser gate failed' \
            -f target_url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"

GlobalGrid2050 V923 GridAtlas Real Map QA Workflow

A GitHub Actions workflow using data from the GridAtlas repository. Runs on push, on a schedule and by hand.

automationglobalgrid2050 / .github/workflows/v923-gridatlas-real-map-qa.yml · lines 1–108 of 108 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage upstream_foresight (path word 'gridatlas'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
Inputs & outputs
In: data source: gridatlas data.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.23 real MAP to GridAtlas engine 390 + 1440”; runs Browser Real Map to Engine Agent7 (`uk_renewables_pipeline/202611160020/tests/browser_real_map_to_engine_agent7.mjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Browser Real Map to Engine Agent7 (workflow run), GridAtlas — Atlas Page (estate URL)
Used by
none found
Produces
none declared
Defines here
V9.23 real MAP to GridAtlas engine 390 + 1440
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v923-gridatlas-real-map-qa.yml:1-108 · blob af1fda9068b5026109a7b87ca6f4bcbcd9ec2b71 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom, filesystem, process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: V9.23 real MAP to GridAtlas engine 390 + 1440
# Independent behavioural receipts, not a URL-only or HTTP200 proof.
# Runs every 30 minutes within the owner's six-hour window. NO product writes.
on:
  push:
    branches: [main]
    paths:
      - '.github/workflows/v923-gridatlas-real-map-qa.yml'
  schedule:
    - cron: '0,30 * * * *'
  workflow_dispatch:

permissions:
  contents: read
  issues: write

concurrency:
  group: v923-map-behaviour-six-hour-window
  cancel-in-progress: false

jobs:
  visible-nearest:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - name: Fixed UTC window gate
        id: window
        run: |
          python3 - <<'PY'
          from datetime import datetime,timezone
          import os
          now=datetime.now(timezone.utc)
          active=datetime(2026,11,16,0,0,tzinfo=timezone.utc)<=now<datetime(2026,11,16,6,15,tzinfo=timezone.utc)
          with open(os.environ['GITHUB_OUTPUT'],'a') as f:f.write('active='+str(active).lower()+'\n')
          print(now.isoformat(),'active',active)
          PY
      - uses: actions/checkout@v4
        if: steps.window.outputs.active == 'true'
        with:
          ref: agent10/v923-six-hour-repair-20261116
          fetch-depth: 1
          persist-credentials: false
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - uses: actions/setup-node@v4
        if: steps.window.outputs.active == 'true'
        with:
          node-version: '22'
      - name: Browser dependencies for the pinned V9.23 harness
        if: steps.window.outputs.active == 'true'
        working-directory: uk_renewables_pipeline/202611160020
        run: |
          npm ci --ignore-scripts
          npx playwright install --with-deps chromium
      - name: Actual mobile and desktop MAP click, receiver compose and visible nearest
        id: map
        if: steps.window.outputs.active == 'true'
        shell: bash
        run: |
          set +e
          mkdir -p "$RUNNER_TEMP/v923-real-map"
          python3 -m http.server 8765 --bind 127.0.0.1 >"$RUNNER_TEMP/v923-real-map/http.log" 2>&1 &
          SERVER_PID=$!
          trap 'kill $SERVER_PID 2>/dev/null || true' EXIT
          sleep 2
          source_sha="$(git rev-parse HEAD)"
          echo "ACTUAL_SOURCE_SHA=$source_sha" >> "$GITHUB_ENV"
          export AGENT7_PIPELINE_SOURCE=http://127.0.0.1:8765/uk_renewables_pipeline/202611160020/
          export AGENT7_ENGINE_MODE=local
          export AGENT7_ENGINE_SAMPLE_LIMIT=3
          export AGENT7_ENGINE_WAIT_MS=85000
          export AGENT7_ENGINE_REPORT_DIR="$RUNNER_TEMP/v923-real-map/390"
          GITHUB_SHA="$source_sha" AGENT7_ENGINE_WIDTH=390 node uk_renewables_pipeline/202611160020/tests/browser_real_map_to_engine_agent7.mjs >"$RUNNER_TEMP/v923-real-map/390.log" 2>&1
          mobile=$?
          export AGENT7_ENGINE_REPORT_DIR="$RUNNER_TEMP/v923-real-map/1440"
          GITHUB_SHA="$source_sha" AGENT7_ENGINE_WIDTH=1440 node uk_renewables_pipeline/202611160020/tests/browser_real_map_to_engine_agent7.mjs >"$RUNNER_TEMP/v923-real-map/1440.log" 2>&1
          desktop=$?
          printf 'SOURCE_SHA=%s\nMOBILE_390_EXIT=%s\nDESKTOP_1440_EXIT=%s\n' "$source_sha" "$mobile" "$desktop" | tee "$RUNNER_TEMP/v923-real-map/verdict.env"
          if (( mobile != 0 || desktop != 0 )); then
            echo "REAL ENGINE USER-VISIBLE CHECK RED. Logs, screenshots and JSON preserved."
            exit 1
          fi
      - name: Report exact outcome in product release issue, no fake green
        if: always() && steps.window.outputs.active == 'true'
        continue-on-error: true
        env:
          GH_TOKEN: ${{ github.token }}
          MAP_OUTCOME: ${{ steps.map.outcome }}
        run: |
          {
            echo "[V9.23 REAL MAP CI] 390px + 1440px — $MAP_OUTCOME"
            echo "Run: https://github.com/Ventusltd/globalgrid2050/actions/runs/$GITHUB_RUN_ID"
            echo "Exact candidate checkout: ${ACTUAL_SOURCE_SHA:-UNKNOWN}"
            echo "Real external receiver: https://ventusltd.github.io/gridatlas/atlas/"
            echo "No destination/interceptor mocks; V9.23 source is locally served."
            if test -e "$RUNNER_TEMP/v923-real-map/verdict.env"; then cat "$RUNNER_TEMP/v923-real-map/verdict.env"; fi
            echo "This is a 3-technology partial sample only, not 7,775-case approval."
            echo "A hidden nearest result is not a visible result. GridAtlas still requires independent receiver-owner acceptance."
          } > "$RUNNER_TEMP/v923-map-comment.txt"
          gh issue comment 121 --repo Ventusltd/globalgrid2050 --body-file "$RUNNER_TEMP/v923-map-comment.txt"
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: v923-real-grid-engine-${{ github.run_id }}
          path: ${{ runner.temp }}/v923-real-map/
          retention-days: 14

GlobalGrid2050 V923 Six Hour Python Repair Workflow

A GitHub Actions workflow that builds and publishes the site. Runs on push, on a schedule and by hand.

automationglobalgrid2050 / .github/workflows/v923-six-hour-python-repair.yml · lines 1–157 of 157 · Entry point

What it does
It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Inputs & outputs
In: JSON file versions.json; JSON file feedback.json. Out: commits pushed to the repository.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.23 six-hour Python repair and release gates”; runs Repair (`automation/v923-recovery/repair.py`), Run V9 23 (`uk_renewables_pipeline/202611160020/tests/run_v9_23.sh`) and Verify (`automation/pipeline_release/verify.py`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Repair (workflow run), Machine Notes V923 (workflow run), Live News (workflow run), Projects V9 8 (workflow run), Run V9 23 (workflow run), Test Regressions (workflow run), Verify (workflow run), Feedback (workflow run)
Used by
none found
Produces
none declared
Defines here
V9.23 six-hour Python repair and release gates
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v923-six-hour-python-repair.yml:1-157 · blob cbb811bf159cd3c1e946b6bf933055e7fa70d1f7 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom, filesystem, process · domain stage: unknown · users: none · canonical: production_core
name: V9.23 six-hour Python repair and release gates
# GitHub Actions, every 30 minutes. One fresh capped job, no background AI session.
# Only builds/updates a nonlive candidate branch. Never deploys or changes homepage.
on:
  push:
    branches: [main]
    paths:
      - '.github/workflows/v923-six-hour-python-repair.yml'
  schedule:
    - cron: '0,30 * * * *'
  workflow_dispatch:

permissions:
  contents: write
  issues: write
  actions: write

concurrency:
  group: v923-six-hour-product-repair
  cancel-in-progress: false

jobs:
  repair-and-test:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - name: Six-hour cutoff, fail no-op outside authorised window
        id: window
        run: |
          python3 - <<'PY'
          from datetime import datetime,timezone
          import os
          now=datetime.now(timezone.utc)
          enabled=datetime(2026,11,16,0,0,tzinfo=timezone.utc)<=now<datetime(2026,11,16,6,15,tzinfo=timezone.utc)
          with open(os.environ['GITHUB_OUTPUT'],'a') as fp: fp.write('active='+str(enabled).lower()+'\n')
          print('active',enabled,'UTC',now.isoformat())
          PY
      - uses: actions/checkout@v4
        if: steps.window.outputs.active == 'true'
        with:
          ref: agent10/v923-six-hour-repair-20261116
          fetch-depth: 0
          persist-credentials: true
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - uses: actions/setup-node@v4
        if: steps.window.outputs.active == 'true'
        with:
          node-version: '22'
      - name: Python creates new V9.23 only once; archive V9.22 untouched
        if: steps.window.outputs.active == 'true'
        run: |
          mkdir -p "$RUNNER_TEMP/v923"
          python3 -m py_compile automation/v923-recovery/repair.py
          python3 automation/v923-recovery/repair.py build
      - name: Python source, link, UI and backwards compatibility gates
        id: checks
        if: steps.window.outputs.active == 'true'
        shell: bash
        run: |
          set -o pipefail
          mkdir -p "$RUNNER_TEMP/v923"
          python3 automation/v923-recovery/repair.py check 2>&1 | tee "$RUNNER_TEMP/v923/structure.log"
          node --check uk_renewables_pipeline/202611160020/scripts/plugins/machine-notes-v923.js
          node --check uk_renewables_pipeline/202611160020/scripts/plugins/live-news.js
          node --check uk_renewables_pipeline/202611160020/scripts/plugins/projects-v9-8.js
          bash uk_renewables_pipeline/202611160020/tests/run_v9_23.sh 2>&1 | tee "$RUNNER_TEMP/v923/runner.log"
      - name: CVAA negative tests — interrupted build, note columns, feedback and page rerender
        id: adversarial
        if: steps.window.outputs.active == 'true'
        shell: bash
        run: |
          set -o pipefail
          python3 -m unittest discover -s automation/v923-recovery -p 'test_*.py' -v 2>&1 | tee "$RUNNER_TEMP/v923/adversarial.log"
      - name: Existing historical version/REPD/CSV/MAP regression runner
        id: regression
        if: steps.window.outputs.active == 'true' && steps.checks.outcome == 'success'
        shell: bash
        run: |
          set -o pipefail
          VERIFY_OUT="$RUNNER_TEMP/v923/versions.json" python3 automation/pipeline_release/verify.py --check 2>&1 | tee "$RUNNER_TEMP/v923/version-parity.log"
      - name: Re-check UTC cutoff before any new branch write
        id: final_window
        if: steps.window.outputs.active == 'true' && steps.regression.outcome == 'success'
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          now=datetime.now(timezone.utc)
          stop=datetime(2026,11,16,6,15,tzinfo=timezone.utc)
          print('utc',now.isoformat(),'cutoff',stop.isoformat())
          if now >= stop: raise SystemExit('STOP: 06:15 UTC passed; no new candidate commits')
          PY
      - name: Commit only after Python and release parity gates pass
        if: steps.final_window.outcome == 'success'
        run: |
          git config user.name 'github-actions[bot]'
          git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
          git add uk_renewables_pipeline/202611160020/ automation/pipeline_release/registry.json
          if ! git diff --staged --quiet; then
            git commit -m 'build(v923): new nonlive one-feed Machine Read Notes candidate'
            git push origin HEAD:agent10/v923-six-hour-repair-20261116
          fi
          echo "ACTUAL_CANDIDATE_SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV"
      - name: Request independent existing full browser, CSV, MAP and historical version CI
        if: steps.final_window.outcome == 'success' && steps.regression.outcome == 'success'
        continue-on-error: true
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          gh workflow run verify-pipeline-versions.yml --ref agent10/v923-six-hour-repair-20261116
      - name: Refresh the existing Python ONE-FEED headline collector (six-hour scope only)
        if: steps.final_window.outcome == 'success'
        continue-on-error: true
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          gh workflow run pipeline-headlines.yml --ref main
      - name: Produce machine-readable failure analysis and next repair for every run
        if: always() && steps.window.outputs.active == 'true'
        shell: bash
        run: |
          mkdir -p "$RUNNER_TEMP/v923"
          python3 automation/v923-recovery/feedback.py "$RUNNER_TEMP/v923/versions.json" \
            "$RUNNER_TEMP/v923/feedback.json" "$RUNNER_TEMP/v923/feedback.md"
      - name: Publish failures AND passing evidence to release issue (not homepage)
        if: always() && steps.window.outputs.active == 'true'
        continue-on-error: true
        env:
          GH_TOKEN: ${{ github.token }}
          CHECK_STATUS: ${{ steps.checks.outcome }}
          HISTORY_STATUS: ${{ steps.regression.outcome }}
        shell: bash
        run: |
          {
            echo "[V9.23 PYTHON ACTIONS AUDIT] NONLIVE — 2026-11-16"
            echo "Candidate branch: agent10/v923-six-hour-repair-20261116"
            echo "Tested commit: ${ACTUAL_CANDIDATE_SHA:-unknown}"
            echo "Direct run: https://github.com/Ventusltd/globalgrid2050/actions/runs/${GITHUB_RUN_ID}"
            echo "Candidate structural / own-runner verdict: $CHECK_STATUS"
            echo "All historical versions/CSV/MAP static regression: $HISTORY_STATUS"
            echo "Real GridAtlas 390px visible nearest output: UNVERIFIED / known REPD12588, REPD2470 RED"
            echo "Original publisher rights/project-binding: UNVERIFIED"
            echo "Physical iPhone and served preview SHA: UNVERIFIED"
            echo "No GridAtlas/Agent9 files, historic version, homepage pointer or production change authorised."
          } > "$RUNNER_TEMP/v923/summary.txt"
          if [ -f "$RUNNER_TEMP/v923/feedback.md" ]; then
            cat "$RUNNER_TEMP/v923/feedback.md" >> "$RUNNER_TEMP/v923/summary.txt"
          fi
          gh issue comment 121 --repo Ventusltd/globalgrid2050 --body-file "$RUNNER_TEMP/v923/summary.txt"
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: v923-repair-verdict-${{ github.run_id }}
          path: ${{ runner.temp }}/v923/
          retention-days: 14

GlobalGrid2050 V924 Public Readback Workflow

A GitHub Actions workflow. Runs on pull requests, by hand and after another workflow.

automationglobalgrid2050 / .github/workflows/v924-public-readback.yml · lines 1–89 of 89 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes.
Inputs & outputs
In: JSON file pipeline-readback-trigger.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Pipeline News public served-byte and rollback verification”; runs Verify (`automation/v924_public/verify.py`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Test Verify (workflow run), Verify (workflow run)
Used by
none found
Produces
none declared
Defines here
Pipeline News public served-byte and rollback verification
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v924-public-readback.yml:1-89 · blob 53557b779abc01f76deedfbec0ecd3c50e5d5c50 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: filesystem, process · domain stage: unknown · users: none · canonical: production_core
name: Pipeline News public served-byte and rollback verification
# Retain this existing workflow identity; no additional scheduler.
on:
  pull_request:
    paths:
      - 'automation/v924_public/**'
      - 'scripts/import_homepage_owner.py'
      - '.github/workflows/v924-public-readback.yml'
  workflow_run:
    workflows: ["Deploy GlobalGrid2050 Pages"]
    types: [completed]
    branches: [main]
  workflow_dispatch:
permissions:
  contents: read
concurrency:
  group: pipeline-public-readback-${{ github.event_name == 'pull_request' && github.ref || 'public' }}
  cancel-in-progress: true
jobs:
  offline:
    runs-on: ubuntu-latest
    timeout-minutes: 5
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
        with:
          persist-credentials: false
          sparse-checkout: |
            automation/v924_public
            scripts
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
        with:
          python-version: '3.12'
      - name: Test pin, transformed bytes, operative selection and failure gates offline
        run: python3 -m unittest discover -s automation/v924_public -p test_verify.py -v
  verify:
    if: github.event_name != 'pull_request'
    needs: offline
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
        with:
          # Check the triggering source, not a newer moving main. The receipt
          # states exactly which checkout was compared with the public bytes.
          ref: ${{ github.event.workflow_run.head_sha || github.sha }}
          persist-credentials: false
          fetch-depth: 1
          sparse-checkout: |
            /automation/v924_public/
            /automation/pipeline_release/registry.json
            /catalogue/homepage-owner.json
            /uk_renewables_pipeline/20*/index.html
            /uk_renewables_pipeline/20*/solar1000/manifest.json
            /uk_renewables_pipeline/versions.json
          sparse-checkout-cone-mode: false
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
        with:
          python-version: '3.12'
      - name: Record source and trigger identities
        env:
          TRIGGER_RUN: ${{ github.event.workflow_run.html_url }}
          TRIGGER_HEAD: ${{ github.event.workflow_run.head_sha }}
          TRIGGER_CONCLUSION: ${{ github.event.workflow_run.conclusion }}
        run: |
          python3 - <<'PY'
          import json, os, pathlib, subprocess
          out = pathlib.Path(os.environ['RUNNER_TEMP']) / 'pipeline-readback-trigger.json'
          out.write_text(json.dumps({
              'checked_source_commit': subprocess.check_output(['git', 'rev-parse', 'HEAD'], text=True).strip(),
              'trigger_run': os.environ.get('TRIGGER_RUN'),
              'trigger_head': os.environ.get('TRIGGER_HEAD'),
              'trigger_conclusion': os.environ.get('TRIGGER_CONCLUSION'),
              'scope': 'Source compared with served bytes; trigger head is not assumed to be the Pages build checkout.'
          }, indent=2) + '\n')
          PY
      - name: Verify pinned operative release, homepage bundle and V9.24/V9.23 rollback
        env:
          PIPELINE_RECEIPT_PATH: ${{ runner.temp }}/pipeline-public-receipt.json
          PIPELINE_VERIFY_ATTEMPTS: 3
          PIPELINE_VERIFY_DELAY_SECONDS: 8
        run: python3 automation/v924_public/verify.py
      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
        if: always()
        with:
          name: pipeline-public-byte-receipt
          path: |
            ${{ runner.temp }}/pipeline-public-receipt.json
            ${{ runner.temp }}/pipeline-readback-trigger.json
          retention-days: 30

GlobalGrid2050 V928 Preview Acceptance Workflow

A GitHub Actions workflow. Runs on pull requests and by hand.

automationglobalgrid2050 / .github/workflows/v928-preview-acceptance.yml · lines 1–85 of 85 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet).
Inputs & outputs
In: DuckDB queries.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.28 isolated preview acceptance”; runs Verify Imports (`automation/v928_intelligence/verify_imports.py`), Build (`automation/v928_context/build.py`) and Invariants (`automation/v928_preview/invariants.mjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Verify Imports (workflow run), Build (workflow run), Test Grid Watch (workflow run), Model Test (workflow run), View Test (workflow run), Adapter Test (workflow run), Invariants (workflow run), Run V9 28 (workflow run), and 1 more
Used by
none found
Produces
none declared
Defines here
V9.28 isolated preview acceptance
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v928-preview-acceptance.yml:1-85 · blob 6cccc08b31d98838c4affc4f7ef6a0394143614b · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: ingest · effects: process, storage · domain stage: unknown · users: none · canonical: production_core
name: V9.28 isolated preview acceptance

on:
  pull_request:
    paths:
      - 'automation/v928_*/**'
      - 'automation/news/**'
      - 'uk_renewables_pipeline/202611161757/**'
      - '.github/workflows/v928-preview-acceptance.yml'
  workflow_dispatch:

permissions:
  contents: read

concurrency:
  group: v928-preview-${{ github.ref }}
  cancel-in-progress: true

jobs:
  preview:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    env:
      PYTHONUTF8: '1'
      PYTHONDONTWRITEBYTECODE: '1'
      FIGURES_UI_DIR: ${{ github.workspace }}/external/TestCode/sandbox/filings-ui
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          ref: ${{ github.event.pull_request.head.sha || github.sha }}
          persist-credentials: false
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          repository: Ventusltd/TestCode
          ref: b460cb7f76172691b5ffb6d2a7f1a8e12057ba20
          path: external/TestCode
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
        with:
          python-version: '3.13'
      - name: Install bounded test dependencies
        env:
          HISTORY_BASE_INPUT: ${{ github.event.pull_request.base.sha }}
        run: |
          python -m pip install pytest==9.2.0 duckdb==1.3.2
          npm ci --prefix automation/news/acquisition/browser --ignore-scripts
          npm exec --prefix automation/news/acquisition/browser -- playwright install --with-deps chromium
          git fetch --depth 1 origin 65bcc01e0d7e4dc073e759345727e53cf7a95752 3cf3cc0fd1a0b14f46fc1eb7a16d2b01fb50f550
          if [ -n "$HISTORY_BASE_INPUT" ]; then
            git fetch --depth 1 origin "$HISTORY_BASE_INPUT"
            git cat-file -e "$HISTORY_BASE_INPUT^{commit}"
            git cat-file -e "$HISTORY_BASE_INPUT:uk_renewables_pipeline"
          else
            git fetch --depth 1 origin main:refs/remotes/origin/main
            git cat-file -e "origin/main:uk_renewables_pipeline"
          fi
          echo "V928_OUT=$RUNNER_TEMP/v928-proof" >> "$GITHUB_ENV"
          echo "V928_PLAYWRIGHT=$GITHUB_WORKSPACE/automation/news/acquisition/browser/node_modules/playwright/index.mjs" >> "$GITHUB_ENV"
      - name: Verify selected component bytes and Context export
        run: |
          python -B automation/v928_intelligence/verify_imports.py
          python -B automation/v928_context/build.py --figures-dir "$FIGURES_UI_DIR" --verify-validation
      - name: Native Python producer and corrected adapter contracts
        run: |
          python -B -m pytest -q -p no:cacheprovider automation/news/tests/test_v928_dc_data.py automation/news/tests/test_engine.py automation/news/tests/test_engine_independent.py automation/news/tests/test_transition_context.py automation/news/tests/test_grid_dc_context.py automation/news/tests/test_solar_dc_context.py automation/news/tests/test_policy_commitments.py automation/news/tests/test_  … [line shortened here: 417 characters; full line on GitHub]
          python -B -m unittest discover -s automation/news/tests -p test_grid_watch.py
      - name: Native Node component contracts
        run: node --test automation/news/datacentre-ui/tests/*.test.cjs automation/news/context-ui/adapter.test.mjs
      - name: Full canonical data, original MAP links and actual package budget
        env:
          V928_BASE_SHA: ${{ github.event.pull_request.base.sha }}
        run: node automation/v928_preview/invariants.mjs
      - name: Formal V9.28 source and rebuilt data runner on Linux
        run: bash uk_renewables_pipeline/202611161757/tests/run_v9_28.sh
      - name: Actual local-browser integration and negative source states
        run: node automation/v928_preview/browser.mjs
      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
        if: always()
        with:
          name: v928-preview-${{ github.event.pull_request.head.sha || github.sha }}
          path: ${{ runner.temp }}/v928-proof
          retention-days: 7

GlobalGrid2050 V929 Preview Acceptance Workflow

A GitHub Actions workflow that builds and publishes the site. Runs on pull requests, by hand and on release.

automationglobalgrid2050 / .github/workflows/v929-preview-acceptance.yml · lines 1–66 of 66 · Entry point

What it does
It builds and publishes its content. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet).
Inputs & outputs
In: JSON file sources.json; DuckDB queries.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.29 modular Pipeline acceptance”; runs Invariants (`automation/v929_preview/invariants.mjs`), Run V9 29 (`uk_renewables_pipeline/202611162354/tests/run_v9_29.sh`) and Browser (`automation/v929_preview/browser.mjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Test Compact Successor (workflow run), Contracts Test (workflow run), Invariants (workflow run), Run V9 29 (workflow run), Browser (workflow run)
Used by
none found
Produces
none declared
Defines here
V9.29 modular Pipeline acceptance
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v929-preview-acceptance.yml:1-66 · blob 3b94c21d38443e1a4dd5939362eaf08236f79cd7 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: ingest · effects: process, storage · domain stage: unknown · users: none · canonical: production_core
name: V9.29 modular Pipeline acceptance

on:
  pull_request:
    paths:
      - 'uk_renewables_pipeline/202611162354/**'
      - 'automation/v929_preview/**'
      # The published edition has an explicit runtime closure. Future release
      # registries are checked by Verify Pipeline News versions and their own
      # host suite; they do not alter this immutable V9.29 application.
      - 'automation/news/datacentre-ui/**'
      - 'automation/news/grid_watch/sources.json'
      - 'automation/v928_context/preview/**'
      - '.github/workflows/v929-preview-acceptance.yml'
  workflow_dispatch:

permissions:
  contents: read

concurrency:
  group: v929-preview-${{ github.ref }}
  cancel-in-progress: true

jobs:
  acceptance:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    env:
      PYTHONUTF8: '1'
      PYTHONDONTWRITEBYTECODE: '1'
      V929_BASE_SHA: d1baa7a9c20de78dc7e1995042df335c3212adbf
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          ref: ${{ github.event.pull_request.head.sha || github.sha }}
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
        with:
          python-version: '3.13'
      - name: Install existing locked test dependencies
        run: |
          git fetch --depth 1 origin "$V929_BASE_SHA" 8f94299afc8628908dc8bf461cb5ea607560332b
          python -m pip install pytest==9.2.0 duckdb==1.3.2
          npm ci --prefix automation/news/acquisition/browser --ignore-scripts
          npm exec --prefix automation/news/acquisition/browser -- playwright install --with-deps chromium
          echo "V929_OUT=$RUNNER_TEMP/v929-proof" >> "$GITHUB_ENV"
          echo "V929_PLAYWRIGHT=$GITHUB_WORKSPACE/automation/news/acquisition/browser/node_modules/playwright/index.mjs" >> "$GITHUB_ENV"
      - name: Compact successor generation and reviewed module contracts
        run: |
          python -B -m pytest -q -p no:cacheprovider automation/pipeline_release/tests/test_compact_successor.py
          node --test automation/v929_preview/contracts.test.mjs
      - name: Exact module closure, immutable history, canonical rows and package budget
        run: node automation/v929_preview/invariants.mjs
      - name: Formal edition source and rebuilt data on Linux
        run: bash uk_renewables_pipeline/202611162354/tests/run_v9_29.sh
      - name: Integrated browser flows and source-failure isolation
        run: node automation/v929_preview/browser.mjs
      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
        if: always()
        with:
          name: v929-exact-head-proof
          path: ${{ runner.temp }}/v929-proof
          retention-days: 14

GlobalGrid2050 V930 Preview Acceptance Workflow

A GitHub Actions workflow. Runs on pull requests and by hand.

automationglobalgrid2050 / .github/workflows/v930-preview-acceptance.yml · lines 1–64 of 64 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes; uses storage (browser storage, DuckDB or Parquet).
Inputs & outputs
In: JSON file sources.json; DuckDB queries.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.30 Data Centre address and screening acceptance”; runs Invariants (`automation/v930_preview/invariants.mjs`), Run V9 30 (`uk_renewables_pipeline/202611170147/tests/run_v9_30.sh`) and Browser (`automation/v930_preview/browser.mjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
globalgrid2050 · .github/workflows · workflow
Uses
Test Compact Successor (workflow run), Contracts Test (workflow run), Contracts Test (workflow run), Invariants (workflow run), Run V9 30 (workflow run), Browser (workflow run)
Used by
none found
Produces
none declared
Defines here
V9.30 Data Centre address and screening acceptance
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/v930-preview-acceptance.yml:1-64 · blob 3848604aa563d1bf07c464a0907cdb2c8d185f81 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: ingest · effects: process, storage · domain stage: unknown · users: none · canonical: production_core
name: V9.30 Data Centre address and screening acceptance

on:
  pull_request:
    paths:
      - 'uk_renewables_pipeline/202611170147/**'
      - 'automation/v930_preview/**'
      - 'automation/dc_location_ui/83e7c36d08ef98f3665f7f35b8637405391dc4be/**'
      - 'automation/news/datacentre-ui/**'
      - 'automation/news/grid_watch/sources.json'
      - 'automation/v928_context/preview/**'
      - '.github/workflows/v930-preview-acceptance.yml'
  workflow_dispatch:

permissions:
  contents: read

concurrency:
  group: v930-preview-${{ github.ref }}
  cancel-in-progress: true

jobs:
  acceptance:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    env:
      PYTHONUTF8: '1'
      PYTHONDONTWRITEBYTECODE: '1'
      V930_BASE_SHA: 52e5f3e3eaf25b6133f9835c21430b8627ee23a6
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          ref: ${{ github.event.pull_request.head.sha || github.sha }}
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
        with:
          python-version: '3.13'
      - name: Install existing locked test dependencies
        run: |
          git fetch --depth 1 origin "$V930_BASE_SHA" 8f94299afc8628908dc8bf461cb5ea607560332b 83e7c36d08ef98f3665f7f35b8637405391dc4be
          python -m pip install pytest==9.2.0 duckdb==1.3.2
          npm ci --prefix automation/news/acquisition/browser --ignore-scripts
          npm exec --prefix automation/news/acquisition/browser -- playwright install --with-deps chromium
          echo "V930_OUT=$RUNNER_TEMP/v930-proof" >> "$GITHUB_ENV"
          echo "V930_PLAYWRIGHT=$GITHUB_WORKSPACE/automation/news/acquisition/browser/node_modules/playwright/index.mjs" >> "$GITHUB_ENV"
      - name: Successor generation and reviewed location/module contracts
        run: |
          python -B -m pytest -q -p no:cacheprovider automation/pipeline_release/tests/test_compact_successor.py
          node --test automation/v929_preview/contracts.test.mjs automation/v930_preview/contracts.test.mjs
      - name: Exact module closure, immutable history, canonical rows and package budget
        run: node automation/v930_preview/invariants.mjs
      - name: Formal edition source and rebuilt data on Linux
        run: bash uk_renewables_pipeline/202611170147/tests/run_v9_30.sh
      - name: Integrated browser flows and source-failure isolation
        run: node automation/v930_preview/browser.mjs
      - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
        if: always()
        with:
          name: v930-exact-head-proof
          path: ${{ runner.temp }}/v930-proof
          retention-days: 14