In this section
- Build Context Workflow automation · spiders / .github/workflows/20260905-build-context.yml lines 1–45
- Elements Topology Workflow automation · spiders / .github/workflows/elements-topology.yml lines 1–117
- Estate Activity Workflow automation · spiders / .github/workflows/estate-activity.yml lines 1–75
- Estate Audit Workflow automation · spiders / .github/workflows/estate-audit.yml lines 1–37
- Genome Workflow automation · spiders / .github/workflows/genome.yml lines 1–299
- Maya Hunt Workflow automation · spiders / .github/workflows/maya-hunt.yml lines 1–24
- Spider Maya V1 Scan Workflow automation · spiders / .github/workflows/spider_maya_v1_scan.yml lines 1–38
- Spider Printer Registry Smoke Workflow test · spiders / .github/workflows/spider_printer_registry_smoke.yml lines 1–36
Build Context Workflow
A GitHub Actions workflow in Spiders. Runs on push, on pull requests and by hand.
automationspiders / .github/workflows/20260905-build-context.yml · lines 1–45 of 45 · version 2026-09-05 · 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 agent_infra (repository name word 'spiders'): 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
- Source template for the active `.github/workflows/20260905-build-context.yml`.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Test Reload (workflow run), Test Validate (workflow run), Test Campaign (workflow run), Test Roadmap (workflow run), Validate Roadmap (workflow run), Validate (workflow run), Observe CI (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Build context checkpoint
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/20260905-build-context.yml:1-45 · blob caf6444c5e6cdb16fbed9b3911b6926b12164119 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
# Source template for the active .github/workflows/20260905-build-context.yml.
name: Build context checkpoint
on:
workflow_dispatch:
push:
branches: [main]
paths: ['codex/reload/**', '.github/workflows/20260905-build-context.yml']
pull_request:
paths: ['codex/reload/**', '.github/workflows/20260905-build-context.yml']
permissions:
contents: read
concurrency:
group: build-context-${{ github.ref }}
cancel-in-progress: false
jobs:
checkpoint:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Prove read-only reload and completion boundaries
run: |
python3 -B codex/reload/test_reload.py
python3 -B codex/reload/plan-tracker/test_validate.py
python3 -B codex/reload/plan-tracker/test_campaign.py
python3 -B codex/reload/plan-tracker/test_roadmap.py
python3 -B codex/reload/plan-tracker/validate_roadmap.py
- name: Validate public checkpoint and write resume context
run: python3 -B codex/reload/plan-tracker/validate.py --out artifacts/build-context
- name: Observe exact existing CI runs
if: always()
run: python3 -B codex/reload/plan-tracker/observe_ci.py --out artifacts/build-context
- name: Retain public context only
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: build-context-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
path: |
artifacts/build-context/validation.json
artifacts/build-context/RESUME.md
artifacts/build-context/ci-context.json
if-no-files-found: error
retention-days: 30Elements Topology Workflow
A GitHub Actions workflow in Spiders. Runs on push, on pull requests and on a schedule.
automationspiders / .github/workflows/elements-topology.yml · lines 1–117 of 117 · 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 (path word 'topology'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- In: JSON file topology.json; JSON file fresh.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs `tools/test_build_topology.py` and `tools/build_topology.py`.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Test Build Topology (workflow run), Build Topology (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Elements topology cartridge
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/elements-topology.yml:1-117 · blob 1690fa8240b9387828e4086487f41bfb93b683e7 · 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: Elements topology cartridge
# Elements is the public name; spider_printer_v1 is the internal species.
#
# The cartridge used to be hand-drawn, and it went stale the day it was drawn:
# by 6 September a third of the estate was missing from it and the map was still
# believed. It is now generated, so this workflow exists to answer two separate
# questions and report them separately:
#
# 1. Is the generator still correct? Offline, deterministic, no network.
# 2. Has the estate moved past the committed cartridge? Needs the API, so a
# rate limit or an outage must not be reported as "the map is wrong".
on:
push:
branches: [main]
paths:
- 'spider_printer_v1/**'
- '.github/workflows/elements-topology.yml'
pull_request:
workflow_dispatch:
# The estate gains repositories faster than anyone remembers to redraw a map.
schedule:
- cron: '40 4 * * *'
permissions:
contents: read
concurrency:
group: elements-topology
cancel-in-progress: false
jobs:
generator:
name: Generator correctness (offline)
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Negative controls for the generator and the committed cartridge
working-directory: spider_printer_v1
run: python3 -B tools/test_build_topology.py
- name: The committed cartridge is valid JSON and internally consistent
working-directory: spider_printer_v1
run: |
python3 - <<'PY'
import json
d = json.load(open('data/topology.json', encoding='utf-8'))
ids = {n['id'] for n in d['nodes']}
assert d['nodes'], 'no nodes'
assert all(e['from'] in ids and e['to'] in ids for e in d['edges']), 'dangling edge'
assert isinstance(d['edgeTypes'], dict), 'edgeTypes must be keyed for the viewer'
assert d['canvas']['width'] == 3600, 'canvas must match the viewer mapPos divisor'
print(f"cartridge OK: {d['totals']['nodes']} nodes, {d['totals']['edges']} edges, "
f"generated {d['generated']['utc']}")
PY
estate-drift:
name: Has the estate moved past the cartridge?
runs-on: ubuntu-latest
timeout-minutes: 15
# An API outage or a rate limit is not evidence that the map is stale, so
# this reports rather than gates. A real drift still shows as a red job.
continue-on-error: true
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Rebuild from the GitHub API and compare against what is committed
working-directory: spider_printer_v1
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
set -uo pipefail
python3 -B tools/build_topology.py --api --out /tmp/fresh.json || {
echo "::warning::the estate could not be read from the API; drift not established"
exit 0
}
python3 - <<'PY'
import json, os, sys
fresh = json.load(open('/tmp/fresh.json', encoding='utf-8'))
current = json.load(open('data/topology.json', encoding='utf-8'))
# The generated block carries a timestamp and the scan source, which
# differ between a laptop run and an API run by design. Compare the
# subject, not the paperwork.
for d in (fresh, current):
d.pop('generated', None)
fresh_ids = {n['id'] for n in fresh['nodes']}
current_ids = {n['id'] for n in current['nodes']}
added, gone = sorted(fresh_ids - current_ids), sorted(current_ids - fresh_ids)
if added:
print('::warning::repositories in the estate but not on the map: ' + ', '.join(added))
if gone:
print('::warning::repositories on the map but not in the estate: ' + ', '.join(gone))
if fresh == current:
print('the map matches the estate')
sys.exit(0)
print(f"::error::the cartridge is out of date. Estate has {len(fresh_ids)} repositories "
f"and {len(fresh['edges'])} edges; the map has {len(current_ids)} and "
f"{len(current['edges'])}. Regenerate and commit a new version, adding a row to "
f"spider_printer_v1/VERSIONS.md and keeping the outgoing cartridge under "
f"data/superseded/.")
sys.exit(1)
PY
- name: Keep the freshly built cartridge as evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: elements-topology-${{ github.run_id }}
path: /tmp/fresh.json
if-no-files-found: ignoreEstate Activity Workflow
A GitHub Actions workflow in Spiders. Runs on push, on pull requests and on a schedule.
automationspiders / .github/workflows/estate-activity.yml · lines 1–75 of 75 · 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 agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Build (`species/estate-activity/tools/build.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Build (workflow run), Species — Estate Activity (workflow run), Build Test (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Estate activity Spider
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/estate-activity.yml:1-75 · blob 1781600202bd523668d31a16e42f83ab40b49784 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Estate activity Spider
# Scheduled observer ONLY. Never calls a release writer or changes an external repo.
on:
workflow_dispatch:
schedule:
- cron: '7 */3 * * *'
push:
branches: [main]
paths:
- 'species/estate-activity/**'
- '!species/estate-activity/data/**'
- '.github/workflows/estate-activity.yml'
pull_request:
paths:
- 'species/estate-activity/**'
- '!species/estate-activity/data/**'
- '.github/workflows/estate-activity.yml'
- 'index.html'
permissions:
contents: read
concurrency:
group: estate-activity-spider
cancel-in-progress: false
jobs:
verify:
name: Offline schema and negative controls
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v4.2.0
with:
node-version: '22'
- name: Check crawler and renderer syntax
run: |
node --check species/estate-activity/tools/build.mjs
node --check species/estate-activity/app.mjs
- name: Run read-only negative/identity tests
run: node --test species/estate-activity/tools/build.test.mjs
observe:
name: Bounded public GitHub scan and Spider-only data update
needs: verify
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 25
permissions:
contents: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v4.2.0
with:
node-version: '22'
- name: Read public Git heads, PRs, agent comments and pinned graph registries
env:
GITHUB_TOKEN: ${{ github.token }}
run: node species/estate-activity/tools/build.mjs
- name: Commit ONLY Spider activity data if it changed
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -- species/estate-activity/data/activity.json
if git diff --cached --quiet; then
echo "No material activity change; no new commit."
exit 0
fi
git commit -m "activity-spider: refresh measured estate links and activity"
git pull --rebase origin main
git push origin HEAD:mainEstate Audit Workflow
A GitHub Actions workflow in Spiders. Runs on a schedule and by hand.
automationspiders / .github/workflows/estate-audit.yml · lines 1–37 of 37 · 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 agent_infra (repository name word 'spiders'): 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 Estate Audit Test (`codex/build-plan/estate-audit.test.py`) and Estate Audit (`codex/build-plan/estate-audit.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Estate Audit Test (workflow run), Estate Audit (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Estate overnight audit
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/estate-audit.yml:1-37 · blob f377f5ac9f08d7b6e7af6af7b3645e522aca4ead · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Estate overnight audit
on:
workflow_dispatch:
schedule:
- cron: '35 2 * * 0'
permissions:
contents: read
concurrency:
group: estate-overnight-audit
cancel-in-progress: false
jobs:
observe:
runs-on: ubuntu-latest
timeout-minutes: 90
strategy:
fail-fast: false
max-parallel: 3
matrix:
shard: [0, 1, 2]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Verify storage guard and reference extraction
run: python3 codex/build-plan/estate-audit.test.py
- name: Bounded read-only estate audit
env:
GH_TOKEN: ${{ github.token }}
run: python3 codex/build-plan/estate-audit.py --out evidence --shard ${{ matrix.shard }} --shards 3
- name: Retain partitioned evidence even on failure
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: estate-audit-${{ github.run_id }}-${{ matrix.shard }}
path: evidence/
retention-days: 14
if-no-files-found: errorGenome Workflow
A GitHub Actions workflow in Spiders. Runs on push, on a schedule and by hand.
automationspiders / .github/workflows/genome.yml · lines 1–299 of 299 · Entry point
- What it does
- It runs interconnectors. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief). Domain terms in the code: interconnectors.
- Inputs & outputs
- In: GeoJSON file master-plan.geojson. Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Genome-spider — CI runner.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Federation Test (workflow run), Build (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- genome-spider
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/genome.yml:1-299 · blob 3628d0ff13650d0ff78277c79cd014e4bbbb7098 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
# genome-spider — CI runner.
#
# Command surface: this workflow is driven the same way the GridAtlas menu
# bar issues verbs (crawl / populate / compose / verify — see
# gridatlas/atlas/modules/202609031958-menu-bar.js for the live menu this
# is meant to be wired to later; that wiring is a separate, future change
# and this workflow does not touch gridatlas).
#
# crawl — walk the estate, emit the genome and gridatlas's cartridge
# lineage (gridatlas-lineage.json), commit whatever changed.
# verify — run genome.proof.mjs against the genome already committed
# here, without re-crawling. Commits nothing but a receipt.
# populate — declared, not implemented. Fails loudly with a receipt
# rather than reporting a fake success.
# compose — declared, not implemented. Same as populate.
#
# Every run — whichever command, whatever the outcome — writes one
# append-only, timestamped receipt under species/genome-spider/receipts/
# and updates receipts/LATEST.json, so a menu (or a human) always has
# somewhere stable to read the outcome of the last run. See
# species/genome-spider/README.md "Receipts" for the exact URL shape and
# how to trigger each command.
#
# Vaccines this workflow satisfies (Ventusltd/cvaa/vaccines/):
# 202608301442-pinned-actions.md — every `uses:` below is pinned
# to a 40-character commit SHA (reusing the same pins already used
# elsewhere in this estate: actions/checkout@11bd719... is v4.2.2,
# actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 is v4).
# 202608301443-least-permissions.md — an explicit `permissions:`
# block (contents: write, nothing else; write is used only to commit
# genome data and receipts back into this repo), timeout-minutes on
# the job, and workflow_dispatch present alongside `schedule:`.
# 202608301323-no-per-release-workflows.md — one workflow file, not
# timestamped, not regenerated per run. Commands are an input, not a
# new file.
# 202608301325-self-terminating-loops.md — the scheduled path always
# resolves to `crawl`; crawl's commit step has an explicit
# nothing-to-commit exit-0 path (see "Commit if changed" step) instead
# of failing, or committing noise, when nothing is pending.
name: genome-spider
on:
workflow_dispatch:
inputs:
command:
description: "Command to run: crawl | verify | populate | compose"
required: true
type: choice
options:
- crawl
- verify
- populate
- compose
default: crawl
schedule:
# Daily. Schedule and push both always run `crawl` — only
# workflow_dispatch can choose a different command (see "Resolve
# command" below).
- cron: '17 3 * * *'
push:
branches: [main]
paths:
- 'species/genome-spider/**'
- '.github/workflows/genome.yml'
- 'codex/build-plan/master-plan.geojson'
- 'codex/build-plan/*.mjs'
permissions:
contents: write
concurrency:
group: genome-spider
cancel-in-progress: false
jobs:
run:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
# ---------------------------------------------------------------
# Checkout: the spiders repo itself, plus every other repo
# genome-spider walks, all as siblings under one estate/ directory —
# the same layout genome-spider expects locally (see
# species/genome-spider/config/repos.json "root"). A repo that can't
# be checked out (private, renamed, gone) does not fail the job —
# spider.mjs already records that honestly in repos_skipped, which
# is the point of that field.
# ---------------------------------------------------------------
- name: Checkout spiders (self)
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: estate/spiders
fetch-depth: 0
- name: Checkout chatgpt-audits
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/chatgpt-audits, path: estate/chatgpt-audits, fetch-depth: 0 }
- name: Checkout claude
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/claude, path: estate/claude, fetch-depth: 0 }
- name: Checkout codex-chatgpt
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/codex-chatgpt, path: estate/codex-chatgpt, fetch-depth: 0 }
- name: Checkout companies
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/companies, path: estate/companies, fetch-depth: 0 }
- name: Checkout cvaa
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/cvaa, path: estate/cvaa, fetch-depth: 0 }
- name: Checkout data-centres-gb
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/data-centres-gb, path: estate/data-centres-gb, fetch-depth: 0 }
- name: Checkout data-federation-map-for-globalgrid2050-all-repos
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/data-federation-map-for-globalgrid2050-all-repos, path: estate/data-federation-map-for-globalgrid2050-all-repos, fetch-depth: 0 }
- name: Checkout data-gb-electricity
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/data-gb-electricity, path: estate/data-gb-electricity, fetch-depth: 0 }
- name: Checkout data-grid-gb
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/data-grid-gb, path: estate/data-grid-gb, fetch-depth: 0 }
- name: Checkout data-gridatlas
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/data-gridatlas, path: estate/data-gridatlas, fetch-depth: 0 }
- name: Checkout data-interconnectors
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/data-interconnectors, path: estate/data-interconnectors, fetch-depth: 0 }
- name: Checkout gb-electricity-ui
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/gb-electricity-ui, path: estate/gb-electricity-ui, fetch-depth: 0 }
- name: Checkout gemini
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/gemini, path: estate/gemini, fetch-depth: 0 }
- name: Checkout globalgrid2050
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/globalgrid2050, path: estate/globalgrid2050, fetch-depth: 0 }
- name: Checkout grid-distance-maths
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/grid-distance-maths, path: estate/grid-distance-maths, fetch-depth: 0 }
- name: Checkout gridatlas
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/gridatlas, path: estate/gridatlas, fetch-depth: 0 }
- name: Checkout pipelinenews
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/pipelinenews, path: estate/pipelinenews, fetch-depth: 0 }
- name: Checkout ventus-grid-engine
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
continue-on-error: true
with: { repository: Ventusltd/ventus-grid-engine, path: estate/ventus-grid-engine, fetch-depth: 0 }
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v4
with:
node-version: '22'
- name: Resolve command
id: cmd
run: |
set -euo pipefail
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "value=${{ inputs.command }}" >> "$GITHUB_OUTPUT"
else
echo "value=crawl" >> "$GITHUB_OUTPUT"
fi
- name: Validate and compose declared build-plan child cartridge
working-directory: estate/spiders
run: |
node --test codex/build-plan/federation.test.mjs
node codex/build-plan/build.mjs --apply
- name: Retain build-plan audit and graph
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: build-plan-${{ github.run_id }}
path: |
estate/spiders/codex/build-plan/reports
estate/spiders/codex/build-plan/data
if-no-files-found: warn
- name: Run crawl (populate genome.json)
if: steps.cmd.outputs.value == 'crawl'
working-directory: estate/spiders/species/genome-spider
run: node spider.mjs
- name: Run gridatlas lineage (populate gridatlas-lineage.json)
if: steps.cmd.outputs.value == 'crawl'
working-directory: estate/spiders/species/genome-spider
run: node lineage.mjs
- name: Run proof
if: steps.cmd.outputs.value == 'crawl' || steps.cmd.outputs.value == 'verify'
id: proof
working-directory: estate/spiders/species/genome-spider
run: |
set +e
node genome.proof.mjs 2>&1 | tee /tmp/proof-output.txt
code=${PIPESTATUS[0]}
set -e
echo "exit_code=$code" >> "$GITHUB_OUTPUT"
summary=$(grep -E '^[0-9]+/[0-9]+ checks passed$' /tmp/proof-output.txt | tail -1)
echo "summary=${summary}" >> "$GITHUB_OUTPUT"
- name: Write receipt (populate / compose — not yet implemented)
if: steps.cmd.outputs.value == 'populate' || steps.cmd.outputs.value == 'compose'
working-directory: estate/spiders/species/genome-spider
run: |
node make-receipt.mjs \
--command="${{ steps.cmd.outputs.value }}" \
--status=not-implemented \
--detail="${{ steps.cmd.outputs.value }} is declared on the command surface but not yet built. See README.md Commands." \
--git-sha="${{ github.sha }}" \
--event-name="${{ github.event_name }}" \
--repo-url-base="https://github.com/${{ github.repository }}/blob/main/species/genome-spider" \
--out-dir=receipts
- name: Write receipt (crawl / verify)
if: steps.cmd.outputs.value == 'crawl' || steps.cmd.outputs.value == 'verify'
working-directory: estate/spiders/species/genome-spider
run: |
status=ok
if [ "${{ steps.proof.outputs.exit_code }}" != "0" ]; then status=failed; fi
node make-receipt.mjs \
--command="${{ steps.cmd.outputs.value }}" \
--status="$status" \
--git-sha="${{ github.sha }}" \
--event-name="${{ github.event_name }}" \
--genome=data/genome.json \
--proof-exit="${{ steps.proof.outputs.exit_code }}" \
--proof-summary="${{ steps.proof.outputs.summary }}" \
--repo-url-base="https://github.com/${{ github.repository }}/blob/main/species/genome-spider" \
--out-dir=receipts
# -----------------------------------------------------------------
# Commit. Receipts are append-only — every run adds a new file, so
# they are always staged. The genome data files are staged too, but
# only actually committed if something besides generated_at changed
# (that field is set fresh on every run and would otherwise force a
# commit every time — see README.md "Why genome.json's timestamp is
# excluded from the change check"). This is the self-terminating
# exit-0 path cvaa vaccine 202608301325 requires of a scheduled job:
# nothing pending is a clean, quiet success, not a failure.
# -----------------------------------------------------------------
- name: Commit if changed
working-directory: estate/spiders
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add species/genome-spider/data species/genome-spider/receipts
git add codex/build-plan/data codex/build-plan/versions codex/build-plan/CURRENT.json codex/build-plan/BUILD-PLAN.md
if git diff --cached --quiet; then
echo "No changes staged; nothing to commit."
exit 0
fi
MATERIAL=$(git diff --cached -- species/genome-spider/data \
| grep -E '^[+-]' \
| grep -v '^+++' | grep -v '^---' \
| grep -v '"generated_at"' || true)
if [ -z "$MATERIAL" ]; then
git restore --staged species/genome-spider/data
fi
if git diff --cached --quiet; then
echo "Only generated_at changed in genome data and no receipt was staged; nothing material to commit."
exit 0
fi
git commit -m "genome-spider: ${{ steps.cmd.outputs.value }} run ${{ github.run_id }}"
git push
- name: Fail the run if the command was not implemented
if: steps.cmd.outputs.value == 'populate' || steps.cmd.outputs.value == 'compose'
run: |
echo "'${{ steps.cmd.outputs.value }}' is declared on the command surface but not implemented yet. A receipt recording this was committed; this step exists so the workflow run itself reads red, not a false green." >&2
exit 1
- name: Fail the run if the proof failed
if: (steps.cmd.outputs.value == 'crawl' || steps.cmd.outputs.value == 'verify') && steps.proof.outputs.exit_code != '0'
run: |
echo "genome.proof.mjs exited ${{ steps.proof.outputs.exit_code }}. A receipt recording the failure was committed." >&2
exit 1Maya Hunt Workflow
A GitHub Actions workflow in Spiders. Runs on a schedule and by hand.
automationspiders / .github/workflows/maya-hunt.yml · lines 1–24 of 24 · 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 agent_infra (repository name word 'spiders'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Maya hunt (explain dead ends)”; runs Maya Hunter (`tools/maya-hunt/maya-hunter.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Maya Hunter (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Maya hunt (explain dead ends)
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/maya-hunt.yml:1-24 · blob 23a16c9606ba45894d214830bda283aa26877414 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Maya hunt (explain dead ends)
on:
schedule:
- cron: '17 6 * * 1' # weekly, Monday 06:17 UTC
workflow_dispatch:
jobs:
hunt:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Hunt dead ends and assign Maya cards
run: node tools/maya-hunt/maya-hunter.mjs tools/maya-hunt/data
- name: Commit the cards if they changed
run: |
git config user.name "maya-hunt"
git config user.email "noreply@ventusltd.com"
git add tools/maya-hunt/data
git diff --cached --quiet || git commit -m "maya-hunt: reassign dead-end cards ($(date -u +%Y-%m-%dT%H:%M:%SZ))"
git pushSpider Maya V1 Scan Workflow
A GitHub Actions workflow in Spiders. Runs by hand.
automationspiders / .github/workflows/spider_maya_v1_scan.yml · lines 1–38 of 38 · 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 agent_infra (path word 'spider'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Scan Areas Menu (`spider_maya/v1/scripts/scan_areas_menu.py`) and Validate (`spider_maya/v1/scripts/validate.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- spiders · .github/workflows · workflow
- Uses
- Scan Areas Menu (workflow run), Validate (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- spider_maya v1 scan
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/spider_maya_v1_scan.yml:1-38 · blob 580167b40e5be1c70e1bec3acc89d110ea736723 · 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_maya v1 scan
on:
workflow_dispatch:
inputs:
globalgrid_ref:
description: Git ref for Ventusltd/globalgrid2050 homepage AREAS menu
required: true
default: 88894bebe6cc42a7bf766a2b104d609fd3a1f514
type: string
permissions:
contents: write
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Build declared AREAS graph
run: python spider_maya/v1/scripts/scan_areas_menu.py --globalgrid-ref "${{ inputs.globalgrid_ref }}"
- name: Validate graph
run: python spider_maya/v1/scripts/validate.py
- name: Commit derived graph and audit receipt
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add spider_maya/v1/data/derived spider_maya/v1/audit
if git diff --cached --quiet; then
echo "No derived changes to commit"
else
git commit -m "spider_maya: refresh v1 declared graph"
git push
fiSpider Printer Registry Smoke Workflow
A GitHub Actions workflow in Spiders using data from the registry_of_all_content_in_repos_and_dependencies repository. Runs on a schedule and by hand.
testspiders / .github/workflows/spider_printer_registry_smoke.yml · lines 1–36 of 36 · Entry point
- What it does
- It tests its inputs. Side effects: reads or writes files; makes network requests; 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).
- Inputs & outputs
- In: data source: registry_of_all_content_in_repos_and_dependencies data; JSON file latest.json; JSON file graph_latest.json.
- Downstream impact
- Used directly by 1 file: Iterations — 43 Registry Growth Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/). Reached from 1 other entry point, including Iterations — 47 Federation Honesty Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/47-federation-honesty/).
- What it achieves
- No statement of purpose was found in the file, a README line naming it, or its name.
- Why it matters
- Loaded by the 43 Registry Growth page in Galaxies Wafers at https://ventusltd.github.io/galaxies-wafers/iterations/43-registry-growth/.
- Application
- spiders · .github/workflows · workflow
- Uses
- Registry of All Content in Repos and Dependencies — Index Page (estate URL)
- Used by
- linked from Iterations — 43 Registry Growth Page (link)
- Produces
- none declared
- Defines here
- Spider Printer registry smoke
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- spiders@78fc0f90bd5ca73f3d5d7c0e0b7b5712cfe781e5 .github/workflows/spider_printer_registry_smoke.yml:1-36 · blob 1174a0dbf2478aae1c130a21b5f6cfc70daec204 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: ingest · effects: filesystem, network, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Spider Printer registry smoke
on:
workflow_dispatch:
schedule:
- cron: '30 10 * * 1'
permissions:
contents: read
concurrency:
group: spider-printer-registry-smoke
cancel-in-progress: false
jobs:
smoke:
runs-on: ubuntu-latest
steps:
- name: Check registry files
run: |
set -euo pipefail
python3 - <<'PY'
import json, urllib.request
base = 'https://raw.githubusercontent.com/Ventusltd/registry_of_all_content_in_repos_and_dependencies/main/'
latest = json.load(urllib.request.urlopen(base + 'registry/latest.json', timeout=30))
registry = json.load(urllib.request.urlopen(base + latest['json_path'], timeout=60))
assert registry['totals']['repo_count'] >= 1
assert registry['totals']['file_count'] >= 1
print('Registry OK:', latest['json_path'], registry['totals'])
try:
graph = json.load(urllib.request.urlopen(base + 'registry/graph_latest.json', timeout=30))
assert graph['nodes']
print('Graph OK:', len(graph['nodes']), 'nodes')
except Exception as exc:
print('Graph not available yet:', exc)
PY