GLOBALGRID2050 / EXPLORE CODE

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

GlobalGrid2050 Generation Heartbeat Mvp Workflow and 12 more files

A GitHub Actions workflow. Runs by hand.

653 lines of YAML from globalgrid2050, in 13 files. Topic: Automation and CI. Section 1715 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 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing Workflow automation · globalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-tool-overlay-spacing.yml lines 1–47
  2. GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance Workflow automation · globalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-tools-energy-layer-clearance.yml lines 1–47
  3. GlobalGrid2050 Force UK Energy Tracking V3 Price History Workflow automation · globalgrid2050 / .github/workflows/force_uk_energy_tracking_v3_price_history.yml lines 1–43
  4. GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports Workflow automation · globalgrid2050 / .github/workflows/generate-gis-sld-full-code-reports.yml lines 1–51
  5. GlobalGrid2050 Generate V8 Codebase Blueprint Workflow automation · globalgrid2050 / .github/workflows/generate-v8-codebase-blueprint.yml lines 1–52
  6. GlobalGrid2050 Generate Deep Subsea Workflow automation · globalgrid2050 / .github/workflows/generate_deep_subsea.yml lines 1–19
  7. GlobalGrid2050 Generate Global Hydrocarbons Workflow automation · globalgrid2050 / .github/workflows/generate_global_hydrocarbons.yml lines 1–34
  8. GlobalGrid2050 Generate Price History 4bucket V2 Workflow automation · globalgrid2050 / .github/workflows/generate_price_history_4bucket_v2.yml lines 1–43
  9. GlobalGrid2050 Generate Repo Structure Workflow automation · globalgrid2050 / .github/workflows/generate_repo_structure.yml lines 1–44
  10. GlobalGrid2050 Generate V6 Architectural Integrity Protocol Workflow automation · globalgrid2050 / .github/workflows/generate_v6_architectural_integrity_protocol.yml lines 1–35
  11. GlobalGrid2050 Generation Ecg All Tech Mvp Workflow automation · globalgrid2050 / .github/workflows/generation_ecg_all_tech_mvp.yml lines 1–100
  12. GlobalGrid2050 Generation Heartbeat Mvp Workflow automation · globalgrid2050 / .github/workflows/generation_heartbeat_mvp.yml lines 1–118
  13. GlobalGrid2050 Generator Device Review Workflow automation · globalgrid2050 / .github/workflows/generator-device-review.yml lines 1–20

GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-tool-overlay-spacing.yml · lines 1–47 of 47 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
Inputs & outputs
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
Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing (`scripts/fix_v7_gis_sld_mobile_tool_overlay_spacing.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
GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tool Overlay Spacing (workflow run)
Used by
none found
Produces
none declared
Defines here
Fix V7 GIS SLD Mobile Tool Overlay Spacing
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/fix-v7-gis-sld-mobile-tool-overlay-spacing.yml:1-47 · blob dab4f81d0606501658f02bff6a23852a58c13cd8 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Fix V7 GIS SLD Mobile Tool Overlay Spacing

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  fix-mobile-tool-spacing:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.11"

      - name: Apply mobile tool overlay spacing fix
        run: python scripts/fix_v7_gis_sld_mobile_tool_overlay_spacing.py

      - name: Commit and push mobile tool overlay spacing fix
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"

          git pull --rebase --autostash origin main
          git add \
            solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css \
            scripts/fix_v7_gis_sld_mobile_tool_overlay_spacing.py \
            gridbot_reports/fix_v7_gis_sld_mobile_tool_overlay_spacing.md

          if git diff --cached --quiet; then
            echo "No mobile tool overlay spacing changes to commit."
            exit 0
          fi

          git commit -m "Fix V7 GIS SLD mobile tool overlay spacing"
          git pull --rebase --autostash origin main
          git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main

GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-tools-energy-layer-clearance.yml · lines 1–47 of 47 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
Inputs & outputs
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
Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance (`scripts/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.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
GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Tools Energy Layer Clearance (workflow run)
Used by
none found
Produces
none declared
Defines here
Fix V7 GIS SLD Mobile Tools Energy Layer Clearance
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/fix-v7-gis-sld-mobile-tools-energy-layer-clearance.yml:1-47 · blob 8e4ef88ba46c5c998949b35116cc3ca901629e79 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Fix V7 GIS SLD Mobile Tools Energy Layer Clearance

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  fix-mobile-tools-clearance:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.11"

      - name: Apply mobile tools energy layer clearance fix
        run: python scripts/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.py

      - name: Commit and push mobile tools energy layer clearance fix
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"

          git pull --rebase --autostash origin main
          git add \
            solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css \
            scripts/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.py \
            gridbot_reports/fix_v7_gis_sld_mobile_tools_energy_layer_clearance.md

          if git diff --cached --quiet; then
            echo "No mobile tools clearance changes to commit."
            exit 0
          fi

          git commit -m "Fix V7 GIS SLD mobile tools clearance"
          git pull --rebase --autostash origin main
          git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main

GlobalGrid2050 Force UK Energy Tracking V3 Price History Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/force_uk_energy_tracking_v3_price_history.yml · lines 1–43 of 43 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
Inputs & outputs
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
Runs GlobalGrid2050 Update UK Price V3 (`scripts/update_uk_price_v3.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
GlobalGrid2050 Update UK Price V3 (workflow run)
Used by
none found
Produces
none declared
Defines here
force_uk_energy_tracking_v3_price_history
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/force_uk_energy_tracking_v3_price_history.yml:1-43 · blob 22ed58f1dfac958e832d43bf97356039de439f8a · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: force_uk_energy_tracking_v3_price_history

on:
  workflow_dispatch:
permissions:
  contents: write

concurrency:
  group: uk-energy-tracking-v3-price-history
  cancel-in-progress: false

jobs:
  capture:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: ${{ secrets.GRIDBOT_PAT }}
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
      - run: pip install requests
      - name: Force V3 price history capture
        run: FORCE_UK_PRICE=1 python scripts/update_uk_price_v3.py
      - name: Commit V3 price history
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          set -e
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"
          git add \
            uk_energy_tracking_v3/live_grid_price.json \
            uk_energy_tracking_v3/electricity_price_history.csv \
            uk_energy_tracking_v3/electricity_price_history.json
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Forced V3 price history capture: $(date -u +'%Y-%m-%d %H:%M UTC')"
            git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
            git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
          else
            echo "No V3 price history changes to commit"
          fi

GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate-gis-sld-full-code-reports.yml · lines 1–51 of 51 · Entry point

What it does
It runs battery storage (BESS) and solar. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: battery storage (BESS), solar.
Inputs & outputs
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
Runs GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports (`scripts/generate_gis_sld_full_code_reports.py`) and GlobalGrid2050 Test Generate GIS Single-Line Diagram (SLD) Full Code Reports (`scripts/test_generate_gis_sld_full_code_reports.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
GlobalGrid2050 Generate GIS Single-Line Diagram (SLD) Full Code Reports (workflow run), GlobalGrid2050 Test Generate GIS Single-Line Diagram (SLD) Full Code Reports (workflow run)
Used by
none found
Produces
none declared
Defines here
Generate GIS SLD Full Code Reports
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/generate-gis-sld-full-code-reports.yml:1-51 · blob 0dfc2724887b77751bcd1d93833b3a5688733b34 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Generate GIS SLD Full Code Reports

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  generate-gis-sld-full-code-reports:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.11"

      - name: Generate GIS SLD full code reports
        run: python scripts/generate_gis_sld_full_code_reports.py

      - name: Run GIS SLD full code report checks
        run: python scripts/test_generate_gis_sld_full_code_reports.py

      - name: Commit and push GIS SLD full code reports
        run: |
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"

          git pull --rebase --autostash origin main

          git add \
            solar-bess-topology-v7/gis-sld-financial-sandbox/GIS_SLD_FULL_CODE_REPORT_V7.md \
            solar-bess-topology-v8/bess-gis-sld-financial-sandbox/GIS_SLD_FULL_CODE_REPORT_V8.md \
            scripts/generate_gis_sld_full_code_reports.py \
            scripts/test_generate_gis_sld_full_code_reports.py \
            gridbot_reports/generate_gis_sld_full_code_reports.md

          if git diff --cached --quiet; then
            echo "No GIS SLD full code report changes to commit."
            exit 0
          fi

          git commit -m "Generate GIS SLD full code reports"
          git pull --rebase --autostash origin main
          git push origin HEAD:main

GlobalGrid2050 Generate V8 Codebase Blueprint Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate-v8-codebase-blueprint.yml · lines 1–52 of 52 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Inputs & outputs
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
Runs GlobalGrid2050 Generate V8 Codebase Blueprint (`scripts/generate_v8_codebase_blueprint.py`) and GlobalGrid2050 Test Generate V8 Codebase Blueprint (`scripts/test_generate_v8_codebase_blueprint.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
GlobalGrid2050 Generate V8 Codebase Blueprint (workflow run), GlobalGrid2050 Test Generate V8 Codebase Blueprint (workflow run)
Used by
none found
Produces
none declared
Defines here
Generate V8 Codebase Blueprint
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/generate-v8-codebase-blueprint.yml:1-52 · blob 8e58c224a71dc218618f07b8335a155d098b72d2 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Generate V8 Codebase Blueprint

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  generate-v8-codebase-blueprint:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.11"

      - name: Generate V8 codebase blueprint
        run: python scripts/generate_v8_codebase_blueprint.py

      - name: Run V8 codebase blueprint checks
        run: python scripts/test_generate_v8_codebase_blueprint.py

      - name: Commit and push V8 codebase blueprint
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"

          git pull --rebase --autostash origin main

          git add \
            solar-bess-topology-v8/CODEBASE_BLUEPRINT.md \
            scripts/generate_v8_codebase_blueprint.py \
            scripts/test_generate_v8_codebase_blueprint.py \
            gridbot_reports/generate_v8_codebase_blueprint.md

          if git diff --cached --quiet; then
            echo "No V8 codebase blueprint changes to commit."
            exit 0
          fi

          git commit -m "Generate V8 codebase blueprint"
          git pull --rebase --autostash origin main
          git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main

GlobalGrid2050 Generate Deep Subsea Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate_deep_subsea.yml · lines 1–19 of 19 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Inputs & outputs
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
Runs `scripts/generate_deep_subsea.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
none found
Used by
none found
Produces
none declared
Defines here
Generate Deep Subsea Illustrative
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/generate_deep_subsea.yml:1-19 · blob 59ebd43cd694e3e05498081e058f579153f4f9dd · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Generate Deep Subsea Illustrative

on:
  workflow_dispatch:
jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-python@v4
        with:
          python-version: '3.x'
      - run: python scripts/generate_deep_subsea.py
      - run: |
          git config --local user.email "action@github.com"
          git config --local user.name "GitHub Action"
          git add deep_subsea_illustrative.geojson
          git commit -m "Update Deep Subsea" || exit 0
          git push

GlobalGrid2050 Generate Global Hydrocarbons Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate_global_hydrocarbons.yml · lines 1–34 of 34 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Inputs & outputs
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
Runs `scripts/fetch_global_hydrocarbons.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
none found
Used by
none found
Produces
none declared
Defines here
Generate Global Hydrocarbons Gridbot
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/generate_global_hydrocarbons.yml:1-34 · blob aa40104a954c9ec7ef0393fd1dfbc68d1f737aab · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Generate Global Hydrocarbons Gridbot

on:
  workflow_dispatch: 
jobs:
  update-data:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout repository
      uses: actions/checkout@v3

    - name: Set up Python
      uses: actions/setup-python@v4
      with:
        python-version: '3.9'

    - name: Install dependencies
      run: |
        pip install requests

    # Pointing to the scripts folder
    - name: Run Python script
      run: python scripts/fetch_global_hydrocarbons.py

    - name: Commit and push changes
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      run: |
        git config --global user.name "Gridbot"
        git config --global user.email "gridbot@ventus.com"
        git add global_hydrocarbons.geojson
        git diff --quiet && git diff --staged --quiet || git commit -m "Automated global hydrocarbons update by Gridbot"
        git push

GlobalGrid2050 Generate Price History 4bucket V2 Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate_price_history_4bucket_v2.yml · lines 1–43 of 43 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
Inputs & outputs
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
Runs GlobalGrid2050 Generate Price History 4bucket V2 (`scripts/generate_price_history_4bucket_v2.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
GlobalGrid2050 Generate Price History 4bucket V2 (workflow run)
Used by
none found
Produces
none declared
Defines here
generate_price_history_4bucket_v2
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/generate_price_history_4bucket_v2.yml:1-43 · blob 12b78f7b244fd121d29feae07371d432cf564155 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: generate_price_history_4bucket_v2

on:
  workflow_dispatch:
permissions:
  contents: write

concurrency:
  group: v5-price-history-4bucket
  cancel-in-progress: true

jobs:
  generate:
    if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: ${{ secrets.GRIDBOT_PAT }}

      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Generate V5 4 bucket price history
        run: python scripts/generate_price_history_4bucket_v2.py

      - name: Commit V5 4 bucket price history
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          set -e
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"
          git add uk_energy_tracking_v5/electricity_price_history_4bucket_decade.json
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Generate V5 4 bucket electricity price history: $(date -u +'%Y-%m-%d %H:%M UTC')"
            git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
            git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
          else
            echo "No V5 4 bucket price history changes to commit"
          fi

GlobalGrid2050 Generate Repo Structure Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate_repo_structure.yml · lines 1–44 of 44 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Inputs & outputs
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
No statement of purpose was found in the file, a README line naming it, or its name.
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
none found
Used by
none found
Produces
none declared
Defines here
Generate Repo Structure Gridbot
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/generate_repo_structure.yml:1-44 · blob 2245a6d9ef35444e3fbe7615df846c01c5a1a406 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Generate Repo Structure Gridbot

on:
  workflow_dispatch:
permissions:
  contents: write

concurrency:
  group: generate-repo-structure-gridbot
  cancel-in-progress: true

jobs:
  generate-tree:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Install tree utility
        run: sudo apt-get update && sudo apt-get install tree -y

      - name: Generate structure report
        run: |
          tree -I '.git|__pycache__|node_modules|.github|_site|.jekyll-cache|.sass-cache' > REPO_STRUCTURE.txt

      - name: Commit and push changes
        env:
          GITHUB_TOKEN: ${{ github.token }}
        shell: bash
        run: |
          set -euo pipefail
          git config --global user.name "Gridbot"
          git config --global user.email "gridbot@ventus.com"
          git add REPO_STRUCTURE.txt
          if git diff --cached --quiet; then
            echo "No REPO_STRUCTURE.txt changes to commit"
            exit 0
          fi
          git commit -m "docs: Automated repository structure update by Gridbot"
          git pull --rebase https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git main
          git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git HEAD:main

GlobalGrid2050 Generate V6 Architectural Integrity Protocol Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generate_v6_architectural_integrity_protocol.yml · lines 1–35 of 35 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Inputs & outputs
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
Runs GlobalGrid2050 Generate V6 Architectural Integrity Protocol (`scripts/generate_v6_architectural_integrity_protocol.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
GlobalGrid2050 Generate V6 Architectural Integrity Protocol (workflow run)
Used by
none found
Produces
none declared
Defines here
Generate V6 Architectural Integrity Protocol
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/generate_v6_architectural_integrity_protocol.yml:1-35 · blob 17ef179494e47df78e19a20b1f70320a94288409 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Generate V6 Architectural Integrity Protocol

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Generate V6 architectural integrity protocol
        run: python scripts/generate_v6_architectural_integrity_protocol.py

      - name: Commit V6 architectural integrity protocol
        run: |
          git config user.name "GridBot"
          git config user.email "gridbot@users.noreply.github.com"
          git add uk_energy_tracking_v6/V6_ARCHITECTURAL_INTEGRITY_PROTOCOL.md
          if git diff --cached --quiet; then
            echo "No V6 architectural integrity protocol changes to commit."
          else
            git commit -m "Generate V6 architectural integrity protocol"
            git push
          fi

GlobalGrid2050 Generation Ecg All Tech Mvp Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generation_ecg_all_tech_mvp.yml · lines 1–100 of 100 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage upstream_foresight (path word 'generation'): 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
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
Runs GlobalGrid2050 Build Generation Ecg All Tech Mvp (`scripts/build_generation_ecg_all_tech_mvp.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
GlobalGrid2050 Build Generation Ecg All Tech Mvp (workflow run)
Used by
none found
Produces
none declared
Defines here
Generation ECG All Technologies MVP
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/generation_ecg_all_tech_mvp.yml:1-100 · blob 957ee2203cddfb94c675c2f478d6aff31d89f54e · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Generation ECG All Technologies MVP

on:
  workflow_dispatch:
    inputs:
      mode:
        description: Run mode
        required: true
        default: audit
        type: choice
        options:
          - audit
          - apply
      ecg_days:
        description: Rolling ECG days
        required: true
        default: '30'
        type: choice
        options:
          - '7'
          - '14'
          - '30'
      limit_sources:
        description: Optional source file limit for smoke tests. Use 0 for all.
        required: true
        default: '0'
        type: string
      commit_outputs:
        description: Commit candidate outputs and audit reports
        required: true
        default: 'true'
        type: choice
        options:
          - 'true'
          - 'false'
permissions:
  contents: write

concurrency:
  group: generation-ecg-all-tech-mvp
  cancel-in-progress: false

jobs:
  generation-ecg-all-tech-mvp:
    runs-on: ubuntu-latest
    timeout-minutes: 360

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Audit all technology ECG MVP
        if: github.event.inputs.mode == 'audit'
        run: |
          python scripts/build_generation_ecg_all_tech_mvp.py \
            --ecg-days "${{ github.event.inputs.ecg_days }}" \
            --limit-sources "${{ github.event.inputs.limit_sources }}"

      - name: Apply all technology ECG MVP
        if: github.event.inputs.mode == 'apply'
        run: |
          python scripts/build_generation_ecg_all_tech_mvp.py \
            --ecg-days "${{ github.event.inputs.ecg_days }}" \
            --limit-sources "${{ github.event.inputs.limit_sources }}" \
            --apply

      - name: Upload all technology ECG reports
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: generation-ecg-all-tech-mvp-report
          path: |
            data_science_protocol/audit_reports/GENERATION_ECG_ALL_TECH_MVP_LATEST.md
            data_science_protocol/audit_reports/json/GENERATION_ECG_ALL_TECH_MVP_LATEST.json

      - name: Commit all technology ECG outputs
        if: github.event.inputs.commit_outputs == 'true'
        shell: bash
        run: |
          set -euo pipefail
          git config --global user.name "Gridbot"
          git config --global user.email "gridbot@globalgrid2050.com"
          git add data/confirmed/generation_daily_candidate.json || true
          git add data/confirmed/generation_monthly_candidate.json || true
          git add uk_energy_tracking_v6/generation_history/generation_ecg_all_technologies_*candidate.json || true
          git add data_science_protocol/audit_reports/ || true
          if git diff --cached --quiet; then
            echo "No all technology ECG outputs to commit"
            exit 0
          fi
          git commit -m "gridbot: build all technology generation ECG MVP ${{ github.event.inputs.mode }}"
          git pull --rebase origin "${GITHUB_REF_NAME}"
          git push origin HEAD:"${GITHUB_REF_NAME}"

GlobalGrid2050 Generation Heartbeat Mvp Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/generation_heartbeat_mvp.yml · lines 1–118 of 118 · Entry point

What it does
It runs wind. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage upstream_foresight (path word 'generation'): 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. Domain terms in the code: wind.
Inputs & outputs
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
Runs GlobalGrid2050 Build Generation Heartbeat Mvp (`scripts/build_generation_heartbeat_mvp.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
GlobalGrid2050 Build Generation Heartbeat Mvp (workflow run)
Used by
none found
Produces
none declared
Defines here
Generation Heartbeat MVP
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/generation_heartbeat_mvp.yml:1-118 · blob d7fd02d5e484421d165e54c077ec7d70384feb3d · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Generation Heartbeat MVP

on:
  workflow_dispatch:
    inputs:
      mode:
        description: Run mode
        required: true
        default: audit
        type: choice
        options:
          - audit
          - apply
      technology:
        description: Single technology for ECG candidate
        required: true
        default: Wind
        type: choice
        options:
          - Wind
          - Solar
          - Gas
          - Nuclear
          - Biomass
          - Hydro
          - Pumped Storage
          - Coal
          - Imports & Exports
          - Other
      ecg_days:
        description: Rolling ECG days
        required: true
        default: '30'
        type: choice
        options:
          - '7'
          - '14'
          - '30'
      limit_sources:
        description: Optional source file limit for smoke tests. Use 0 for all.
        required: true
        default: '0'
        type: string
      commit_outputs:
        description: Commit candidate outputs and audit reports
        required: true
        default: 'true'
        type: choice
        options:
          - 'true'
          - 'false'
permissions:
  contents: write

concurrency:
  group: generation-heartbeat-mvp
  cancel-in-progress: false

jobs:
  generation-heartbeat-mvp:
    runs-on: ubuntu-latest
    timeout-minutes: 360

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Audit generation heartbeat MVP
        if: github.event.inputs.mode == 'audit'
        run: |
          python scripts/build_generation_heartbeat_mvp.py \
            --technology "${{ github.event.inputs.technology }}" \
            --ecg-days "${{ github.event.inputs.ecg_days }}" \
            --limit-sources "${{ github.event.inputs.limit_sources }}"

      - name: Apply generation heartbeat MVP
        if: github.event.inputs.mode == 'apply'
        run: |
          python scripts/build_generation_heartbeat_mvp.py \
            --technology "${{ github.event.inputs.technology }}" \
            --ecg-days "${{ github.event.inputs.ecg_days }}" \
            --limit-sources "${{ github.event.inputs.limit_sources }}" \
            --apply

      - name: Upload generation heartbeat reports
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: generation-heartbeat-mvp-report
          path: |
            data_science_protocol/audit_reports/GENERATION_HEARTBEAT_MVP_LATEST.md
            data_science_protocol/audit_reports/json/GENERATION_HEARTBEAT_MVP_LATEST.json

      - name: Commit generation heartbeat outputs
        if: github.event.inputs.commit_outputs == 'true'
        shell: bash
        run: |
          set -euo pipefail
          git config --global user.name "Gridbot"
          git config --global user.email "gridbot@globalgrid2050.com"
          git add data/confirmed/generation_daily_candidate.json || true
          git add data/confirmed/generation_monthly_candidate.json || true
          git add uk_energy_tracking_v6/generation_history/generation_ecg_*_candidate.json || true
          git add data_science_protocol/audit_reports/ || true
          if git diff --cached --quiet; then
            echo "No generation heartbeat outputs to commit"
            exit 0
          fi
          git commit -m "gridbot: build generation heartbeat MVP ${{ github.event.inputs.mode }} ${{ github.event.inputs.technology }}"
          git pull --rebase origin "${GITHUB_REF_NAME}"
          git push origin HEAD:"${GITHUB_REF_NAME}"

GlobalGrid2050 Generator Device Review Workflow

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

automationglobalgrid2050 / .github/workflows/generator-device-review.yml · lines 1–20 of 20 · Entry point

What it does
It builds and publishes its content. Side effects: starts processes.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Runs Verify Evidence (`testcode/20260915050706/verify-evidence.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 Evidence (workflow run)
Used by
none found
Produces
none declared
Defines here
Generator device review evidence
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/generator-device-review.yml:1-20 · blob f16ba19587f0c31b4c05f6d3bf07fe32e95baaae · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Generator device review evidence
on:
  pull_request:
    paths: ['testcode/20260915050706/**', '.github/workflows/generator-device-review.yml']
  push:
    branches: [main]
    paths: ['testcode/20260915050706/**', '.github/workflows/generator-device-review.yml']
  workflow_dispatch:
permissions:
  contents: read
jobs:
  evidence-integrity:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '24'
      - name: Verify published report hashes and explicit unmet gates
        run: node testcode/20260915050706/verify-evidence.mjs