GLOBALGRID2050 / EXPLORE CODE

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

GridAtlas Lightning Independent Workflow and 7 more files

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

669 lines of YAML from testcode, in 8 files. Topic: Automation and CI. Section 1862 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. Galaxy Bond Verify Workflow automation · testcode / .github/workflows/galaxy-bond-verify.yml lines 1–66
  2. Galaxy Lab Verify Workflow automation · testcode / .github/workflows/galaxy-lab-verify.yml lines 1–75
  3. GridAtlas Lightning Independent Workflow automation · testcode / .github/workflows/gridatlas-lightning-independent.yml lines 1–128
  4. Gridmachine Pair Workflow automation · testcode / .github/workflows/gridmachine-pair.yml lines 1–66
  5. Map PDF Workflow automation · testcode / .github/workflows/map-pdf.yml lines 1–82
  6. Measurement Clearance Workflow automation · testcode / .github/workflows/measurement-clearance.yml lines 1–84
  7. Measurement Readouts Workflow automation · testcode / .github/workflows/measurement-readouts.yml lines 1–94
  8. Offshore Route Workflow automation · testcode / .github/workflows/offshore-route.yml lines 1–74

Galaxy Bond Verify Workflow

A GitHub Actions workflow in Testcode. Runs on push and by hand.

automationtestcode / .github/workflows/galaxy-bond-verify.yml · lines 1–66 of 66 · 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 experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Galaxy Bond bundle verification”.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
Galaxy Bond bundle verification
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/galaxy-bond-verify.yml:1-66 · blob d33044e2dd8df0d9ca7150f63e2920fb922059e2 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: experimental · users: none · canonical: unknown
name: Galaxy Bond bundle verification
on:
  push:
    branches: [main]
    paths:
      - 'sandbox/*-galaxy-bond/**'
      - '.github/workflows/galaxy-bond-verify.yml'
  workflow_dispatch:
permissions:
  contents: read
concurrency:
  group: galaxy-bond-${{ github.ref }}
  cancel-in-progress: false
jobs:
  verify:
    runs-on: ubuntu-24.04
    timeout-minutes: 10
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          fetch-depth: 0
          persist-credentials: false
          sparse-checkout-cone-mode: false
          sparse-checkout: |
            sandbox/*-galaxy-bond/**
            .github/workflows/galaxy-bond-verify.yml
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
        with:
          python-version: '3.12'
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Verify selected immutable bundles
        env:
          BEFORE_SHA: ${{ github.event.before }}
          EVENT_NAME: ${{ github.event_name }}
        shell: python
        run: |
          import os, pathlib, re, subprocess, sys
          root = pathlib.Path.cwd().resolve()
          before = os.environ.get('BEFORE_SHA', '')
          changed = []
          if os.environ['EVENT_NAME'] == 'push' and re.fullmatch('[0-9a-f]{40}', before) and set(before) != {'0'}:
              changed = subprocess.check_output(['git', 'diff', '--name-only', before, os.environ['GITHUB_SHA']], text=True).splitlines()
          all_versions = not changed or '.github/workflows/galaxy-bond-verify.yml' in changed
          candidates = {p.parent for p in root.glob('sandbox/*-galaxy-bond/verify_bundle.py')} if all_versions else {root.joinpath(*p.split('/')[:2]) for p in changed if re.match(r'^sandbox/[0-9]{12}-galaxy-bond/', p)}
          versions = sorted(p for p in candidates if re.fullmatch(r'[0-9]{12}-galaxy-bond', p.name) and p.resolve().parent == root / 'sandbox' and (p / 'verify_bundle.py').is_file())
          if not versions:
              raise SystemExit('No supported Bond bundles selected; no verification inferred.')
          output = pathlib.Path(os.environ['RUNNER_TEMP']) / 'bond-verification'
          output.mkdir(exist_ok=True)
          failed = []
          for version in versions:
              result = subprocess.run([sys.executable, '-B', str(version / 'verify_bundle.py'), '--version-dir', str(version), '--output', str(output / (version.name + '.json')), '--timeout-seconds', '60'], timeout=300)
              if result.returncode:
                  failed.append(version.name)
          if failed:
              raise SystemExit('Bundle verification failed: ' + ', '.join(failed))
      - name: Preserve verification receipts
        if: always()
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
        with:
          name: galaxy-bond-${{ github.sha }}
          path: ${{ runner.temp }}/bond-verification/*.json
          if-no-files-found: warn
          retention-days: 7

Galaxy Lab Verify Workflow

A GitHub Actions workflow in Testcode. Runs on push and by hand.

automationtestcode / .github/workflows/galaxy-lab-verify.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 experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Galaxy lab browser verification”.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
Galaxy lab browser verification
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/galaxy-lab-verify.yml:1-75 · blob af968ac6031a5931b7a1990f68c18ea573d25c57 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: experimental · users: none · canonical: unknown
name: Galaxy lab browser verification
on:
  push:
    branches: [main]
    paths:
      - 'sandbox/*-galaxy-visibility/**'
      - 'sandbox/*-galaxy-demand/**'
      - 'sandbox/*-galaxy-hops/**'
      - 'sandbox/*-galaxy-spread/**'
      - 'sandbox/*-galaxy-firm/**'
      - 'sandbox/*-galaxy-profile/**'
      - '.github/workflows/galaxy-lab-verify.yml'
  workflow_dispatch:
permissions:
  contents: read
concurrency:
  group: galaxy-lab-${{ github.ref }}
  cancel-in-progress: false
jobs:
  browser:
    runs-on: ubuntu-24.04
    timeout-minutes: 12
    steps:
      - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
        with:
          fetch-depth: 0
          persist-credentials: false
          sparse-checkout-cone-mode: false
          sparse-checkout: |
            sandbox/*-galaxy-visibility/**
            sandbox/*-galaxy-demand/**
            sandbox/*-galaxy-hops/**
            sandbox/*-galaxy-spread/**
            sandbox/*-galaxy-firm/**
            sandbox/*-galaxy-profile/**
            .github/workflows/galaxy-lab-verify.yml
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Install bounded browser test dependency
        working-directory: ${{ runner.temp }}
        run: npm install --ignore-scripts --no-audit --no-fund --no-package-lock playwright@1.62.1
      - name: Install browser engines
        working-directory: ${{ runner.temp }}
        run: npx --no-install playwright install --with-deps chromium webkit
      - name: Verify changed immutable labs
        env:
          BEFORE_SHA: ${{ github.event.before }}
          EVENT_NAME: ${{ github.event_name }}
          PLAYWRIGHT_MODULE: ${{ runner.temp }}/node_modules/playwright/index.mjs
        shell: python
        run: |
          import os, pathlib, re, subprocess
          root = pathlib.Path.cwd()
          before = os.environ.get('BEFORE_SHA', '')
          changed = []
          if os.environ['EVENT_NAME'] == 'push' and re.fullmatch('[0-9a-f]{40}', before) and set(before) != {'0'}:
              changed = subprocess.check_output(['git', 'diff', '--name-only', before, os.environ['GITHUB_SHA']], text=True).splitlines()
          all_versions = not changed or '.github/workflows/galaxy-lab-verify.yml' in changed
          supported = re.compile(r'^sandbox/[0-9]{12}-galaxy-(visibility|demand|hops|spread|firm|profile)/')
          versions = sorted({p.parent for p in root.glob('sandbox/*/browser-check.mjs') if supported.match(p.relative_to(root).as_posix())} if all_versions else {root.joinpath(*p.split('/')[:2]) for p in changed if supported.match(p)})
          if not versions:
              raise SystemExit('No supported lab selected')
          for version in versions:
              subprocess.run(['node', '--test', 'model.test.mjs'], cwd=version, check=True, timeout=90)
              env = dict(os.environ, PROOF_OUTPUT=str(pathlib.Path(os.environ['RUNNER_TEMP']) / 'galaxy-lab-evidence' / version.name))
              subprocess.run(['node', 'browser-check.mjs'], cwd=version, env=env, check=True, timeout=180)
      - name: Preserve browser evidence
        if: always()
        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
        with:
          name: galaxy-lab-${{ github.sha }}
          path: ${{ runner.temp }}/galaxy-lab-evidence
          retention-days: 7
          if-no-files-found: warn

GridAtlas Lightning Independent Workflow

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

automationtestcode / .github/workflows/gridatlas-lightning-independent.yml · lines 1–128 of 128 · 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 '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: JSON file current.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Independent TESTCODE-only reviewer. Never merges, deploys or edits GridAtlas.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
GridAtlas Lightning Immutable Test (workflow run)
Used by
none found
Produces
none declared
Defines here
Independent Lightning candidate challenge
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/gridatlas-lightning-independent.yml:1-128 · blob afdcb25127ab1153194b163fd0b17bc3195b084d · 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: unknown
# Independent TESTCODE-only reviewer. Never merges, deploys or edits GridAtlas.
# Real-device V6/V7 and owner V13 approval are NOT established by this workflow.
name: Independent Lightning candidate challenge

on:
  pull_request:
    paths:
      - drivers/gridatlas-lightning-immutable.test.mjs
      - .github/workflows/gridatlas-lightning-independent.yml
      - docs/GRIDATLAS-LIGHTNING-REVIEW.md
  workflow_dispatch:
    inputs:
      gridatlas_ref:
        description: "EXACT GridAtlas candidate commit SHA (not a moving branch)"
        type: string
        required: false
        default: "0424d45953579a7905c039511a6219e39ab0ee18"
      generation:
        description: "Immutable candidate generation"
        type: string
        required: false
        default: "202610270024"

permissions:
  contents: read

jobs:
  independent-static-and-runtime:
    runs-on: ubuntu-latest
    timeout-minutes: 12
    env:
      LIGHTNING_GEN: ${{ inputs.generation || '202610270024' }}
      LIGHTNING_TEST_GEN: ${{ inputs.generation || '202610270024' }}
      GRIDATLAS_ROOT: ../gridatlas
    steps:
      - name: Check out independent Testcode gate
        uses: actions/checkout@v4
        with:
          path: testcode
      - name: Check out PINNED Claude candidate in a separate directory
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/gridatlas
          ref: ${{ inputs.gridatlas_ref || '0424d45953579a7905c039511a6219e39ab0ee18' }}
          path: gridatlas
      - name: Check out PINNED ChatGPT adversarial tests (read-only)
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/gridatlas
          ref: 7e7c3d83d587595ceebf5c7ab33f7bfa84d95099
          path: reviewer
      - uses: actions/setup-node@v4
        with:
          node-version: '22'
      - name: Record all immutable checkouts
        shell: bash
        run: |
          git -C testcode rev-parse HEAD
          git -C gridatlas rev-parse HEAD
          git -C reviewer rev-parse HEAD
          echo "Candidate generation: $LIGHTNING_GEN"
          echo "Base pointer:"
          node -e "console.log(require('./gridatlas/atlas/current.json').generation)"
      - name: Run offline immutable-byte and parser proof
        working-directory: testcode
        shell: bash
        run: |
          set -o pipefail
          node --test drivers/gridatlas-lightning-immutable.test.mjs | tee independent-static.log
      - name: Independently challenge candidate runtime with same fail-first suite
        working-directory: gridatlas
        shell: bash
        run: |
          set -o pipefail
          node --test ../reviewer/tools/proofs/chatgpt-lightning-regression.test.mjs | tee ../testcode/independent-runtime.log
      - name: Retain evidence even when any test is RED
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: testcode-lightning-challenge
          path: |
            testcode/independent-static.log
            testcode/independent-runtime.log
          if-no-files-found: warn

  fail-first-old-candidate-control:
    runs-on: ubuntu-latest
    timeout-minutes: 8
    env:
      LIGHTNING_TEST_GEN: "202610261949"
    steps:
      - name: Pin PRE-FIX candidate (expected RED)
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/gridatlas
          ref: fda6b10f7d2672bf1bf74c4fbf6184cd36b1ec1d
          path: gridatlas-old
      - name: Pin same independent test suite
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/gridatlas
          ref: 7e7c3d83d587595ceebf5c7ab33f7bfa84d95099
          path: reviewer
      - uses: actions/setup-node@v4
        with:
          node-version: '22'
      - name: Prove old candidate still fails the unmodified challenge
        working-directory: gridatlas-old
        shell: bash
        run: |
          set +e
          node --test ../reviewer/tools/proofs/chatgpt-lightning-regression.test.mjs > old-candidate-red.log 2>&1
          code=$?
          set -e
          cat old-candidate-red.log
          if [ "$code" -eq 0 ]; then
            echo "::error::Fail-first regression control unexpectedly GREEN"
            exit 1
          fi
          grep -q 'not ok' old-candidate-red.log || { echo "::error::No failing tests recorded"; exit 1; }
          echo "PASS: original generation failed independent test as expected"
      - name: Upload control evidence
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: testcode-old-candidate-red-control
          path: gridatlas-old/old-candidate-red.log
          if-no-files-found: warn

Gridmachine Pair Workflow

A GitHub Actions workflow in Testcode that builds and publishes the site. Runs on push and by hand.

automationtestcode / .github/workflows/gridmachine-pair.yml · lines 1–66 of 66 · Entry point

What it does
It builds and publishes its content. Side effects: reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Inputs & outputs
In: JSON file pair-inputs.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “GlobalGrid2050 Grid Machine paired build”; runs `.gridmachine-runtime/node_modules/playwright/cli.js`, Build Pair (`tools/build-pair.py`) and Pair Gates (`tools/pair-gates.cjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
Build Pair (workflow run), Pair Gates (workflow run)
Used by
none found
Produces
none declared
Defines here
GlobalGrid2050 Grid Machine paired build
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/gridmachine-pair.yml:1-66 · blob ef921c5441233f5711881e9385bc67335ca81942 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: ingest · effects: filesystem, process · domain stage: experimental · users: none · canonical: unknown
name: GlobalGrid2050 Grid Machine paired build
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths: ['tools/build-pair.py', 'tools/pair-gates.cjs', 'tools/pair-inputs.json', '.github/workflows/gridmachine-pair.yml']
permissions:
  contents: read
concurrency:
  group: gridmachine-pair-build
  cancel-in-progress: false
jobs:
  build-and-test:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    env:
      GRIDMACHINE_SOURCES: ${{ github.workspace }}/.gridmachine-sources
      GRIDMACHINE_EVIDENCE: ${{ github.workspace }}/.gridmachine-evidence
      PLAYWRIGHT_MODULE: ${{ github.workspace }}/.gridmachine-runtime/node_modules/playwright
      BROWSER_CHANNEL: chromium
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '22'
      - name: Fetch exact public input commits
        run: |
          python3 - <<'PY'
          import json,os,pathlib,subprocess
          root=pathlib.Path(os.environ['GRIDMACHINE_SOURCES']);root.mkdir()
          for repo,sha in json.load(open('tools/pair-inputs.json')).items():
              target=root/repo;target.mkdir()
              subprocess.run(['git','init',str(target)],check=True)
              subprocess.run(['git','-C',str(target),'fetch','--depth=1','https://github.com/Ventusltd/'+repo+'.git',sha],check=True)
              assert subprocess.check_output(['git','-C',str(target),'rev-parse','FETCH_HEAD'],text=True).strip()==sha
          PY
      - name: Install isolated browser tooling
        run: |
          npm install --prefix .gridmachine-runtime --no-audit --no-fund playwright@1.62.1
          node .gridmachine-runtime/node_modules/playwright/cli.js install --with-deps chromium
      - name: Allocate candidate and build
        id: build
        run: |
          stamp=$(date -u +%Y%m%dT%H%M%SZ)
          echo "stamp=$stamp" >> "$GITHUB_OUTPUT"
          python3 tools/build-pair.py "$stamp"
      - name: Record active-click dependencies and controls
        run: node tools/pair-gates.cjs '${{ steps.build.outputs.stamp }}' record
      - name: Replay with external browser requests blocked
        run: node tools/pair-gates.cjs '${{ steps.build.outputs.stamp }}' offline
      - name: Package passing paired applications for review
        run: |
          mkdir -p .gridmachine-package
          tar -cf .gridmachine-package/gridmachine-pair.tar -C sandbox/gm02 '${{ steps.build.outputs.stamp }}'
          sha256sum .gridmachine-package/gridmachine-pair.tar > .gridmachine-package/SHA256SUMS
          printf '%s\n' 'REVIEW_REQUIRED: this artifact is a test pair, not a production deployment. Inspect the exact offline receipt and hashes before publishing a preview.' > .gridmachine-package/REVIEW.txt
      - name: Preserve receipts and candidate bundle
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: globalgrid2050-gridmachine-${{ steps.build.outputs.stamp }}
          path: |
            .gridmachine-evidence/*.json
            .gridmachine-evidence/*.png
            .gridmachine-package/*
          retention-days: 14

Map PDF Workflow

A GitHub Actions workflow in Testcode. Runs on push and by hand.

automationtestcode / .github/workflows/map-pdf.yml · lines 1–82 of 82 · 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 experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Native map PDF outcomes”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Browser WebGL Probe (`sandbox/tools/browser-webgl-probe.mjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
Verify Poly Candidate (workflow run), Candidate Server (workflow run), Browser WebGL Probe (workflow run), PDF Export Browser (workflow run), PDF Render Check (workflow run), Poly Zone Browser (workflow run)
Used by
none found
Produces
none declared
Defines here
Native map PDF outcomes
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/map-pdf.yml:1-82 · blob 9f10522bddee7b72a3b85b783d400b3417354656 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Native map PDF outcomes
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060418/**'
      - 'sandbox/202609060435/**'
      - 'sandbox/tools/*pdf*'
      - 'sandbox/tools/candidate-server.cjs'
      - 'sandbox/tools/browser-webgl-probe.mjs'
      - '.github/workflows/map-pdf.yml'
permissions:
  contents: read
jobs:
  export:
    runs-on: ubuntu-24.04
    timeout-minutes: 15
    strategy:
      matrix:
        generation: ['202609060418', '202609060435']
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          persist-credentials: false
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          repository: Ventusltd/gridatlas
          ref: 685d0e88bb5f1badec5721dc2b05acf630d1c335
          fetch-depth: 0
          path: owner-gridatlas
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Verify source and native PDF writer
        env:
          GRIDATLAS_REPO: owner-gridatlas
        run: |
          node sandbox/tools/verify-poly-candidate.mjs ${{ matrix.generation }}
          node --test owner-gridatlas/tools/proofs/map-pdf.test.mjs
      - name: Install pinned browser and independent PDF tooling
        run: |
          npm install --no-save --package-lock=false playwright@1.62.1
          npx playwright install --with-deps chromium firefox webkit
          python -m pip install PyMuPDF==1.28.2
      - name: Download actual PDFs in three browser engines
        env:
          TEST_OUTPUT: pdf-artifacts
          FIREFOX_HEADED: '1'
        run: |
          node sandbox/tools/candidate-server.cjs > candidate-server.log 2>&1 &
          xvfb-run --auto-servernum node sandbox/tools/browser-webgl-probe.mjs
          xvfb-run --auto-servernum node sandbox/tools/pdf-export.browser.mjs http://127.0.0.1:8417/testcode/${{ matrix.generation }}/atlas/
          python sandbox/tools/pdf-render-check.py pdf-artifacts ${{ matrix.generation }}
      - name: Retain complete polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: ${{ matrix.generation }}
          TEST_RESET: '1'
          TEST_DRAFT: '1'
          TEST_EXPORT: '1'
          TEST_IMPORT: '1'
          TEST_HISTORY: '1'
          TEST_LOCK: '1'
          TEST_FIT: '1'
          TEST_CSV: '1'
          TEST_COORDINATE: '1'
          TEST_VALIDITY: '1'
          TEST_REDRAW: '1'
          TEST_TOUCH: '1'
          TEST_OUTPUT: poly-zone-artifacts
        run: node sandbox/tools/poly-zone.browser.cjs
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: native-pdf-${{ matrix.generation }}-${{ github.sha }}
          path: |
            pdf-artifacts/
            poly-zone-artifacts/
            candidate-server.log
          retention-days: 7

Measurement Clearance Workflow

A GitHub Actions workflow in Testcode. Runs on push and by hand.

automationtestcode / .github/workflows/measurement-clearance.yml · lines 1–84 of 84 · 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 experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Unobstructed measurement controls”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Tool Recovery Browser (`sandbox/tools/tool-recovery.browser.cjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
Verify Poly Candidate (workflow run), Candidate Server (workflow run), Tool Recovery Browser (workflow run), Polygon Remove Browser (workflow run), Measurement Controls Browser (workflow run), App Print Browser (workflow run), Controls Layout Browser (workflow run), Poly Zone Browser (workflow run)
Used by
none found
Produces
none declared
Defines here
Unobstructed measurement controls
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/measurement-clearance.yml:1-84 · blob 227769ff28c769143bb558fc7770ca927b4b3455 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Unobstructed measurement controls
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060509/**'
      - 'sandbox/tools/measurement-controls.browser.cjs'
      - 'sandbox/tools/verify-poly-candidate.mjs'
      - '.github/workflows/measurement-clearance.yml'
permissions:
  contents: read
jobs:
  recovery:
    runs-on: ubuntu-24.04
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          fetch-depth: 0
          persist-credentials: false
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          repository: Ventusltd/gridatlas
          ref: 443b2683e5b5d02b1a0b6e94fef7ea4d50bc8178
          fetch-depth: 0
          path: owner-gridatlas
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Verify owner reconstruction and carried tool identities
        env:
          GRIDATLAS_REPO: owner-gridatlas
        run: node sandbox/tools/verify-poly-candidate.mjs 202609060509
      - name: Install pinned browser tooling
        run: |
          npm install --no-save --package-lock=false playwright@1.62.1
          npx playwright install --with-deps chromium
      - name: Exercise controls, retained edits and tool recovery
        run: |
          node sandbox/tools/candidate-server.cjs > candidate-server.log 2>&1 &
          node sandbox/tools/tool-recovery.browser.cjs http://127.0.0.1:8417/testcode/202609060509/atlas/
          node sandbox/tools/polygon-remove.browser.cjs http://127.0.0.1:8417/testcode/202609060509/atlas/
          node sandbox/tools/measurement-controls.browser.cjs http://127.0.0.1:8417/testcode/202609060509/atlas/
          node sandbox/tools/app-print.browser.cjs http://127.0.0.1:8417/testcode/202609060509/atlas/
      - name: Preserve actual menu, search and control layout
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060509'
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Preserve full polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060509'
          TEST_RESET: '1'
          TEST_DRAFT: '1'
          TEST_EXPORT: '1'
          TEST_IMPORT: '1'
          TEST_HISTORY: '1'
          TEST_LOCK: '1'
          TEST_FIT: '1'
          TEST_CSV: '1'
          TEST_COORDINATE: '1'
          TEST_VALIDITY: '1'
          TEST_REDRAW: '1'
          TEST_TOUCH: '1'
          TEST_KEYBOARD: '1'
          TEST_WINDING: '1'
          TEST_OUTPUT: poly-zone-artifacts
        run: node sandbox/tools/poly-zone.browser.cjs
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: measurement-clearance-${{ github.sha }}
          path: |
            tool-recovery-artifacts/
            polygon-remove-artifacts/
            measurement-controls-artifacts/
            app-print-artifacts/
            poly-zone-artifacts/
            controls-layout-artifacts/
            candidate-server.log
          retention-days: 7

Measurement Readouts Workflow

A GitHub Actions workflow in Testcode. Runs on push and by hand.

automationtestcode / .github/workflows/measurement-readouts.yml · lines 1–94 of 94 · 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 experimental (repository name word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Immediate polygon measurement visibility”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Measurement Readouts Browser (`sandbox/tools/measurement-readouts.browser.cjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
Verify Poly Candidate (workflow run), Candidate Server (workflow run), Measurement Readouts Browser (workflow run), Polygon Distance Browser (workflow run), Polygon Vertex Limit Browser (workflow run), Composition Contract Browser (workflow run), Tool Recovery Browser (workflow run), Polygon Remove Browser (workflow run), and 4 more
Used by
none found
Produces
none declared
Defines here
Immediate polygon measurement visibility
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/measurement-readouts.yml:1-94 · blob b9bd878f70702a32cae07b60a26389f7011899a1 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Immediate polygon measurement visibility
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060537/**'
      - 'sandbox/tools/polygon-vertex-limit.browser.cjs'
      - 'sandbox/tools/verify-poly-candidate.mjs'
      - '.github/workflows/measurement-readouts.yml'
      - 'sandbox/tools/measurement-readouts.browser.cjs'
      - 'sandbox/tools/polygon-distance.browser.cjs'
permissions:
  contents: read
jobs:
  recovery:
    runs-on: ubuntu-24.04
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          fetch-depth: 0
          persist-credentials: false
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          repository: Ventusltd/gridatlas
          ref: b608de2665f6b568f13b06a0ade9707da0014e7d
          fetch-depth: 0
          path: owner-gridatlas
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Verify owner reconstruction and carried tool identities
        env:
          GRIDATLAS_REPO: owner-gridatlas
        run: node sandbox/tools/verify-poly-candidate.mjs 202609060537
      - name: Install pinned browser tooling
        run: |
          npm install --no-save --package-lock=false playwright@1.62.1
          npx playwright install --with-deps chromium
      - name: Exercise controls, retained edits and tool recovery
        run: |
          node sandbox/tools/candidate-server.cjs > candidate-server.log 2>&1 &
          node sandbox/tools/measurement-readouts.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/polygon-distance.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/polygon-vertex-limit.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/composition-contract.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/tool-recovery.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/polygon-remove.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/measurement-controls.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
          node sandbox/tools/app-print.browser.cjs http://127.0.0.1:8417/testcode/202609060537/atlas/
      - name: Preserve actual menu, search and control layout
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060537'
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Preserve full polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060537'
          TEST_RESET: '1'
          TEST_DRAFT: '1'
          TEST_EXPORT: '1'
          TEST_IMPORT: '1'
          TEST_HISTORY: '1'
          TEST_LOCK: '1'
          TEST_FIT: '1'
          TEST_CSV: '1'
          TEST_COORDINATE: '1'
          TEST_VALIDITY: '1'
          TEST_REDRAW: '1'
          TEST_TOUCH: '1'
          TEST_KEYBOARD: '1'
          TEST_WINDING: '1'
          TEST_OUTPUT: poly-zone-artifacts
        run: node sandbox/tools/poly-zone.browser.cjs
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: measurement-readouts-${{ github.sha }}
          path: |
            tool-recovery-artifacts/
            polygon-remove-artifacts/
            measurement-controls-artifacts/
            polygon-vertex-limit-artifacts/
            polygon-distance-artifacts/
            measurement-readouts-artifacts/
            composition-contract-artifacts/
            app-print-artifacts/
            poly-zone-artifacts/
            controls-layout-artifacts/
            candidate-server.log
          retention-days: 7

Offshore Route Workflow

A GitHub Actions workflow in Testcode. Runs on push, on pull requests and by hand.

automationtestcode / .github/workflows/offshore-route.yml · lines 1–74 of 74 · 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 field_execution (path word 'route'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Atlas offshore route candidate”; runs Build Offshore Candidate (`sandbox/tools/build-offshore-candidate.py`), Controls Layout Browser (`sandbox/tools/controls-layout.browser.cjs`) and Offshore Route Browser (`sandbox/tools/offshore-route.browser.cjs`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
testcode · .github/workflows · workflow
Uses
Build Offshore Candidate (workflow run), Offshore Route Browser (workflow run), Controls Layout Browser (workflow run), Registry Test (workflow run), Session Restart Test (workflow run), Compose Test (workflow run), Dismissal Test (workflow run), Focus Boundary Test (workflow run), and 5 more
Used by
none found
Produces
none declared
Defines here
Atlas offshore route candidate
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
testcode@a8a215982b13d6e2f6019b40bf0bef5755719773 .github/workflows/offshore-route.yml:1-74 · blob 465e3a55d6769cb4c319af8d1165fe8d7bd5841f · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: field_execution · users: EPC_contractor, landowner_planner · canonical: unknown
name: Atlas offshore route candidate
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060300/**'
      - 'sandbox/tools/build-offshore-candidate.py'
      - 'sandbox/tools/offshore-route.browser.cjs'
      - 'sandbox/tools/controls-layout.browser.cjs'
      - '.github/workflows/offshore-route.yml'
  pull_request:
    paths:
      - 'sandbox/202609060300/**'
      - 'sandbox/tools/build-offshore-candidate.py'
      - 'sandbox/tools/offshore-route.browser.cjs'
      - 'sandbox/tools/controls-layout.browser.cjs'
      - '.github/workflows/offshore-route.yml'
permissions:
  contents: read
jobs:
  offshore:
    runs-on: ubuntu-24.04
    timeout-minutes: 12
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          path: testcode
          persist-credentials: false
      - name: Checkout the exact reviewed offshore owner
        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          repository: Ventusltd/gridatlas
          ref: db38dfe0811c755f9c382f2cdde1d438f52e07de
          path: gridatlas-owner
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Syntax, publication hashes, owner transformation and baseline controls
        working-directory: testcode
        env:
          GRIDATLAS_OWNER_REPO: ${{ github.workspace }}/gridatlas-owner
        run: |
          python3 sandbox/tools/build-offshore-candidate.py --verify-generation 202609060300
          node --check sandbox/tools/offshore-route.browser.cjs
          node --check sandbox/tools/controls-layout.browser.cjs
          find sandbox/202609060300 -name '*.js' -print0 | xargs -0 -n 1 node --check
          node --test sandbox/capsules/tool-layers/*.test.mjs
      - name: Install pinned browser tooling
        working-directory: testcode
        run: |
          npm install --no-save --package-lock=false playwright@1.62.1
          npx --no-install playwright install --with-deps chromium
      - name: All six menus and tools on desktop and phone
        working-directory: testcode
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060300'
          TEST_OUTPUT: offshore-artifacts/controls
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Offshore distances and onshore corridor regression on desktop and phone
        working-directory: testcode
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060300'
          TEST_OUTPUT: offshore-artifacts/routes
        run: node sandbox/tools/offshore-route.browser.cjs
      - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
        if: always()
        with:
          name: atlas-offshore-${{ github.sha }}
          path: testcode/offshore-artifacts/
          retention-days: 7