GLOBALGRID2050 / EXPLORE CODE

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

Poly Zone Workflow and 6 more files

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

676 lines of YAML from testcode, in 7 files. Topic: Automation and CI. Section 1863 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. Poly Zone Workflow automation · testcode / .github/workflows/poly-zone.yml lines 1–185
  2. Polygon Distance Workflow automation · testcode / .github/workflows/polygon-distance.yml lines 1–91
  3. Spider Universe Served Workflow automation · testcode / .github/workflows/spider-universe-served.yml lines 1–32
  4. Testcode Workflow automation · testcode / .github/workflows/testcode.yml lines 1–127
  5. Tool Recovery Workflow automation · testcode / .github/workflows/tool-recovery.yml lines 1–73
  6. Vertex Limit Workflow automation · testcode / .github/workflows/vertex-limit.yml lines 1–88
  7. Vertex Removal Workflow automation · testcode / .github/workflows/vertex-removal.yml lines 1–80

Poly Zone Workflow

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

automationtestcode / .github/workflows/poly-zone.yml · lines 1–185 of 185 · 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 “Poly Zone engineering regression”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`) and Poly Zone Browser (`sandbox/tools/poly-zone.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), Poly Zone Browser (workflow run)
Used by
none found
Produces
none declared
Defines here
Poly Zone engineering regression
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/poly-zone.yml:1-185 · blob 51e0e81629e149b181593e6ba27246d565293b13 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Poly Zone engineering regression
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060308/**'
      - 'sandbox/202609060309/**'
      - 'sandbox/202609060320/**'
      - 'sandbox/202609060322/**'
      - 'sandbox/202609060324/**'
      - 'sandbox/202609060325/**'
      - 'sandbox/202609060327/**'
      - 'sandbox/202609060351/**'
      - 'sandbox/202609060352/**'
      - 'sandbox/202609060353/**'
      - 'sandbox/202609060354/**'
      - 'sandbox/202609060400/**'
      - 'sandbox/202609060401/**'
      - 'sandbox/202609060435/**'
      - 'sandbox/202609060441/**'
      - 'sandbox/tools/*poly*'
      - 'sandbox/tools/token-compaction.mjs'
      - '.github/workflows/poly-zone.yml'
permissions:
  contents: read
jobs:
  polygon:
    runs-on: ubuntu-24.04
    timeout-minutes: 15
    strategy:
      matrix:
        include:
          - generation: '202609060308'
            reset: '0'
          - generation: '202609060309'
            reset: '1'
          - generation: '202609060320'
            reset: '1'
            draft: '1'
          - generation: '202609060322'
            reset: '1'
            draft: '1'
            export: '1'
          - generation: '202609060324'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
          - generation: '202609060325'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
          - generation: '202609060327'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
          - generation: '202609060351'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
            fit: '1'
          - generation: '202609060352'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
            fit: '1'
            csv: '1'
          # 0353/0354 are immutable rejected candidates: zoom redraw could overwrite input.
          - generation: '202609060400'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
            fit: '1'
            csv: '1'
            coordinate: '1'
            redraw: '1'
            touch: '1'
          - generation: '202609060401'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
            fit: '1'
            csv: '1'
            coordinate: '1'
            redraw: '1'
            touch: '1'
            validity: '1'
          - generation: '202609060435'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
            fit: '1'
            csv: '1'
            coordinate: '1'
            redraw: '1'
            touch: '1'
            validity: '1'
            keyboard: '1'
          - generation: '202609060441'
            reset: '1'
            draft: '1'
            export: '1'
            import: '1'
            history: '1'
            lock: '1'
            fit: '1'
            csv: '1'
            coordinate: '1'
            redraw: '1'
            touch: '1'
            validity: '1'
            keyboard: '1'
            winding: '1'
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          persist-credentials: false
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
        with:
          repository: Ventusltd/gridatlas
          ref: 479d3a1621164602e33d1dfab9081de26a8f3864
          fetch-depth: 0
          path: owner-gridatlas
          persist-credentials: false
      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Verify committed source, payload and dependency identities
        env:
          GRIDATLAS_REPO: owner-gridatlas
        run: |
          node sandbox/tools/verify-poly-candidate.mjs ${{ matrix.generation }}
          node --check sandbox/tools/poly-zone.browser.cjs
          node --test owner-gridatlas/tools/proofs/polygon-validity.test.mjs owner-gridatlas/tools/proofs/polygon-winding.test.mjs
      - 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 actual polygon and circle controls
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: ${{ matrix.generation }}
          TEST_RESET: ${{ matrix.reset }}
          TEST_DRAFT: ${{ matrix.draft }}
          TEST_EXPORT: ${{ matrix.export }}
          TEST_IMPORT: ${{ matrix.import }}
          TEST_HISTORY: ${{ matrix.history }}
          TEST_LOCK: ${{ matrix.lock }}
          TEST_FIT: ${{ matrix.fit }}
          TEST_CSV: ${{ matrix.csv }}
          TEST_COORDINATE: ${{ matrix.coordinate }}
          TEST_VALIDITY: ${{ matrix.validity }}
          TEST_REDRAW: ${{ matrix.redraw }}
          TEST_TOUCH: ${{ matrix.touch }}
          TEST_KEYBOARD: ${{ matrix.keyboard }}
          TEST_WINDING: ${{ matrix.winding }}
          TEST_OUTPUT: poly-zone-artifacts
        run: node sandbox/tools/poly-zone.browser.cjs
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: poly-zone-${{ matrix.generation }}-${{ github.sha }}
          path: poly-zone-artifacts/
          retention-days: 7

Polygon Distance Workflow

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

automationtestcode / .github/workflows/polygon-distance.yml · lines 1–91 of 91 · 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 “Polygon distance boundary correctness”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Polygon Distance Browser (`sandbox/tools/polygon-distance.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), 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), Measurement Controls Browser (workflow run), and 3 more
Used by
none found
Produces
none declared
Defines here
Polygon distance boundary correctness
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/polygon-distance.yml:1-91 · blob 62e91dd65e3a87110a3a05454bd76a9fdeb52090 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Polygon distance boundary correctness
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060528/**'
      - 'sandbox/tools/polygon-vertex-limit.browser.cjs'
      - 'sandbox/tools/verify-poly-candidate.mjs'
      - '.github/workflows/polygon-distance.yml'
      - '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: a7c176851eff0a684421ec7420d893e6aa04635d
          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 202609060528
      - 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/polygon-distance.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
          node sandbox/tools/polygon-vertex-limit.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
          node sandbox/tools/composition-contract.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
          node sandbox/tools/tool-recovery.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
          node sandbox/tools/polygon-remove.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
          node sandbox/tools/measurement-controls.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
          node sandbox/tools/app-print.browser.cjs http://127.0.0.1:8417/testcode/202609060528/atlas/
      - name: Preserve actual menu, search and control layout
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060528'
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Preserve full polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060528'
          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: polygon-distance-${{ github.sha }}
          path: |
            tool-recovery-artifacts/
            polygon-remove-artifacts/
            measurement-controls-artifacts/
            polygon-vertex-limit-artifacts/
            polygon-distance-artifacts/
            composition-contract-artifacts/
            app-print-artifacts/
            poly-zone-artifacts/
            controls-layout-artifacts/
            candidate-server.log
          retention-days: 7

Spider Universe Served Workflow

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

automationtestcode / .github/workflows/spider-universe-served.yml · lines 1–32 of 32 · Entry point

What it does
It builds and publishes its content. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Runs Spider Universe Served (`tools/spider-universe-served.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
Spider Universe Served (workflow run)
Used by
none found
Produces
none declared
Defines here
spider-universe-served
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/spider-universe-served.yml:1-32 · blob a7be6ec7bb83cc950f94311934f7884d86cec9f6 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: spider-universe-served

# Read-only proof of a published GLOBALGRID2050 Spider universe generation, measured on the served pages at
# globalgrid2050.com/testcode/<generation>/ in a real browser. It checks the artefact that ships, not a working tree.
# Network by nature: it runs only when asked, for a named generation.
on:
  workflow_dispatch:
    inputs:
      generation:
        description: 'UTC stamp of the testcode generation, e.g. 202609141350'
        required: true

permissions:
  contents: read

jobs:
  served:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - uses: actions/checkout@v5
      - uses: actions/setup-node@v5
        with:
          node-version: 22
      - name: Install Playwright with Chromium (not saved to the repository)
        run: |
          npm install --no-save --package-lock=false playwright@1.62.1
          npx playwright install --with-deps chromium
      - name: Ten versions at 430 and 1280 px
        env:
          GENERATION: ${{ inputs.generation }}
        run: node tools/spider-universe-served.mjs

Testcode Workflow

A GitHub Actions workflow. Runs on push, on pull requests and on a schedule.

automationtestcode / .github/workflows/testcode.yml · lines 1–127 of 127 · 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 (path 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
Out: JSON file estate-inputs.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Runs Testcode — Run (`run.mjs`) and Menu Map (`drivers/menu-map.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
Testcode — Run (workflow run), Menu Map (workflow run)
Used by
none found
Produces
none declared
Defines here
testcode
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/testcode.yml:1-127 · blob d37597db765fd84a089317c082fcd2a939d0f7cd · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: filesystem, process · domain stage: experimental · users: none · canonical: unknown
name: testcode

# The line that runs through everything, in the order that makes it mean
# something: offline gates on the machine first, and nothing else until they
# are green.
#
#   "workflows that auto run on github BUT ONLY AFTER they have been proven to
#    work offline on the machine first"
#
# Enforced by step order with no continue-on-error, the same way
# ventus-grid-engine/.github/workflows/verify.yml enforces its own gate. The
# ordering — not the assertions — is what makes the claim true.
#
# The estate's repositories are checked out beside this one so the runner finds
# them where engines.json says they are: ../ventus-grid-engine, ../gridatlas.
# A gate whose clone is absent is reported ABSENT, never counted as green.

on:
  push:
    branches: [main]
  pull_request:
  schedule:
    # Daily. Two of the estate's live faults decayed with the calendar rather
    # than with any commit: an exact-commit gate whose fixture ages past a
    # 14-day bucket, and a receiver that never changed and simply never carried
    # the engine. Neither is visible to a push-triggered run.
    - cron: '41 4 * * *'
  workflow_dispatch:

permissions:
  contents: read

jobs:
  offline:
    runs-on: ubuntu-latest
    timeout-minutes: 20
    steps:
      - name: Check out testcode
        uses: actions/checkout@v4
        with:
          path: testcode

      - name: Check out the grid engine beside it
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/ventus-grid-engine
          path: ventus-grid-engine

      - name: Check out gridatlas beside it
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/gridatlas
          ref: main
          path: gridatlas

      - name: Check out CVAA beside it
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/cvaa
          ref: main
          path: cvaa

      - name: Check out the publication inputs beside it
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/globalgrid2050
          ref: main
          path: globalgrid2050
          # Both drivers derive supported releases from this same homepage.
          # Keep all Pipeline source/corpora/contracts, including inherited data.
          # Exclude the rest of the large publication estate.
          sparse-checkout-cone-mode: false
          sparse-checkout: |
            /index.html
            /uk_renewables_pipeline/

      - name: Check out Pipeline source beside it
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/pipelinenews
          ref: main
          path: pipelinenews
          # Match link-targets.mjs: all source except generated release/build trees.
          sparse-checkout-cone-mode: false
          sparse-checkout: |
            /*
            !/releases/
            !/build/
            !/node_modules/

      - uses: actions/setup-node@v4
        with:
          node-version: '20'

      - name: Record the exact estate inputs
        working-directory: testcode
        run: |
          node --input-type=module <<'JS'
          import { execFileSync } from 'node:child_process';
          import { writeFileSync } from 'node:fs';
          const repositories = ['testcode', 'ventus-grid-engine', 'gridatlas', 'cvaa', 'globalgrid2050', 'pipelinenews'];
          const inputs = repositories.map(repo => ({ repo, sha: execFileSync('git', ['-C', '../' + repo, 'rev-parse', 'HEAD'], { encoding: 'utf8' }).trim() }));
          writeFileSync('estate-inputs.json', JSON.stringify({ generated_utc: new Date().toISOString(), inputs }, null, 2) + '\n');
          JS

      # The offline gates. No network is used by any of them, which is what
      # makes this step meaningful when the network is the thing that broke.
      - name: Run the offline gates, fail closed
        working-directory: testcode
        run: node run.mjs

      - name: Map every menu
        working-directory: testcode
        run: node drivers/menu-map.mjs

      - name: Publish the run and the menu map
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: testcode-offline
          path: |
            testcode/testcode-run.json
            testcode/menu-map.json
            testcode/estate-inputs.json
            testcode/link-targets.json
            testcode/repd-rows.json
          if-no-files-found: warn

Tool Recovery Workflow

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

automationtestcode / .github/workflows/tool-recovery.yml · lines 1–73 of 73 · 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 “Recoverable Atlas tool composition”; runs Verify Tool Host Candidate (`sandbox/tools/verify-tool-host-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 Tool Host Candidate (workflow run), Candidate Server (workflow run), Tool Recovery Browser (workflow run), Polygon Boundaries 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
Recoverable Atlas tool composition
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/tool-recovery.yml:1-73 · blob 721f21fa503df599dec4736a972ae4777e195c79 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Recoverable Atlas tool composition
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060503/**'
      - 'sandbox/tools/*tool*'
      - 'sandbox/tools/polygon-boundaries.browser.cjs'
      - '.github/workflows/tool-recovery.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/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
        with:
          node-version: '24'
      - name: Verify host-only change and immutable dependencies
        run: node sandbox/tools/verify-tool-host-candidate.mjs 202609060503
      - 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 failure recovery, retained tool state and polygon boundaries
        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/202609060503/atlas/
          node sandbox/tools/polygon-boundaries.browser.cjs http://127.0.0.1:8417/testcode/202609060503/atlas/
          node sandbox/tools/app-print.browser.cjs http://127.0.0.1:8417/testcode/202609060503/atlas/
      - name: Preserve actual menu, search and control layout
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060503'
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Preserve full polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060503'
          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: recoverable-tools-${{ github.sha }}
          path: |
            tool-recovery-artifacts/
            polygon-boundaries-artifacts/
            app-print-artifacts/
            poly-zone-artifacts/
            controls-layout-artifacts/
            candidate-server.log
          retention-days: 7

Vertex Limit Workflow

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

automationtestcode / .github/workflows/vertex-limit.yml · lines 1–88 of 88 · 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 “Maximum polygon vertex preservation”; runs Verify Poly Candidate (`sandbox/tools/verify-poly-candidate.mjs`), Candidate Server (`sandbox/tools/candidate-server.cjs`) and Polygon Vertex Limit Browser (`sandbox/tools/polygon-vertex-limit.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), Polygon Vertex Limit Browser (workflow run), Composition Contract Browser (workflow run), Tool Recovery Browser (workflow run), Polygon Remove Browser (workflow run), Measurement Controls Browser (workflow run), App Print Browser (workflow run), and 2 more
Used by
none found
Produces
none declared
Defines here
Maximum polygon vertex preservation
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/vertex-limit.yml:1-88 · blob d7fad98ed37be2ea0d27d135140d634456ab6c9d · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Maximum polygon vertex preservation
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060521/**'
      - 'sandbox/tools/polygon-vertex-limit.browser.cjs'
      - 'sandbox/tools/verify-poly-candidate.mjs'
      - '.github/workflows/vertex-limit.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: ad666b93984545cf77e43e68dd07e1e74efa63bd
          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 202609060521
      - 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/polygon-vertex-limit.browser.cjs http://127.0.0.1:8417/testcode/202609060521/atlas/
          node sandbox/tools/composition-contract.browser.cjs http://127.0.0.1:8417/testcode/202609060521/atlas/
          node sandbox/tools/tool-recovery.browser.cjs http://127.0.0.1:8417/testcode/202609060521/atlas/
          node sandbox/tools/polygon-remove.browser.cjs http://127.0.0.1:8417/testcode/202609060521/atlas/
          node sandbox/tools/measurement-controls.browser.cjs http://127.0.0.1:8417/testcode/202609060521/atlas/
          node sandbox/tools/app-print.browser.cjs http://127.0.0.1:8417/testcode/202609060521/atlas/
      - name: Preserve actual menu, search and control layout
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060521'
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Preserve full polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060521'
          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: vertex-limit-${{ github.sha }}
          path: |
            tool-recovery-artifacts/
            polygon-remove-artifacts/
            measurement-controls-artifacts/
            polygon-vertex-limit-artifacts/
            composition-contract-artifacts/
            app-print-artifacts/
            poly-zone-artifacts/
            controls-layout-artifacts/
            candidate-server.log
          retention-days: 7

Vertex Removal Workflow

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

automationtestcode / .github/workflows/vertex-removal.yml · lines 1–80 of 80 · 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 “Undoable polygon vertex removal”; 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), Controls Layout Browser (workflow run), Poly Zone Browser (workflow run)
Used by
none found
Produces
none declared
Defines here
Undoable polygon vertex removal
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/vertex-removal.yml:1-80 · blob 052776a3d83dd873d92f99cc380006892af4624f · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: experimental · users: none · canonical: unknown
name: Undoable polygon vertex removal
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - 'sandbox/202609060504/**'
      - 'sandbox/tools/polygon-remove.browser.cjs'
      - 'sandbox/tools/verify-poly-candidate.mjs'
      - '.github/workflows/vertex-removal.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: bb8f07ae8afb8d1872a75e7c2718b78d3e008504
          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 202609060504
      - 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 removal, repair and retained 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/202609060504/atlas/
          node sandbox/tools/polygon-remove.browser.cjs http://127.0.0.1:8417/testcode/202609060504/atlas/
      - name: Preserve actual menu, search and control layout
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060504'
        run: node sandbox/tools/controls-layout.browser.cjs
      - name: Preserve full polygon interaction coverage
        env:
          CHROME_CHANNEL: chromium
          TEST_GENERATION: '202609060504'
          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: vertex-removal-${{ github.sha }}
          path: |
            tool-recovery-artifacts/
            polygon-remove-artifacts/
            poly-zone-artifacts/
            controls-layout-artifacts/
            candidate-server.log
          retention-days: 7