GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Automation and CI / neural-link-between-agents / .github/workflows

V923 Public Readback Workflow and 6 more files

A GitHub Actions workflow in Neural Link Between Agents that builds and publishes the site using data from the GlobalGrid2050 repository. Runs on push and by hand.

671 lines of YAML from neural-link-between-agents, in 7 files. Topic: Automation and CI. Section 1834 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. Overnight V928 02 News Workflow automation · neural-link-between-agents / .github/workflows/overnight-v928-02-news.yml lines 1–85
  2. Overnight V928 03 Evidence Workflow automation · neural-link-between-agents / .github/workflows/overnight-v928-03-evidence.yml lines 1–85
  3. Overnight V928 04 Map Workflow automation · neural-link-between-agents / .github/workflows/overnight-v928-04-map.yml lines 1–84
  4. Overnight V928 05 Public Workflow automation · neural-link-between-agents / .github/workflows/overnight-v928-05-public.yml lines 1–82
  5. V923 Public Readback Workflow automation · neural-link-between-agents / .github/workflows/v923-public-readback.yml lines 1–114
  6. V923 Six Hour Neural Audit Workflow automation · neural-link-between-agents / .github/workflows/v923-six-hour-neural-audit.yml lines 1–109
  7. VEDIC E03 Preserve OSM Workflow automation · neural-link-between-agents / .github/workflows/vedic-e03-preserve-osm.yml lines 1–112

Overnight V928 02 News Workflow

A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/overnight-v928-02-news.yml · lines 1–85 of 85 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (repository name word 'agents'): 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
Named “Overnight five / 02-news / News prioritisation and attribution”.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
Overnight five / 02-news / News prioritisation and attribution
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/overnight-v928-02-news.yml:1-85 · blob 616ae0a9863ab50d025a561fd68a314796e1cc54 · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: dom, filesystem, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Overnight five / 02-news / News prioritisation and attribution
# Read-only tests on current product main. No auto-merge, publication or unsupported evidence claims.
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - '.github/workflows/overnight-v928-02-news.yml'
permissions:
  contents: read
concurrency:
  group: overnight-v928-02-news
  cancel-in-progress: false
jobs:
  verify:
    runs-on: ubuntu-latest
    timeout-minutes: 20
    steps:
      - name: Hard UTC timebox - expires 17 November 2026 08:00 UTC
        id: window
        shell: bash
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          import os
          now = datetime.now(timezone.utc)
          active = now < datetime(2026, 11, 17, 8, tzinfo=timezone.utc)
          with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
              f.write('active=' + str(active).lower() + '\n')
          print('ACTIVE' if active else 'EXPIRED_NOT_TESTED', now.isoformat())
          PY
      - name: Read exact current GlobalGrid2050 source
        if: steps.window.outputs.active == 'true'
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/globalgrid2050
          ref: main
          filter: blob:none
          persist-credentials: false
          path: product
          sparse-checkout: |
            automation/news
            automation/repd
            automation/pipeline_release
            uk_renewables_pipeline
            dist/news
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - name: Source identity
        if: steps.window.outputs.active == 'true'
        working-directory: product
        run: git rev-parse HEAD | tee "$RUNNER_TEMP/checkout-sha.txt"
      - name: Install test dependencies
        if: steps.window.outputs.active == 'true'
        working-directory: product
        run: python -m pip install -r automation/news/acquisition/requirements.txt
      - name: News prioritisation and attribution
        if: steps.window.outputs.active == 'true'
        working-directory: product
        shell: bash
        run: |
          set -euo pipefail
          python -m pytest -q automation/news/tests/test_news_algorithm.py automation/news/tests/test_news_priority_export.py automation/news/tests/test_pipeline_headlines.py automation/news/tests/test_relevance.py
      - name: Auditable verdict
        if: always()
        shell: bash
        run: |
          echo '## News prioritisation and attribution' >> "$GITHUB_STEP_SUMMARY"
          echo "Execution gate: ${{ steps.window.outputs.active }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Job status: ${{ job.status }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Source SHA: $(cat "$RUNNER_TEMP/checkout-sha.txt" 2>/dev/null || echo not-checked-out)" >> "$GITHUB_STEP_SUMMARY"
          echo 'Read-only tests; never a public release or verified project-evidence assertion.' >> "$GITHUB_STEP_SUMMARY"
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: overnight-02-news-receipt
          path: |
            ${{ runner.temp }}/checkout-sha.txt
            ${{ runner.temp }}/v924-links.json
            ${{ runner.temp }}/v927-links.json
            ${{ runner.temp }}/public-receipt.json
          if-no-files-found: ignore
          retention-days: 5

Overnight V928 03 Evidence Workflow

A GitHub Actions workflow in Neural Link Between Agents that builds and publishes the site. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/overnight-v928-03-evidence.yml · lines 1–85 of 85 · Entry point

What it does
It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (repository name word 'agents'): 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
Named “Overnight five / 03-evidence / Evidence matching and source safeguards”.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
Overnight five / 03-evidence / Evidence matching and source safeguards
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/overnight-v928-03-evidence.yml:1-85 · blob 4194de902bc5cdc593208bbf39655e6cefb7ded1 · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: dom, filesystem, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Overnight five / 03-evidence / Evidence matching and source safeguards
# Read-only tests on current product main. No auto-merge, publication or unsupported evidence claims.
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - '.github/workflows/overnight-v928-03-evidence.yml'
permissions:
  contents: read
concurrency:
  group: overnight-v928-03-evidence
  cancel-in-progress: false
jobs:
  verify:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - name: Hard UTC timebox - expires 17 November 2026 08:00 UTC
        id: window
        shell: bash
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          import os
          now = datetime.now(timezone.utc)
          active = now < datetime(2026, 11, 17, 8, tzinfo=timezone.utc)
          with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
              f.write('active=' + str(active).lower() + '\n')
          print('ACTIVE' if active else 'EXPIRED_NOT_TESTED', now.isoformat())
          PY
      - name: Read exact current GlobalGrid2050 source
        if: steps.window.outputs.active == 'true'
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/globalgrid2050
          ref: main
          filter: blob:none
          persist-credentials: false
          path: product
          sparse-checkout: |
            automation/news
            automation/repd
            automation/pipeline_release
            uk_renewables_pipeline
            dist/news
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - name: Source identity
        if: steps.window.outputs.active == 'true'
        working-directory: product
        run: git rev-parse HEAD | tee "$RUNNER_TEMP/checkout-sha.txt"
      - name: Install test dependencies
        if: steps.window.outputs.active == 'true'
        working-directory: product
        run: python -m pip install -r automation/news/acquisition/requirements.txt
      - name: Evidence matching and source safeguards
        if: steps.window.outputs.active == 'true'
        working-directory: product
        shell: bash
        run: |
          set -euo pipefail
          python -m pytest -q automation/news/tests/test_acquisition.py automation/news/tests/test_acquisition_run.py automation/news/tests/test_evidence_publish.py automation/news/tests/test_evidence_store.py automation/news/tests/test_binder.py
      - name: Auditable verdict
        if: always()
        shell: bash
        run: |
          echo '## Evidence matching and source safeguards' >> "$GITHUB_STEP_SUMMARY"
          echo "Execution gate: ${{ steps.window.outputs.active }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Job status: ${{ job.status }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Source SHA: $(cat "$RUNNER_TEMP/checkout-sha.txt" 2>/dev/null || echo not-checked-out)" >> "$GITHUB_STEP_SUMMARY"
          echo 'Read-only tests; never a public release or verified project-evidence assertion.' >> "$GITHUB_STEP_SUMMARY"
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: overnight-03-evidence-receipt
          path: |
            ${{ runner.temp }}/checkout-sha.txt
            ${{ runner.temp }}/v924-links.json
            ${{ runner.temp }}/v927-links.json
            ${{ runner.temp }}/public-receipt.json
          if-no-files-found: ignore
          retention-days: 5

Overnight V928 04 Map Workflow

A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/overnight-v928-04-map.yml · lines 1–84 of 84 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Inputs & outputs
In: JSON file v924-links.json; JSON file v927-links.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Overnight five / 04-map / All-row MAP and GridAtlas contracts”; runs `automation/pipeline_release/check_deeplinks.mjs`.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
Overnight five / 04-map / All-row MAP and GridAtlas contracts
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/overnight-v928-04-map.yml:1-84 · blob b1718a1618b59751e83915f234e34052d99e5624 · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: dom, filesystem, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Overnight five / 04-map / All-row MAP and GridAtlas contracts
# Read-only tests on current product main. No auto-merge, publication or unsupported evidence claims.
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - '.github/workflows/overnight-v928-04-map.yml'
permissions:
  contents: read
concurrency:
  group: overnight-v928-04-map
  cancel-in-progress: false
jobs:
  verify:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - name: Hard UTC timebox - expires 17 November 2026 08:00 UTC
        id: window
        shell: bash
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          import os
          now = datetime.now(timezone.utc)
          active = now < datetime(2026, 11, 17, 8, tzinfo=timezone.utc)
          with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
              f.write('active=' + str(active).lower() + '\n')
          print('ACTIVE' if active else 'EXPIRED_NOT_TESTED', now.isoformat())
          PY
      - name: Read exact current GlobalGrid2050 source
        if: steps.window.outputs.active == 'true'
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/globalgrid2050
          ref: main
          filter: blob:none
          persist-credentials: false
          path: product
          sparse-checkout: |
            automation/pipeline_release
            uk_renewables_pipeline
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - uses: actions/setup-node@v4
        if: steps.window.outputs.active == 'true'
        with:
          node-version: '22'
      - name: Source identity
        if: steps.window.outputs.active == 'true'
        working-directory: product
        run: git rev-parse HEAD | tee "$RUNNER_TEMP/checkout-sha.txt"
      - name: All-row MAP and GridAtlas contracts
        if: steps.window.outputs.active == 'true'
        working-directory: product
        shell: bash
        run: |
          set -euo pipefail
          node automation/pipeline_release/check_deeplinks.mjs uk_renewables_pipeline/202611161244 "$RUNNER_TEMP/v924-links.json"
          node automation/pipeline_release/check_deeplinks.mjs uk_renewables_pipeline/202611161747 "$RUNNER_TEMP/v927-links.json"
          python -c 'import json,os,pathlib; p=pathlib.Path(os.environ["RUNNER_TEMP"]); a=json.loads((p/"v924-links.json").read_text()); b=json.loads((p/"v927-links.json").read_text()); assert len(a)==len(b)==7775, (len(a),len(b)); assert a==b, "MAP links changed"; print("PASS: 7,775 unchanged MAP links")'
      - name: Auditable verdict
        if: always()
        shell: bash
        run: |
          echo '## All-row MAP and GridAtlas contracts' >> "$GITHUB_STEP_SUMMARY"
          echo "Execution gate: ${{ steps.window.outputs.active }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Job status: ${{ job.status }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Source SHA: $(cat "$RUNNER_TEMP/checkout-sha.txt" 2>/dev/null || echo not-checked-out)" >> "$GITHUB_STEP_SUMMARY"
          echo 'Read-only tests; never a public release or verified project-evidence assertion.' >> "$GITHUB_STEP_SUMMARY"
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: overnight-04-map-receipt
          path: |
            ${{ runner.temp }}/checkout-sha.txt
            ${{ runner.temp }}/v924-links.json
            ${{ runner.temp }}/v927-links.json
            ${{ runner.temp }}/public-receipt.json
          if-no-files-found: ignore
          retention-days: 5

Overnight V928 05 Public Workflow

A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/overnight-v928-05-public.yml · lines 1–82 of 82 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Inputs & outputs
In: JSON file public-receipt.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “Overnight five / 05-public / Homepage live readback and rollback”; runs `automation/v924_public/verify.py`.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
Overnight five / 05-public / Homepage live readback and rollback
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/overnight-v928-05-public.yml:1-82 · blob a7a2d7bc4a4ed6d3552f0c80bc7821602acf20de · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: dom, filesystem, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: Overnight five / 05-public / Homepage live readback and rollback
# Read-only tests on current product main. No auto-merge, publication or unsupported evidence claims.
on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - '.github/workflows/overnight-v928-05-public.yml'
permissions:
  contents: read
concurrency:
  group: overnight-v928-05-public
  cancel-in-progress: false
jobs:
  verify:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - name: Hard UTC timebox - expires 17 November 2026 08:00 UTC
        id: window
        shell: bash
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          import os
          now = datetime.now(timezone.utc)
          active = now < datetime(2026, 11, 17, 8, tzinfo=timezone.utc)
          with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
              f.write('active=' + str(active).lower() + '\n')
          print('ACTIVE' if active else 'EXPIRED_NOT_TESTED', now.isoformat())
          PY
      - name: Read exact current GlobalGrid2050 source
        if: steps.window.outputs.active == 'true'
        uses: actions/checkout@v4
        with:
          repository: Ventusltd/globalgrid2050
          ref: main
          filter: blob:none
          persist-credentials: false
          path: product
          sparse-checkout: |
            automation/v924_public
            automation/pipeline_release
            catalogue
            scripts
            uk_renewables_pipeline
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - name: Source identity
        if: steps.window.outputs.active == 'true'
        working-directory: product
        run: git rev-parse HEAD | tee "$RUNNER_TEMP/checkout-sha.txt"
      - name: Homepage live readback and rollback
        if: steps.window.outputs.active == 'true'
        working-directory: product
        shell: bash
        run: |
          set -euo pipefail
          python -m unittest discover -s automation/v924_public -p test_verify.py -v
          PIPELINE_RECEIPT_PATH="$RUNNER_TEMP/public-receipt.json" PIPELINE_VERIFY_ATTEMPTS=2 PIPELINE_VERIFY_DELAY_SECONDS=8 python automation/v924_public/verify.py
      - name: Auditable verdict
        if: always()
        shell: bash
        run: |
          echo '## Homepage live readback and rollback' >> "$GITHUB_STEP_SUMMARY"
          echo "Execution gate: ${{ steps.window.outputs.active }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Job status: ${{ job.status }}" >> "$GITHUB_STEP_SUMMARY"
          echo "Source SHA: $(cat "$RUNNER_TEMP/checkout-sha.txt" 2>/dev/null || echo not-checked-out)" >> "$GITHUB_STEP_SUMMARY"
          echo 'Read-only tests; never a public release or verified project-evidence assertion.' >> "$GITHUB_STEP_SUMMARY"
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: overnight-05-public-receipt
          path: |
            ${{ runner.temp }}/checkout-sha.txt
            ${{ runner.temp }}/v924-links.json
            ${{ runner.temp }}/v927-links.json
            ${{ runner.temp }}/public-receipt.json
          if-no-files-found: ignore
          retention-days: 5

V923 Public Readback Workflow

A GitHub Actions workflow in Neural Link Between Agents that builds and publishes the site using data from the GlobalGrid2050 repository. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/v923-public-readback.yml · lines 1–114 of 114 · Entry point

What it does
It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (repository name word 'agents'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Inputs & outputs
In: data source: globalgrid2050 data; JSON file v923-public-receipt.json; JSON file homepage.json.
Downstream impact
It is itself an entry point (workflow); no other file was found loading it.
What it achieves
Named “V9.23 public homepage and archived V9.22 served-byte readback”.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
GlobalGrid2050 — UK Renewables Pipeline Page (estate URL)
Used by
none found
Produces
none declared
Defines here
V9.23 public homepage and archived V9.22 served-byte readback
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/v923-public-readback.yml:1-114 · blob d3115de8a63f1bc7588f9582892e20fa9968518b · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: filesystem, network, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: V9.23 public homepage and archived V9.22 served-byte readback
on:
  push:
    branches: [main]
    paths: ['.github/workflows/v923-public-readback.yml']
  workflow_dispatch:

permissions:
  contents: read
  issues: write

jobs:
  public-readback:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'
      - name: Verify public V9.23 homepage pointer, source and immutable V9.22 HTTP bytes
        env:
          GITHUB_RUN_ID: ${{ github.run_id }}
        run: |
          python3 - <<'PY'
          import hashlib,json,os,time,urllib.request,urllib.error
          from pathlib import Path
          root='https://globalgrid2050.com/'
          prefix=root+'uk_renewables_pipeline/'
          token=os.getenv('GITHUB_RUN_ID','v923')
          stamp='?publish_readback='+token
          path=Path('v923-public-receipt.json')
          expected='6da0e8c403dbffbcf94c025077ff47bb8c7087ad9053e9367143bdcdbb708aa3'
          historical='https://raw.githubusercontent.com/Ventusltd/globalgrid2050/0719ddc28f2a418281594549d4667c9916ff6b20/uk_renewables_pipeline/202611151300/index.html'
          def get(url):
              req=urllib.request.Request(url,headers={'Cache-Control':'no-cache','User-Agent':'GlobalGrid2050-V923-Github-Actions-Readback'})
              with urllib.request.urlopen(req,timeout=25) as response: return response.status,response.read(400000)
          previous_hash=None
          failed=''
          for attempt in range(1,19):
              try:
                  home_status,home=get(root+stamp)
                  json_status,data=get(root+'homepage-shell/data/homepage.json'+stamp)
                  v23_status,v23=get(prefix+'202611160020/index.html'+stamp)
                  v22_status,v22=get(prefix+'202611151300/index.html'+stamp)
                  original_status,original=get(historical)
                  report={
                    'run':token,'attempt':attempt,'source_sha':'1559f40e73a4e454c39b23d5172cf4c5e96ef3ea',
                    'home_status':home_status,'json_status':json_status,'v23_status':v23_status,
                    'v22_status':v22_status,'original_status':original_status,
                    'owner_json_sha256':hashlib.sha256(data).hexdigest(),
                    'v22_sha256':hashlib.sha256(v22).hexdigest(),
                    'v22_original_sha256':hashlib.sha256(original).hexdigest(),
                    'v23_sha256':hashlib.sha256(v23).hexdigest(),
                  }
                  catalog=json.loads(data)
                  product=next(e for e in catalog['entities'] if e['id']=='pipeline-news')
                  ids=[r['id'] for r in product['releases']]
                  report['operative']=product['operative_release_id']
                  report['old_release_retained']='202611151300' in ids
                  report['home_v923_link']=(prefix+'202611160020/' in home.decode('utf-8'))
                  report['native_notes_heading']=(b'MACHINE READ NOTES' in v23)
                  report['candidate_label']=(b'V9.23' in v23)
                  report['v22_unchanged']=(report['v22_sha256']==report['v22_original_sha256'])
                  passed=(
                    home_status==json_status==v23_status==v22_status==original_status==200
                    and report['owner_json_sha256']==expected
                    and report['operative']=='202611160020'
                    and report['old_release_retained'] and report['home_v923_link']
                    and report['native_notes_heading'] and report['candidate_label'] and report['v22_unchanged']
                  )
                  report['verdict']='PUBLIC_PASS' if passed else 'PUBLIC_NOT_READY'
                  path.write_text(json.dumps(report,indent=2)+'\n')
                  print(json.dumps(report,indent=2),flush=True)
                  if passed:break
                  failed='Not all conditions passed on HTTPS-served bytes'
              except Exception as err:
                  failed=str(err)
                  print('attempt',attempt,'failure',failed,flush=True)
              if attempt<18:time.sleep(15)
          else:
              raise SystemExit('PUBLIC_V923_ACCEPTANCE_FAIL: '+failed)
          PY
      - name: Post precise status with evidence to neural coordination
        if: always()
        continue-on-error: true
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          python3 - <<'PY'
          from pathlib import Path
          import json,os
          p=Path('v923-public-receipt.json')
          lines=['[AGENT 10 RELEASE READBACK] V9.23 owner requested iterative publication',
                 'Action: https://github.com/Ventusltd/neural-link-between-agents/actions/runs/'+os.getenv('GITHUB_RUN_ID','unknown')]
          if p.exists():
              r=json.loads(p.read_text())
              lines += ['Public HTTP/served-byte result: '+r['verdict'],'Public homepage V9.23: '+str(r.get('operative')),
                        'V9.22 source index byte-identical: '+str(r.get('v22_unchanged')),
                        'V9.23 native notes heading: '+str(r.get('native_notes_heading'))]
          else: lines+=['Public live readback did not complete successfully: no receipt']
          lines+=['External GridAtlas 390px first-restore still known RED in independent previous browser run; not changed in this publication.']
          Path('v923-public-comment.md').write_text('\n'.join(lines)+'\n')
          PY
          gh issue comment 30 --repo Ventusltd/neural-link-between-agents --body-file v923-public-comment.md
          gh issue comment 40 --repo Ventusltd/neural-link-between-agents --body-file v923-public-comment.md
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: public-v923-http-readback-${{ github.run_id }}
          path: |
            v923-public-receipt.json
            v923-public-comment.md
          retention-days: 30

V923 Six Hour Neural Audit Workflow

A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/v923-six-hour-neural-audit.yml · lines 1–109 of 109 · Entry point

What it does
It runs automated jobs on GitHub Actions. Side effects: changes the web page (DOM); reads or writes files; starts processes.
Why it exists in the grid workflow
Domain stage agent_infra (path word 'neural'): 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 “V9.23 six-hour neural evidence cycles”; runs Audit (`automation/v923-recovery/audit.py`).
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
Audit (workflow run)
Used by
none found
Produces
none declared
Defines here
V9.23 six-hour neural evidence cycles
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/v923-six-hour-neural-audit.yml:1-109 · blob 853e5ccbbd7c1feab6eb324d3768988a7186c06e · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: dom, filesystem, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: V9.23 six-hour neural evidence cycles
# Half-hourly, date bounded, 25 minutes max per fresh GitHub Actions job.
# Never edits Pipeline News or GridAtlas source, never promotes homepage.
on:
  push:
    branches: [main]
    paths:
      - '.github/workflows/v923-six-hour-neural-audit.yml'
      - 'automation/v923-recovery/audit.py'
  workflow_dispatch:

permissions:
  contents: write
  issues: write

concurrency:
  group: v923-neural-six-hour-window
  cancel-in-progress: false

jobs:
  audit:
    runs-on: ubuntu-latest
    timeout-minutes: 25
    steps:
      - name: Enforce six-hour UTC window (no runs after end)
        id: window
        shell: bash
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          from pathlib import Path
          import os
          now=datetime.now(timezone.utc)
          start=datetime(2026,11,16,0,0,tzinfo=timezone.utc)
          stop=datetime(2026,11,16,6,15,tzinfo=timezone.utc)
          enabled=start<=now<stop
          with open(os.environ['GITHUB_OUTPUT'],'a') as output:
              output.write('active='+str(enabled).lower()+'\n')
          print('UTC',now.isoformat(),'window_active',enabled)
          PY
      - uses: actions/checkout@v4
        if: steps.window.outputs.active == 'true'
        with:
          fetch-depth: 1
          persist-credentials: true
      - uses: actions/checkout@v4
        if: steps.window.outputs.active == 'true'
        with:
          repository: Ventusltd/globalgrid2050
          ref: agent10/v923-six-hour-repair-20261116
          path: product
          persist-credentials: false
          sparse-checkout: |
            uk_renewables_pipeline/202611151300
            uk_renewables_pipeline/202611160020
            automation/v923-recovery
            automation/pipeline_release
          sparse-checkout-cone-mode: true
      - uses: actions/setup-python@v5
        if: steps.window.outputs.active == 'true'
        with:
          python-version: '3.12'
      - uses: actions/setup-node@v4
        if: steps.window.outputs.active == 'true'
        with:
          node-version: '22'
      - name: Python source, MAP and neural failure audit
        if: steps.window.outputs.active == 'true'
        env:
          GH_TOKEN: ${{ github.token }}
        run: python3 automation/v923-recovery/audit.py
      - name: Hard stop before writing audit receipts
        id: write_window
        if: steps.window.outputs.active == 'true'
        shell: bash
        run: |
          python3 - <<'PY'
          from datetime import datetime, timezone
          now=datetime.now(timezone.utc)
          print('audit_commit_gate_utc',now.isoformat())
          if now >= datetime(2026,11,16,6,15,tzinfo=timezone.utc):
              raise SystemExit('AUDIT WRITE BLOCKED: owner six-hour cutoff passed')
          PY
      - name: Commit append-only audit receipt to Neural Link
        if: steps.write_window.outcome == 'success'
        shell: bash
        run: |
          git config user.name 'github-actions[bot]'
          git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
          mkdir -p automation/v923-recovery/results/history
          stamp="$(date -u +%Y%m%dT%H%M%SZ)"
          cp automation/v923-recovery/results/latest.json "automation/v923-recovery/results/history/${stamp}-${GITHUB_RUN_ID}.json"
          git add automation/v923-recovery/results
          git commit -m "audit(v923): half-hour cycle ${stamp}" || true
          git push origin HEAD:main
      - name: Post traceable result to neural coordination channels
        if: steps.write_window.outcome == 'success'
        continue-on-error: true
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          gh issue comment 30 --repo Ventusltd/neural-link-between-agents --body-file automation/v923-recovery/results/latest.md
          gh issue comment 40 --repo Ventusltd/neural-link-between-agents --body-file automation/v923-recovery/results/latest.md
      - uses: actions/upload-artifact@v4
        if: always() && steps.window.outputs.active == 'true'
        with:
          name: v923-neural-audit-${{ github.run_id }}
          path: automation/v923-recovery/results/
          retention-days: 14

VEDIC E03 Preserve OSM Workflow

A GitHub Actions workflow in Neural Link Between Agents. Runs on push and by hand.

automationneural-link-between-agents / .github/workflows/vedic-e03-preserve-osm.yml · lines 1–112 of 112 · 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 agent_infra (path word 'vedic'): AI-agent memory, coordination and code audit (the multi-agent journey named in Ventus Ltd's brief).
Inputs & outputs
In: JSON file meta.json. Out: JSON file RECEIPT.json; 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 “VEDIC E03 preserve bounded OSM evidence”.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
neural-link-between-agents · .github/workflows · workflow
Uses
none found
Used by
none found
Produces
none declared
Defines here
VEDIC E03 preserve bounded OSM evidence
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
neural-link-between-agents@598eff3f59afe11738d64cb14cb8befe5e37cdc2 .github/workflows/vedic-e03-preserve-osm.yml:1-112 · blob 434355bafb32be822bba46cd797e58a0171b4680 · GitHub at these lines
State
achieves: comment · context: auto · stage: output · effects: filesystem, process · domain stage: agent_infra · users: ai_agent · canonical: unknown
name: VEDIC E03 preserve bounded OSM evidence

# One-shot preservation of GridAtlas artifact 15766571142 (run 47186952678,
# commit 1eddb83f59b56aff62669e6b0e8aeb6e1bff5098) before its 14-day expiry.
# Downloads inside Actions, rehashes independently of the acquisition runner,
# and commits the original bytes plus a receipt. No product repository is changed.

on:
  push:
    branches: [main]
    paths:
      - '.github/workflows/vedic-e03-preserve-osm.yml'
  workflow_dispatch:

permissions:
  contents: write
  actions: read

concurrency:
  group: vedic-e03-preserve-osm
  cancel-in-progress: false

jobs:
  preserve:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    env:
      SRC_REPO: Ventusltd/gridatlas
      SRC_RUN: '47186952678'
      SRC_ARTIFACT: '15766571142'
      SRC_COMMIT: 1eddb83f59b56aff62669e6b0e8aeb6e1bff5098
      EXPECTED_SOURCE_SHA256: 5eecad95c1fa2b5df5f776eafee23f0cd297f92c437bec393b883a7b397a9bfd
      EXPECTED_TOPOLOGY_SHA256: 50372236298639e6f1d35c9059c755716614b5ddcfa4bd177837514e689ed7d6
      DEST: SESSIONS/2026-12-02-SATNAV-ORIENT-20/FIXTURES/vedic-e02-osm-oxford
    steps:
      - name: Expiry guard
        run: |
          python3 -c "
          from datetime import datetime,timezone
          now=datetime.now(timezone.utc); stop=datetime(2026,12,17,19,0,tzinfo=timezone.utc)
          print('UTC',now.isoformat()); assert now<stop,'artifact retention window has passed'"
      - uses: actions/checkout@v4
        with:
          fetch-depth: 1
      - name: Download artifact
        env:
          GH_TOKEN: ${{ github.token }}
        run: |
          set -euo pipefail
          mkdir -p "$RUNNER_TEMP/a"
          gh api "repos/$SRC_REPO/actions/artifacts/$SRC_ARTIFACT" > "$RUNNER_TEMP/a/meta.json"
          cat "$RUNNER_TEMP/a/meta.json"
          gh api "repos/$SRC_REPO/actions/artifacts/$SRC_ARTIFACT/zip" > "$RUNNER_TEMP/a/artifact.zip"
          ls -l "$RUNNER_TEMP/a/artifact.zip"
      - name: Extract safely, hash and write receipt
        id: verify
        run: |
          python3 - <<'PY'
          import hashlib,json,os,zipfile,pathlib
          from datetime import datetime,timezone
          tmp=pathlib.Path(os.environ['RUNNER_TEMP'])/'a'
          dest=pathlib.Path(os.environ['DEST']); dest.mkdir(parents=True,exist_ok=True)
          zbytes=(tmp/'artifact.zip').read_bytes()
          (dest/'artifact.zip').write_bytes(zbytes)
          files=[]
          with zipfile.ZipFile(tmp/'artifact.zip') as z:
              for info in z.infolist():
                  n=info.filename
                  if info.is_dir(): continue
                  p=pathlib.PurePosixPath(n)
                  assert not p.is_absolute() and '..' not in p.parts, n
                  assert info.file_size<=8*1024*1024, n
                  data=z.read(info)
                  out=dest/'contents'/p; out.parent.mkdir(parents=True,exist_ok=True); out.write_bytes(data)
                  files.append({'path':str(p),'bytes':len(data),'sha256':hashlib.sha256(data).hexdigest()})
          digests={f['sha256'] for f in files}
          src_ok=os.environ['EXPECTED_SOURCE_SHA256'] in digests
          topo_ok=os.environ['EXPECTED_TOPOLOGY_SHA256'] in digests
          meta=json.loads((tmp/'meta.json').read_text())
          receipt={
            'purpose':'Independent preservation and rehash of VEDIC-E02 bounded OSM evidence',
            'preserved_utc':datetime.now(timezone.utc).isoformat(),
            'preserving_run':f"https://github.com/{os.environ['GITHUB_REPOSITORY']}/actions/runs/{os.environ['GITHUB_RUN_ID']}",
            'source_repository':os.environ['SRC_REPO'],'source_run':int(os.environ['SRC_RUN']),
            'source_artifact':int(os.environ['SRC_ARTIFACT']),'source_commit':os.environ['SRC_COMMIT'],
            'artifact_name':meta.get('name'),'artifact_size_reported':meta.get('size_in_bytes'),
            'artifact_digest_reported':meta.get('digest'),'artifact_expires_at':meta.get('expires_at'),
            'artifact_zip_bytes':len(zbytes),'artifact_zip_sha256':hashlib.sha256(zbytes).hexdigest(),
            'files':sorted(files,key=lambda f:f['path']),
            'expected_source_sha256':os.environ['EXPECTED_SOURCE_SHA256'],'source_sha256_found':src_ok,
            'expected_topology_sha256':os.environ['EXPECTED_TOPOLOGY_SHA256'],'topology_sha256_found':topo_ok,
            'licence':'OpenStreetMap contributors, ODbL 1.0, https://www.openstreetmap.org/copyright',
            'limitations':'Rehash is independent of the acquisition runner but uses GitHub-hosted storage of the same artifact; it does not prove the bytes match a future live OSM download.'}
          (dest/'RECEIPT.json').write_text(json.dumps(receipt,indent=2)+'\n')
          (dest/'SHA256SUMS').write_text(''.join(f"{f['sha256']}  contents/{f['path']}\n" for f in receipt['files'])+f"{receipt['artifact_zip_sha256']}  artifact.zip\n")
          print(json.dumps(receipt,indent=2))
          with open(os.environ['GITHUB_OUTPUT'],'a') as o: o.write(f"ok={'true' if src_ok and topo_ok else 'false'}\n")
          PY
      - name: Commit preserved bytes
        run: |
          set -euo pipefail
          git config user.name 'github-actions[bot]'
          git config user.email '41898+github-actions[bot]@users.noreply.github.com'
          git add "$DEST"
          git commit -m "VEDIC E03: preserve and rehash bounded OSM evidence artifact $SRC_ARTIFACT (verified=${{ steps.verify.outputs.ok }})"
          for i in 1 2 3; do git pull --rebase origin main && git push origin HEAD:main && exit 0; sleep 5; done
          exit 1
      - name: Fail if expected digests were not found
        if: steps.verify.outputs.ok != 'true'
        run: |
          echo 'Expected source or topology SHA-256 not found among preserved files; bytes committed for inspection.'
          exit 1