In this section
- Cpu World Workflow automation · star-electron-star / .github/workflows/cpu-world.yml lines 1–61
- Label Workflow automation · star-electron-star / .github/workflows/label.yml lines 1–49
- Swarm Workflow automation · star-electron-star / .github/workflows/swarm.yml lines 1–98
- Star Solar Star — ISSUE Template automation · star-solar-star / .github/ISSUE_TEMPLATE/config.yml lines 1–1
- Create Star automation · star-solar-star / .github/ISSUE_TEMPLATE/create-star.yml lines 1–17
- Build Sun Daily Workflow automation · star-solar-star / .github/workflows/build-sun-daily.yml lines 1–105
- Country Star Candidate Workflow automation · star-solar-star / .github/workflows/country-star-candidate.yml lines 1–52
- Country Star CI Workflow automation · star-solar-star / .github/workflows/country-star-ci.yml lines 1–73
- Publication CI Workflow automation · star-solar-star / .github/workflows/publication-ci.yml lines 1–29
- Publish Approved Star Workflow automation · star-solar-star / .github/workflows/publish-approved-star.yml lines 1–66
- Solar Integrity Workflow automation · star-solar-star / .github/workflows/solar-integrity.yml lines 1–63
- Sun Star Candidate Workflow automation · star-solar-star / .github/workflows/sun-star-candidate.yml lines 1–75
Cpu World Workflow
A GitHub Actions workflow in Star Electron Star. Runs by hand.
automationstar-electron-star / .github/workflows/cpu-world.yml · lines 1–61 of 61 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- CPU WORLD step runner — runs ONLY on the MSI's self-hosted runners (real GPU, logged-in session).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-electron-star · .github/workflows · workflow
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- cpu-world
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-electron-star@241bcca9eb4045e9be5c058ec24f9f5bd26c7af4 .github/workflows/cpu-world.yml:1-61 · blob 55b736c7e24460d3d6a85b679e7d64da7f97c23a · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: unknown
# CPU WORLD step runner — runs ONLY on the MSI's self-hosted runners (real GPU, logged-in session).
# Goes into <repo>/.github/workflows/cpu-world.yml when Vikram says "push".
# Inputs reach the shell ONLY through environment variables (never interpolated into the script),
# and the step name is whitelisted by the switch. The harness may choose args; it cannot choose code.
name: cpu-world
on:
workflow_dispatch:
inputs:
step: { description: "route | keys | routes | engine-route | entangle | probe | review", required: true, default: "probe" }
arg: { description: "probe: pilot command · review: <file> <preset>", required: false, default: "light atlas" }
concurrency: cpu-world-${{ github.run_id }}
jobs:
step:
runs-on: [self-hosted, msi, gpu]
timeout-minutes: 30
env:
CPU_WORLD: C:\Users\vikra\Desktop\CPU WORLD
STEP: ${{ inputs.step }}
ARG: ${{ inputs.arg }}
steps:
- name: Console is up
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
run: |
$ErrorActionPreference = "Stop"
$g = Invoke-RestMethod http://127.0.0.1:8791/gpu
if (-not $g.name) { Write-Error "console answered but nvidia-smi gave nothing"; exit 1 }
$g | ConvertTo-Json -Compress
- name: Ollama is up
if: env.STEP == 'review'
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
run: |
$ErrorActionPreference = "Stop"
(Invoke-RestMethod http://127.0.0.1:11434/api/tags).models.name
- name: Run step
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
if ($env:ARG -notmatch '^[A-Za-z0-9 ._:{}"\[\],-]*$') { Write-Error "arg contains characters that are not allowed"; exit 1 }
switch ($env:STEP) {
"route" { python pipeline\route.py }
"keys" { python pipeline\keys.py }
"routes" { python pipeline\routes.py }
"engine-route" { python pipeline\engine-route.py }
"entangle" { python pipeline\entangle.py }
"probe" { node pipeline\probe.mjs $env:ARG }
"review" { node pipeline\review.mjs $env:ARG }
default { Write-Error "unknown step '$env:STEP'"; exit 1 }
}
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Keep the evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: cpu-world-${{ env.STEP }}-${{ github.run_id }}
path: |
${{ env.CPU_WORLD }}\probe\*
${{ env.CPU_WORLD }}\reviews\*
${{ env.CPU_WORLD }}\route-gridatlas.json
${{ env.CPU_WORLD }}\entangle.json
if-no-files-found: ignoreLabel Workflow
A GitHub Actions workflow in Star Electron Star. Runs on push and by hand.
automationstar-electron-star / .github/workflows/label.yml · lines 1–49 of 49 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Plain British English for the estate, produced on the MSI runners and kept as a record: `describe.py` gives every atlas line a note of what it does.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-electron-star · .github/workflows · workflow
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- label
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-electron-star@241bcca9eb4045e9be5c058ec24f9f5bd26c7af4 .github/workflows/label.yml:1-49 · blob 2fd2e67af8f3da5a112ec24c987b3e2fdf5af68e · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: unknown
# LABEL — plain British English for the estate, produced on the MSI runners and kept as a record:
# describe.py gives every atlas line a note of what it does; label.py says what each app IS (engine, website, API,
# calculator, dictionary, rules, reports, notes, just HTML). Runs on every push and on demand.
name: label
on:
push:
branches: [main]
workflow_dispatch:
jobs:
label:
runs-on: [self-hosted, msi, gpu]
timeout-minutes: 20
env:
CPU_WORLD: C:\Users\vikra\Desktop\CPU WORLD
steps:
- name: Notes for every atlas line
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
python pipeline\describe.py
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: What each app is
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
python pipeline\label.py
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: No nonsense labels (every note and kind is a plain English phrase)
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
$d = Get-Content describe.json -Raw | ConvertFrom-Json
$bad = @($d.notes.PSObject.Properties | Where-Object { $_.Value -notmatch '^[a-z][a-z ,:;''\-]*( [A-Za-z0-9_]+)?$' -or $_.Value.Length -lt 6 })
$l = Get-Content labels.json -Raw | ConvertFrom-Json
$unk = @($l.labels.PSObject.Properties | Where-Object { $_.Value.kind -eq 'unknown' })
Write-Host ("notes " + $d.described + " · odd notes " + $bad.Count + " · apps " + $l.labels.PSObject.Properties.Count + " · unlabelled " + $unk.Count)
if ($bad.Count -gt 50) { Write-Error "too many odd notes"; exit 1 }
- name: Keep the records
if: always()
uses: actions/upload-artifact@v4
with:
name: labels-${{ github.run_id }}
path: |
C:\Users\vikra\Desktop\CPU WORLD\describe.json
C:\Users\vikra\Desktop\CPU WORLD\labels.json
if-no-files-found: ignoreSwarm Workflow
A GitHub Actions workflow in Star Electron Star. Runs on push and by hand.
automationstar-electron-star / .github/workflows/swarm.yml · lines 1–98 of 98 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Drive the MSI runners hard, within limits.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-electron-star · .github/workflows · workflow
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- swarm
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-electron-star@241bcca9eb4045e9be5c058ec24f9f5bd26c7af4 .github/workflows/swarm.yml:1-98 · blob c909174b8e90c13c307c535e117f2cdb28310bac · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: unknown
# SWARM — drive the MSI runners hard, within limits. Forty lanes, all at once, each: GPU temperature guard,
# the sixty machine checks, the key-to-code check. Runs on every push to main and on demand.
# Only self-hosted runners labelled msi + gpu take these jobs; nothing here runs on GitHub's machines.
name: swarm
on:
push:
branches: [main]
workflow_dispatch:
inputs:
lanes: { description: "parallel lanes (matrix of 40, 20 at a time)", required: false, default: "40" }
concurrency: swarm-${{ github.ref }}
jobs:
lane:
runs-on: [self-hosted, msi, gpu]
timeout-minutes: 25
strategy:
fail-fast: false
max-parallel: 40
matrix:
lane: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40]
env:
CPU_WORLD: C:\Users\vikra\Desktop\CPU WORLD
LANE: ${{ matrix.lane }}
steps:
- name: Temperature guard (GPU under 70 C, otherwise refuse the lane)
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
run: |
$ErrorActionPreference = "Stop"
$t = [int](& nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits)
Write-Host "lane $env:LANE gpu ${t}C"
if ($t -ge 70) { Write-Error "GPU at ${t}C: lane refused"; exit 1 }
- name: Console is up
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
run: |
$ErrorActionPreference = "Stop"
$g = Invoke-RestMethod http://127.0.0.1:8791/gpu
if (-not $g.name) { Write-Error "console not running: start node serve.mjs in CPU WORLD"; exit 1 }
- name: The sixty machine checks, eight rounds
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
for ($round = 1; $round -le 8; $round++) {
Write-Host "lane $env:LANE round $round"
node pipeline\hundred.mjs | Select-Object -Last 1
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
}
- name: Key-to-code check (every recorded line fetched from its commit)
if: matrix.lane <= 16
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
python pipeline\entangle.py
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Engine storm (8 rounds of 600 calls, refusals expected on bad inputs)
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
$ok = 0; $refused = 0; $bad = 0
for ($i = 0; $i -lt 4800; $i++) {
$pf = if ($i % 4 -eq 3) { 1.5 } else { 0.95 }
$body = @{ module = "voltage-drop"; fn = "voltageDropVolts"; args = @{ currentA = 60 + (7 * [int]$env:LANE) + $i; lengthM = 100 + ((13 * [int]$env:LANE) % 400); resistanceOhmPerKm = 0.32; powerFactor = $pf; phases = "three" } } | ConvertTo-Json -Compress
try { $r = Invoke-RestMethod -Method Post http://127.0.0.1:8791/engine/run -ContentType application/json -Body $body; if ($r.result.value -gt 0) { $ok++ } else { $bad++ } }
catch { if ($pf -eq 1.5) { $refused++ } else { $bad++ } }
}
Write-Host "lane $env:LANE engine: ok $ok refused $refused bad $bad"
if ($bad -gt 0 -or $refused -ne 1200) { Write-Error "engine storm: $bad wrong answers, $refused refusals (expected 1200)"; exit 1 }
- name: Temperature after
if: always()
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
run: nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,memory.used --format=csv,noheader
users:
runs-on: [self-hosted, msi, gpu]
timeout-minutes: 30
strategy:
max-parallel: 1
matrix:
seed: [1, 2, 3]
env:
CPU_WORLD: C:\Users\vikra\Desktop\CPU WORLD
SEED: ${{ matrix.seed }}
steps:
- name: Twenty-five shuffled user actions in a real Chrome on the live page (seed ${{ matrix.seed }})
shell: 'powershell -NoProfile -ExecutionPolicy Bypass -File {0}'
working-directory: ${{ env.CPU_WORLD }}
run: |
$ErrorActionPreference = "Stop"
node pipeline\users.mjs https://ventusltd.github.io/star-electron-star/ $env:SEED 25
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Keep the screenshots and the log
if: always()
uses: actions/upload-artifact@v4
with:
name: users-${{ github.run_id }}-seed${{ matrix.seed }}
path: C:\Users\vikra\Desktop\CPU WORLD\probe\USERS-*
if-no-files-found: ignoreStar Solar Star — ISSUE Template
A configuration file.
automationstar-solar-star / .github/ISSUE_TEMPLATE/config.yml · lines 1–1 of 1 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- What it achieves
- No statement of purpose was found in the file, a README line naming it, or its name. Described from its file name only (a candidate, not yet checked against the code).
- Why it matters
- No other file in the estate was found to import it.
- Application
- star-solar-star · .github/ISSUE_TEMPLATE · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/ISSUE_TEMPLATE/config.yml:1-1 · blob 0086358db1eb971c0cfa8739c27518bbc18a5ff4 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: unknown · effects: none found · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: unreached_review
blank_issues_enabled: trueCreate Star
A configuration file in Star Solar Star covering solar.
automationstar-solar-star / .github/ISSUE_TEMPLATE/create-star.yml · lines 1–17 of 17 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar.
- What it achieves
- Submit public, dated solar observations for review.
- Why it matters
- No other file in the estate was found to import it.
- Application
- star-solar-star · .github/ISSUE_TEMPLATE · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Propose a solar star definition
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/ISSUE_TEMPLATE/create-star.yml:1-17 · blob e2ac2441ca060627ac630fb78d20bf09f16e4bd7 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: unreached_review
name: Propose a solar star definition
description: Submit public, dated solar observations for review.
title: "Star proposal: "
labels: ["star-proposal"]
body:
- type: markdown
attributes:
value: |
Use only public sources. Keep different source estimates separate and include a locator, source bytes, SHA-256 and access time for every observation.
- type: textarea
id: definition
attributes:
label: Star JSON
description: Paste the complete definition prepared by the creator.
render: json
validations:
required: trueBuild Sun Daily Workflow
A GitHub Actions workflow in Star Solar Star that builds and publishes the site. Runs on push, on pull requests and on a schedule.
automationstar-solar-star / .github/workflows/build-sun-daily.yml · lines 1–105 of 105 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file sun-publication.json; JSON file sun-pages-proof.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Build Sun Star daily data”; runs Build Sun (`scripts/build_sun.py`), Validate Sun (`scripts/validate_sun.py`) and Publish Main (`scripts/publish_main.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Build Sun (workflow run), Validate Sun (workflow run), Publish Main (workflow run), Verify Pages (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Build Sun Star daily data
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/build-sun-daily.yml:1-105 · blob 5afed9ad65654393c8120eda2a22ba86a088cd83 · 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: unknown
name: Build Sun Star daily data
on:
schedule:
- cron: "37 2 * * *"
workflow_dispatch:
inputs:
as_of:
description: "UTC date to build (YYYY-MM-DD); blank means yesterday"
required: false
type: string
pull_request:
paths:
- "scripts/publish_main.py"
- "scripts/verify_pages.py"
- ".github/workflows/build-sun-daily.yml"
push:
branches:
- main
- codex/sun-star-builder-20260915
paths:
- "scripts/**"
- "requirements.txt"
- ".github/workflows/build-sun-daily.yml"
permissions:
contents: write
pages: write
concurrency:
group: star-main-publication
cancel-in-progress: false
queue: max
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out Sun Star
uses: actions/checkout@v5
with:
ref: ${{ github.ref == 'refs/heads/main' && github.event_name != 'push' && 'main' || github.sha }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install runtime data dependency
run: python -m pip install -r requirements.txt
- name: Check out pinned public estate sources
uses: actions/checkout@v5
with:
repository: Ventusltd/globalgrid2050
ref: 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
path: globalgrid2050-source
- name: Select complete UTC day
id: day
shell: bash
env:
REQUESTED_AS_OF: ${{ inputs.as_of }}
run: |
if [[ -n "$REQUESTED_AS_OF" ]]; then
AS_OF="$REQUESTED_AS_OF"
else
AS_OF="$(date -u -d yesterday +%F)"
fi
[[ "$AS_OF" =~ ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ ]]
echo "as_of=$AS_OF" >> "$GITHUB_OUTPUT"
- name: Build six committed payloads
if: github.ref != 'refs/heads/main' || github.event_name == 'push'
run: >-
python scripts/build_sun.py
--globalgrid-root globalgrid2050-source
--globalgrid-commit 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
--output sun
--as-of "${{ steps.day.outputs.as_of }}"
- name: Validate payload contracts
if: github.ref != 'refs/heads/main' || github.event_name == 'push'
run: python scripts/validate_sun.py sun
- name: Regenerate, validate and publish against fresh main
if: github.ref == 'refs/heads/main' && github.event_name != 'push'
run: >-
python scripts/publish_main.py sun
--globalgrid-root globalgrid2050-source
--globalgrid-commit 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
--as-of "${{ steps.day.outputs.as_of }}"
--result "$RUNNER_TEMP/sun-publication.json"
- name: Request Pages build and verify served payload hashes
if: github.ref == 'refs/heads/main' && github.event_name != 'push'
env:
GH_TOKEN: ${{ github.token }}
run: >-
python scripts/verify_pages.py
--publication "$RUNNER_TEMP/sun-publication.json"
--result "$RUNNER_TEMP/sun-pages-proof.json"
- name: Preserve publication and Pages proof
if: always() && github.ref == 'refs/heads/main' && github.event_name != 'push'
uses: actions/upload-artifact@v4
with:
name: sun-publication-${{ github.run_id }}
path: |
${{ runner.temp }}/sun-publication.json
${{ runner.temp }}/sun-pages-proof.json
if-no-files-found: warnCountry Star Candidate Workflow
A GitHub Actions workflow in Star Solar Star. Runs on push and by hand.
automationstar-solar-star / .github/workflows/country-star-candidate.yml · lines 1–52 of 52 · Entry point
- What it does
- It runs solar. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Make Publication (`testcode/202609150040/make_publication.py`), Build Global Star (`testcode/202609150040/build_global_star.py`) and Star Contract (`testcode/202609150040/star_contract.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Test Country Star (workflow run), Make Publication (workflow run), Build Global Star (workflow run), Star Contract (workflow run), Write Result (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Country and global Star candidate
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/country-star-candidate.yml:1-52 · blob 7b9e933c69c4431cf0a66a8c55a2a8bd5b286381 · 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: unknown
name: Country and global Star candidate
on:
push:
branches:
- codex/country-star-definition
paths:
- "testcode/202609150040/**"
- ".github/workflows/country-star-candidate.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 12
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Compile and test candidate
run: |
python -m compileall -q testcode/202609150040
python -m unittest -v testcode/202609150040/test_country_star.py
- name: Verify publication manifest
run: |
python testcode/202609150040/make_publication.py
git diff --exit-code -- testcode/202609150040/publication.json
- name: Repeat audited public-source build
run: >-
python testcode/202609150040/build_global_star.py
--output live-global-solar.star.json
--accessed-utc 2026-09-14T23:45:00Z
--allow-audited-iea-fixture-on-403
- name: Validate stable observations
run: python testcode/202609150040/star_contract.py live-global-solar.star.json
- name: Write GitHub lane result
run: >-
python testcode/202609150040/write_result.py
--star live-global-solar.star.json
--output country-star-ci-result.json
--lane github-actions
--code-commit "$GITHUB_SHA"
- uses: actions/upload-artifact@v4
with:
name: country-star-ci-result
path: country-star-ci-result.json
if-no-files-found: error
retention-days: 7Country Star CI Workflow
A GitHub Actions workflow in Star Solar Star that builds and publishes the site. Runs on push and on pull requests.
automationstar-solar-star / .github/workflows/country-star-ci.yml · lines 1–73 of 73 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file global-solar.star.json; JSON file committed.json; JSON file rebuilt.json; JSON file agreement.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Validate country and global Stars”; runs Star Contract (`scripts/star_contract.py`), Build Global Star (`testcode/202609150040/build_global_star.py`) and Write Result (`testcode/202609150040/write_result.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Test Country Star (workflow run), Star Contract (workflow run), Build Global Star (workflow run), Write Result (workflow run), Merge Results (workflow run), Make Publication (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Validate country and global Stars
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/country-star-ci.yml:1-73 · blob 48af3e92f5f08681a0d477bca16e39030568d048 · 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: unknown
name: Validate country and global Stars
on:
pull_request:
paths:
- "create/**"
- "schema/**"
- "scripts/issue_to_star.py"
- "scripts/star_contract.py"
- "stars/**"
- "testcode/202609150040/**"
- ".github/workflows/country-star-ci.yml"
- ".github/workflows/publish-approved-star.yml"
push:
branches: [main]
paths:
- "create/**"
- "schema/**"
- "scripts/issue_to_star.py"
- "scripts/star_contract.py"
- "stars/**"
- "testcode/202609150040/**"
- ".github/workflows/country-star-ci.yml"
- ".github/workflows/publish-approved-star.yml"
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 12
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Run contract tests
run: python -m unittest -v testcode/202609150040/test_country_star.py
- name: Validate every published definition
shell: bash
run: |
shopt -s nullglob
files=(stars/*.star.json)
(( ${#files[@]} > 0 ))
for file in "${files[@]}"; do
python scripts/star_contract.py "$file"
done
- name: Repeat source-bound reference build
run: >-
python testcode/202609150040/build_global_star.py
--output "$RUNNER_TEMP/global-solar.star.json"
--accessed-utc 2026-09-14T23:45:00Z
--allow-audited-iea-fixture-on-403
- name: Compare stable reference facts
shell: bash
run: |
python testcode/202609150040/write_result.py \
--star stars/global-solar-2025.star.json \
--output "$RUNNER_TEMP/committed.json" \
--lane committed --code-commit "$GITHUB_SHA"
python testcode/202609150040/write_result.py \
--star "$RUNNER_TEMP/global-solar.star.json" \
--output "$RUNNER_TEMP/rebuilt.json" \
--lane rebuilt --code-commit "$GITHUB_SHA"
python testcode/202609150040/merge_results.py \
--local "$RUNNER_TEMP/committed.json" \
--ci "$RUNNER_TEMP/rebuilt.json" \
--output "$RUNNER_TEMP/agreement.json"
- name: Verify candidate publication manifest
run: |
python testcode/202609150040/make_publication.py
git diff --exit-code -- testcode/202609150040/publication.jsonPublication CI Workflow
A GitHub Actions workflow in Star Solar Star. Runs on push and on pull requests.
automationstar-solar-star / .github/workflows/publication-ci.yml · lines 1–29 of 29 · 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 (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Validate publication recovery and proof”.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Test Publication (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Validate publication recovery and proof
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/publication-ci.yml:1-29 · blob 283d290b573c75e01a31c8aff440b9c98e38e4b0 · 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: unknown
name: Validate publication recovery and proof
on:
pull_request:
paths:
- "scripts/**"
- "tests/test_publication.py"
- ".github/workflows/*"
push:
branches: [main, codex/solar-publication-20260915]
paths:
- "scripts/**"
- "tests/test_publication.py"
- ".github/workflows/*"
permissions:
contents: read
jobs:
publication-contract:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Test production helpers with isolated Git remotes and HTTP server
run: python -m unittest discover -s tests -p test_publication.py -vPublish Approved Star Workflow
A GitHub Actions workflow in Star Solar Star that builds and publishes the site.
automationstar-solar-star / .github/workflows/publish-approved-star.yml · lines 1–66 of 66 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. README: "A maintainer may publish a proposal by applying the `star-approved` label."
- Inputs & outputs
- In: JSON file star-publication.json; JSON file star-pages-proof.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Publish Main (`scripts/publish_main.py`) and Verify Pages (`scripts/verify_pages.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Publish Main (workflow run), Verify Pages (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Publish approved Star proposal
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/publish-approved-star.yml:1-66 · blob 048811d8b3783347fe254469fb998050dba1874e · 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: unknown
name: Publish approved Star proposal
on:
issues:
types: [labeled]
permissions:
contents: write
issues: write
pages: write
concurrency:
group: star-main-publication
cancel-in-progress: false
queue: max
jobs:
publish:
if: github.event.label.name == 'star-approved'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v5
with:
ref: main
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Read proposal body without shell interpolation
env:
GH_TOKEN: ${{ github.token }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
run: gh issue view "$ISSUE_NUMBER" --repo "$GITHUB_REPOSITORY" --json body --jq .body > "$RUNNER_TEMP/star-proposal.md"
- name: Validate immutable ID and publish against fresh main
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
run: >-
python scripts/publish_main.py star
--body-file "$RUNNER_TEMP/star-proposal.md"
--issue-number "$ISSUE_NUMBER"
--result "$RUNNER_TEMP/star-publication.json"
- name: Request Pages build and verify served record hash
env:
GH_TOKEN: ${{ github.token }}
run: >-
python scripts/verify_pages.py
--publication "$RUNNER_TEMP/star-publication.json"
--result "$RUNNER_TEMP/star-pages-proof.json"
- name: Record publication on proposal
env:
GH_TOKEN: ${{ github.token }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
run: |
PUBLISHED_PATH="$(jq -r '.paths[0]' "$RUNNER_TEMP/star-publication.json")"
COMMIT="$(jq -r '.published_commit' "$RUNNER_TEMP/star-publication.json")"
gh issue comment "$ISSUE_NUMBER" --repo "$GITHUB_REPOSITORY" --body "Validated and published \`$PUBLISHED_PATH\` at commit \`$COMMIT\`; completed Pages build and served bytes verified. Proof: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
- name: Preserve publication and Pages proof
if: always()
uses: actions/upload-artifact@v4
with:
name: star-publication-${{ github.run_id }}
path: |
${{ runner.temp }}/star-publication.json
${{ runner.temp }}/star-pages-proof.json
if-no-files-found: warnSolar Integrity Workflow
A GitHub Actions workflow in Star Solar Star. Runs on push, on pull requests and by hand.
automationstar-solar-star / .github/workflows/solar-integrity.yml · lines 1–63 of 63 · Entry point
- What it does
- It runs solar. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Build Sun (`scripts/build_sun.py`), Validate Sun (`scripts/validate_sun.py`) and Browser (`testcode/202609150503/browser.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Build Sun (workflow run), Validate Sun (workflow run), Test Integrity (workflow run), Browser (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Solar production integrity
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/solar-integrity.yml:1-63 · blob 7f8e907522096cb7ec96f687f53eeb6d2c7f8d86 · 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: unknown
name: Solar production integrity
on:
pull_request:
paths: ['scripts/**', 'create/**', 'schema/**', 'testcode/202609150503/**', '.github/workflows/solar-integrity.yml']
push:
branches: [main]
paths: ['scripts/**', 'create/**', 'schema/**', 'testcode/202609150503/**', '.github/workflows/solar-integrity.yml']
workflow_dispatch:
permissions:
contents: read
jobs:
live-builder:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: python -m pip install -r requirements.txt
- uses: actions/checkout@v5
with:
repository: Ventusltd/globalgrid2050
ref: 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
path: globalgrid2050-source
- name: Build corrected interval days from public sources
run: >-
python scripts/build_sun.py
--globalgrid-root globalgrid2050-source
--globalgrid-commit 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
--as-of 2026-09-14 --output live-sun
- name: Recompute live and committed data integrity
run: |
python scripts/validate_sun.py live-sun
python scripts/validate_sun.py sun
- uses: actions/upload-artifact@v4
with:
name: solar-production-data-proof
path: live-sun/*.json
production:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: actions/setup-node@v4
with:
node-version: '24'
- name: Exercise production Python contracts
run: python -m unittest -v testcode/202609150503/test_integrity.py
- name: Install browser test dependency
run: npm install --no-save --package-lock=false puppeteer@24.31.0
- name: Compare production browser preparation with Python
env:
PROOF_OUTPUT: browser-proof.json
run: node testcode/202609150503/browser.mjs
- uses: actions/upload-artifact@v4
if: always()
with:
name: solar-production-browser-proof
path: browser-proof.jsonSun Star Candidate Workflow
A GitHub Actions workflow in Star Solar Star. Runs on push and by hand.
automationstar-solar-star / .github/workflows/sun-star-candidate.yml · lines 1–75 of 75 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: reads or writes files; starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (repository name word 'solar'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file ci-result.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs `testcode/202609150030/make_publication.py`, Build Sun (`testcode/202609150030/build_sun.py`) and `testcode/202609150030/write_result.py`.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- star-solar-star · .github/workflows · workflow
- Uses
- Test Build Sun (workflow run), Make Publication (workflow run), Build Sun (workflow run), Write Result (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Sun Star candidate
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- star-solar-star@4ac16c0c2297c4b6022afc4d6f921faf091bb74e .github/workflows/sun-star-candidate.yml:1-75 · blob 6d9baa923b2ac5e6a4f610d9eec468cc9e04a387 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: unknown
name: Sun Star candidate
on:
push:
branches:
- codex/sun-star-builder-20260915
paths:
- "testcode/202609150030/**"
- ".github/workflows/sun-star-candidate.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install runtime data dependency
run: python -m pip install -r testcode/202609150030/requirements.txt
- name: Run candidate unit tests
run: python -m unittest -v testcode/202609150030/test_build_sun.py
- name: Verify publication manifest is current
run: |
python testcode/202609150030/make_publication.py
git diff --exit-code -- testcode/202609150030/publication.json
- name: Check out pinned GlobalGrid2050 public sources
uses: actions/checkout@v5
with:
repository: Ventusltd/globalgrid2050
ref: 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
path: globalgrid2050-source
- name: Run fixed live-source candidate build
run: >-
python testcode/202609150030/build_sun.py
--globalgrid-root globalgrid2050-source
--globalgrid-commit 35f07f9c0ef6bbdaae3c9f27f5a361118f49624f
--output candidate-sun
--as-of 2026-09-13
--built-utc 2026-09-14T23:30:00Z
- name: Write CI lane result
run: >-
python testcode/202609150030/write_result.py
--sun candidate-sun
--output ci-result.json
--lane github-actions
--code-commit "$GITHUB_SHA"
- name: Assert pinned source facts
run: |
python - <<'PY'
import json
from pathlib import Path
result = json.loads(Path("ci-result.json").read_text())
facts = result["facts"]
assert facts["pv_complete"] is True, facts
assert facts["pv_intervals"] == 48, facts
assert facts["solar_projects"] == 3563, facts
assert facts["with_coordinates"] == 3558, facts
assert facts["without_coordinates"] == 5, facts
assert facts["missing_coordinate_repd_refs"] == ["14773", "1613", "1616", "17120", "17260"], facts
assert facts["press_entries"] > 0, facts
assert facts["provenance_sources"] == 10, facts
PY
- name: Upload CI lane result
uses: actions/upload-artifact@v4
with:
name: sun-star-ci-result
path: ci-result.json
if-no-files-found: error
retention-days: 7