GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Electricity markets and data pipelines / pipelinenews / archive/202608261547-pipelinenews/.github/workflows

PipelineNews — PipelineNews Page and 5 more files

A web page that reads inputs for news, county and sort projects (units: MW), covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/.

581 lines of JavaScript and HTML and YAML from pipelinenews, in 6 files. Topic: Electricity markets and data pipelines. Section 980 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. PipelineNews Renewable Energy Planning Database (REPD) Monthly Check automation · pipelinenews / archive/202608261547-pipelinenews/.github/workflows/repd-monthly-check.yml lines 1–45
  2. PipelineNews Timestamp Release automation · pipelinenews / archive/202608261547-pipelinenews/.github/workflows/timestamp-release.yml lines 1–68
  3. PipelineNews — PipelineNews Page render · pipelinenews / archive/202608261547-pipelinenews/202608251651-PipelineNews/index.html lines 1–55
  4. PipelineNews — PipelineNews Page render · pipelinenews / archive/202608261547-pipelinenews/202608260159-pipelinenews/index.html lines 1–164
  5. PipelineNews News Regions V9 6 2 transform · pipelinenews / archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/core/news-regions-v9-6-2.js lines 1–87
  6. Newspaper V9 5 1 render · pipelinenews / archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/newspaper-v9-5-1.js lines 1–162

PipelineNews Renewable Energy Planning Database (REPD) Monthly Check

A configuration file covering the REPD register. Runs on push, on a schedule and by hand.

automationpipelinenews / archive/202608261547-pipelinenews/.github/workflows/repd-monthly-check.yml · lines 1–45 of 45 · version 2026-08-26 15:47 · Not reached from any entry point (candidate for review)

Why it exists in the grid workflow
Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register.
Inputs & outputs
In: JSON file current.json.
What it achieves
Named “REPD monthly source fetch”; runs `tests/run-current-timestamp-release.sh` and `tooling/check-repd-source-v2.mjs`.
Why it matters
No other file in the estate was found to import it.
Application
pipelinenews · archive/202608261547-pipelinenews/.github/workflows · configuration
Uses
none found
Used by
none found
Produces
none declared
Defines here
REPD monthly source fetch
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 archive/202608261547-pipelinenews/.github/workflows/repd-monthly-check.yml:1-45 · blob c0ccd387fb17e2d2e7900f6aa05f37aca1affa30 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: experimental · users: IPP_developer · canonical: unreached_review
name: REPD monthly source fetch

on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - "tooling/check-repd-source-v2.mjs"
      - "releases/current.json"
      - ".github/workflows/repd-monthly-check.yml"
  schedule:
    - cron: "41 6 2 * *"

permissions:
  contents: write

concurrency:
  group: pipelinenews-data-writers
  cancel-in-progress: false

jobs:
  fetch-and-diff:
    runs-on: ubuntu-latest
    timeout-minutes: 5
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: actions/setup-node@v4
        with:
          node-version: 22
      - name: Verify the admitted REPD spine and release
        run: |
          bash tests/run-current-timestamp-release.sh
      - name: Fetch current government CSV and diff Ref IDs
        run: node tooling/check-repd-source-v2.mjs
      - name: Commit source state and candidate delta
        run: |
          git config user.name "PipelineNews Bot"
          git config user.email "actions@users.noreply.github.com"
          git add data/repd-source/candidate.json state/repd-source.json
          git diff --cached --quiet && exit 0
          git commit -m "data: check quarterly REPD source"
          git pull --rebase origin main
          git push

PipelineNews Timestamp Release

A configuration file covering official collisions. Runs on push and by hand.

automationpipelinenews / archive/202608261547-pipelinenews/.github/workflows/timestamp-release.yml · lines 1–68 of 68 · version 2026-08-26 15:47 · Not reached from any entry point (candidate for review)

Why it exists in the grid workflow
Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
Inputs & outputs
In: JSON file official-source-v3-collisions.json.
What it achieves
Runs `tests/run-current-timestamp-release.sh` and `newsv7/tests/run_newsv7.sh`.
Why it matters
No other file in the estate was found to import it.
Application
pipelinenews · archive/202608261547-pipelinenews/.github/workflows · configuration
Uses
none found
Used by
none found
Produces
none declared
Defines here
Verify PipelineNews timestamp release
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 archive/202608261547-pipelinenews/.github/workflows/timestamp-release.yml:1-68 · blob b1180a83bc7453211ffe35e33b54b3538e995667 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: experimental · users: none · canonical: unreached_review
name: Verify PipelineNews timestamp release

on:
  workflow_dispatch:
  push:
    branches: [main]
    paths:
      - "*-PipelineNews/**"
      - "*-pipelinenews/**"
      - "discoveryv1/**"
      - "attributionv1/**"
      - "reports/**"
      - "attestations/**"
      - "README.md"
      - "CHANGELOG.md"
      - "RELEASE_ARCHITECTURE.md"
      - "release-naming.md"
      - "releases/**"
      - "objects/**"
      - "tooling/build-202608251701-release.mjs"
      - "tooling/build-202608251750-release.mjs"
      - "tooling/build-202608251929-release.mjs"
      - "tooling/templates/202608251929-app.js"
      - "tooling/templates/202608251929-app.css"
      - "tooling/build-current-discovery-release.mjs"
      - "tooling/build-evidence-release.mjs"
      - "tooling/poll-official-sources-v3.mjs"
      - "tests/check-current-timestamp-release.mjs"
      - "tests/check-202608251622-release.mjs"
      - "tests/check-202608251700-pipelinenews.mjs"
      - "tests/check-202608251701-pipelinenews.mjs"
      - "tests/check-202608251750-pipelinenews.mjs"
      - "tests/check-202608251929-pipelinenews.mjs"
      - "tests/browser-live-202608251929.mjs"
      - "tests/check-frozen-release-trees.sh"
      - "tests/check-official-source-v3.mjs"
      - "tests/fixtures/official-source-v3-collisions.json"
      - "tests/run-current-timestamp-release.sh"
      - ".github/workflows/timestamp-release.yml"

permissions:
  contents: read

jobs:
  verify:
    runs-on: ubuntu-latest
    timeout-minutes: 8
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Configure Node
        uses: actions/setup-node@v4
        with:
          node-version: "20"

      - name: Verify current timestamp candidate twice
        run: bash tests/run-current-timestamp-release.sh

      - name: Regress the frozen cumulative parent
        run: bash newsv7/tests/run_newsv7.sh

      - name: Require a clean deterministic checkout
        run: |
          git diff --exit-code
          test -z "$(git status --porcelain=v1 --untracked-files=all)"

PipelineNews — PipelineNews Page

A web page covering the Renewable Energy Planning Database (REPD) register, using SHA-256. Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/.

renderpipelinenews / archive/202608261547-pipelinenews/202608251651-PipelineNews/index.html · lines 1–55 of 55 · version 2026-08-25 16:51 · Entry point

What it does
It draws the REPD register. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register.
Inputs & outputs
In: JSON file 202608251651-PipelineNews.json. Out: web page.
Downstream impact
It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608251651-PipelineNews/.
What it achieves
Pipeline News official-first monitoring across the complete REPD project spine.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
pipelinenews · archive/202608261547-pipelinenews/202608251651-PipelineNews · page
Uses
Objects — Sha256 Style Sheet (stylesheet), PipelineNews — News v1 Page (link), PipelineNews — News v7 Page (link), Objects — Sha256 (script src)
Used by
none found
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 archive/202608261547-pipelinenews/202608251651-PipelineNews/index.html:1-55 · blob f724bce8cfba6d71bb12bf225f6a1ff111a7ba77 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!doctype html>
<html lang="en-GB">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Pipeline News official-first monitoring across the complete REPD project spine">
    <title>Pipeline News — 202608251651-PipelineNews</title>
    <link rel="stylesheet" href="../objects/css/sha256/5c196d2b307e0426447dc96f1762bc6e39de98f2a39ae8667265198f09d5166e.css">
  </head>
  <body>
    <main>
      <header>
        <p class="eyebrow">UK renewable-energy intelligence</p>
        <h1>Pipeline News</h1>
        <p id="releaseId" class="release-id">202608251651-PipelineNews</p>
        <p class="status">Full REPD spine · rate-aware official sources · noisy discovery retained</p>
      </header>
      <section aria-labelledby="coverageHeading">
        <p class="eyebrow">Complete pipeline</p>
        <h2 id="coverageHeading">Every admitted REPD project remains in scope</h2>
        <div class="grid">
          <div class="metric"><strong id="projects">—</strong><span>canonical projects</span></div>
          <div class="metric"><strong id="references">—</strong><span>planning references</span></div>
          <div class="metric"><strong id="fallback">—</strong><span>fallback-only projects</span></div>
        </div>
        <p>A persistent frontier polls up to <strong id="batch">—</strong> exact references sequentially, respects rate limits, and resumes unfinished work. It never reports an unpolled project as “no news”.</p>
      </section>
      <section aria-labelledby="proofHeading">
        <p class="eyebrow">Binding proof</p>
        <h2 id="proofHeading">Exact where safe; abstain where ambiguous</h2>
        <p><strong>Unique reference:</strong> <span id="match">—</span></p>
        <p><strong>Duplicate-reference regression:</strong> <span id="abstention">—</span></p>
        <p>REPD identity remains canonical. PlanIt and GOV.UK add discovery and corroboration. News never overwrites official facts.</p>
      </section>
      <section aria-labelledby="sourcesHeading">
        <p class="eyebrow">Credibility ladder</p>
        <h2 id="sourcesHeading">Government leads; publishers are credited; Google stays noisy</h2>
        <ol id="ladder"></ol>
        <p>Original articles remain outbound links to their publishers. Pipeline News stores no copied article body.</p>
      </section>
      <section aria-labelledby="missionHeading">
        <p class="eyebrow">Mission continuity</p>
        <h2 id="missionHeading">V1–V5 remain the baseline</h2>
        <p class="links"><a href="../newsv1/">NewsV1</a><a href="../newsv2/">NewsV2</a><a href="../newsv3/">NewsV3</a><a href="../newsv4/">NewsV4</a><a href="../newsv5/">NewsV5</a><a href="../newsv7/">Full NewsV7 interface</a><a href="../202608251636-PipelineNews/">Previous timestamp</a></p>
      </section>
      <section aria-labelledby="releaseHeading">
        <p class="eyebrow">Verifiable release</p>
        <h2 id="releaseHeading">Timestamped shell; shared immutable engines and data</h2>
        <p class="links"><a id="manifest" href="../releases/202608251651-PipelineNews.json">Release manifest</a><a id="contract" href="#">Frontier contract</a><a href="https://github.com/Ventusltd/pipelinenews/tree/main/202608251651-PipelineNews">View folder on GitHub</a></p>
        <p id="state" class="muted">Resolving content-addressed release objects…</p>
      </section>
    </main>
    <script type="module" src="../objects/js/sha256/9bce91d7bde247265bdf369416ff4771c4866d3369c22d3b3d9c96aef4a95272.mjs"></script>
  </body>
</html>

PipelineNews — PipelineNews Page

A web page that reads inputs for news, county and sort projects (units: MW), covering the Renewable Energy Planning Database (REPD) register, solar and battery storage (BESS). Published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/.

renderpipelinenews / archive/202608261547-pipelinenews/202608260159-pipelinenews/index.html · lines 1–164 of 164 · version 2026-08-26 01:59 · Entry point

What it does
It draws the REPD register, solar and battery storage (BESS). Uses libraries styles/v7.css?v=9.6.2, vendor/chart.umd.min.js. Side effects: changes the web page (DOM).
Why it exists in the grid workflow
Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: the REPD register, solar, battery storage (BESS).
Inputs & outputs
In: form fields (user input). Out: web page.
Downstream impact
It is itself an entry point, published at https://ventusltd.github.io/pipelinenews/archive/202608261547-pipelinenews/202608260159-pipelinenews/.
What it achieves
Its code works with 1 MW.
Why it matters
No other file in the estate was found to import it; it is an entry point.
Application
pipelinenews · archive/202608261547-pipelinenews/202608260159-pipelinenews · page
Uses
Mobile (stylesheet), V9 3 (stylesheet), V9 4 (stylesheet), V9 5 1 (stylesheet), V9 6 1 (stylesheet), UK Renewables Pipeline — V9 6 2 Page (link), UK Renewables Pipeline — V9 6 1 Page (link), UK Renewables Pipeline — V9 6 Page (link), and 14 more, styles/v7.css?v=9.6.2, vendor/chart.umd.min.js
Used by
none found
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 archive/202608261547-pipelinenews/202608260159-pipelinenews/index.html:1-164 · blob 6c0a9fe1136b3baf9fbdad323e3b51a8c0ca411b · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>GlobalGrid2050 | Pipeline News 202608260159</title>
  <link rel="stylesheet" href="styles/v7.css?v=9.6.2">
  <link rel="stylesheet" href="styles/mobile.css?v=9.6.2">
  <link rel="stylesheet" href="styles/v9-3.css?v=9.6.2">
  <link rel="stylesheet" href="styles/v9-4.css?v=9.6.2">
  <link rel="stylesheet" href="styles/v9-5-1.css?v=9.6.2">
  <link rel="stylesheet" href="styles/v9-6-1.css?v=9.6.2">
  <script src="vendor/chart.umd.min.js"></script>
</head>
<body>
  <aside class="sidebar">
    <div class="brand">
      <b>GLOBALGRID2050</b>
      <small>PIPELINE NEWS · 202608260159</small>
    </div>
    <nav class="nav">
      <a class="active" href="#">202608260159 VALIDATION PREVIEW</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6.2/">V9.6.2 FROZEN BASELINE</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6.1/">V9.6.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.6/">V9.6 DISCONTINUED</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5.1/">V9.5.1 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.5/">V9.5 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9.4/">V9.4 FROZEN APP</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v9/">V9.3.1 FROZEN APP</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/eee4cf7d854bf44235c249d337c2aad3916bcdc0/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.3 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/77085a5dc8a8ce42cd4de7dad927eaf9aaf785ee/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.2 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/59f74e319fbaad62abdb995107dba5759d7f3ca2/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.1 CHECKPOINT</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v8/">V8.1 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/v7/">V7 FALLBACK</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v6_live.html">V6</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v5_live.html">V5</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v4_live.html">V4</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v3_live_2026-08-22.html">V3</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard_v2_2026-08-22.html">V2</a>
      <a href="https://globalgrid2050.com/uk_renewables_pipeline/dashboard.html">V1 LEGACY</a>
      <a href="https://globalgrid2050.com/">DIRECTORY</a>
      <a href="https://globalgrid2050.com/repd_grid_atlasv8/">MAP ATLAS</a>
      <a href="#" id="export">EXPORT CSV</a>
    </nav>
  </aside>
  <main class="main">
    <div class="header">
      <h1>UK RENEWABLES PIPELINE NEWS 202608260159</h1>
      <div class="status">● 133 HEADLINES · 45 UK · 19 INTERNATIONAL · FULL ≥1 MW</div>
    </div>
    <div class="meta">
      <strong>202608260159 · EXACT V9.6.2 INTERFACE COPY · PREPUBLICATION</strong>
      <span>Canonical DESNZ REPD Q2 2026: 7,680 solar, BESS and wind records at ≥1 MW.</span>
      <span id="releaseMeta" class="release-meta">Loading canonical release contract…</span>
      <a href="https://www.gov.uk/government/publications/renewable-energy-planning-database-quarterly-extract" target="_blank" rel="noopener">Official REPD source</a>
    </div>

    <section class="newspaper">
      <div class="masthead">
        <h2>GLOBALGRID2050 <span>ENERGY DAILY</span></h2>
        <div class="strap">
          <span>UK requires canonical REPD binding · INTERNATIONAL requires explicit non-UK geography plus solar or battery context · international items never drive REPD project signals</span>
          <span id="newsMeta">loading daily edition…</span>
        </div>
      </div>
      <div class="news-tools" id="newsTools">
        <button class="active" data-news="ALL">ALL</button>
        <button data-news="UK">UK</button>
        <button data-news="INTERNATIONAL">INTERNATIONAL</button>
        <button data-news="US">US</button>
        <button data-news="EUROPE">EUROPE</button>
        <button data-news="SOLAR">SOLAR</button>
        <button data-news="BESS">BESS</button>
        <button data-news="CONSENT">CONSENT</button>
        <button data-news="CONSTRUCTION">CONSTRUCTION</button>
        <button data-news="OPERATIONAL">OPERATIONAL</button>
        <button data-news="FINANCE">FINANCE / M&amp;A</button>
        <input id="newsSearch" placeholder="SEARCH HEADLINES / PROJECT / OPERATOR">
      </div>
      <div class="paper">
        <div class="stories" id="stories">
          <div class="news-empty">Loading today’s major-project newspaper…</div>
        </div>
      </div>
    </section>

    <h2 class="section-title">REPD PIPELINE ANALYTICS</h2>
    <div class="gauges">
      <div class="card">
        <h3>FILTERED CAPACITY (MW)</h3>
        <div class="chart"><canvas id="g1"></canvas><div class="value" id="v1">0</div></div>
      </div>
      <div class="card">
        <h3>FILTERED PROJECTS (≥1MW)</h3>
        <div class="chart"><canvas id="g2"></canvas><div class="value" id="v2">0</div></div>
      </div>
      <div class="card">
        <h3>LARGEST SINGLE SITE (MW)</h3>
        <div class="chart"><canvas id="g3"></canvas><div class="value" id="v3">0</div></div>
      </div>
    </div>

    <div class="filters" id="tech">
      <button class="btn active" data-technology="all" aria-pressed="true">ALL TECH</button>
      <button class="btn" data-technology="solar" aria-pressed="false">SOLAR</button>
      <button class="btn" data-technology="bess" aria-pressed="false">BATTERY</button>
      <button class="btn" data-technology="wind_onshore" aria-pressed="false">ONSHORE</button>
      <button class="btn" data-technology="wind_offshore" aria-pressed="false">OFFSHORE</button>
    </div>
    <div class="filters" id="status">
      <button class="btn active" data-official-status="All" aria-pressed="true">ALL STATUS</button>
      <button class="btn" data-official-status="Operational" aria-pressed="false">OPERATIONAL</button>
      <button class="btn" data-official-status="Under Construction" aria-pressed="false">CONSTRUCTING</button>
      <button class="btn" data-official-status="Awaiting Construction" aria-pressed="false">AWAITING</button>
      <button class="btn" data-official-status="Application Submitted" aria-pressed="false">SUBMITTED</button>
    </div>
    <div class="filters">
      <select id="county"><option value="All">🌍 ALL COUNTIES</option></select>
      <select id="sortProjects" aria-label="Sort projects">
        <option value="capacity_desc">SORT: CAPACITY (DEFAULT)</option>
        <option value="updated_desc">SORT: REPD UPDATED — NEWEST</option>
        <option value="updated_asc">SORT: REPD UPDATED — OLDEST</option>
      </select>
      <input id="search" class="asset-search" placeholder="🔍 SEARCH PROJECT / REPD / GLOBALGRID / PLANNING..." autocomplete="off">
      <button class="btn clear-filters" id="clearFilters">CLEAR FILTERS</button>
      <button class="btn export-inline" id="exportInline">EXPORT FILTERED CSV</button>
      <span id="resultsMeta" class="results-meta">Loading all qualifying records…</span>
      <span id="exportMeta" class="export-meta">CSV contains the current filtered rows only</span>
    </div>
    <div class="meta">
      <strong>STATUS DISCIPLINE</strong>
      <span><b>DEFAULT:</b> every qualifying ≥1 MW record is loaded. Filters are user controls; they never redefine or truncate the pipeline.</span>
      <span><b>NEWS:</b> relevance scores are algorithmic screening only and never change an official REPD fact.</span>
      <span><b>ATLAS:</b> valid geometry resolves the exact REPD Ref. Missing geometry remains in search and CSV and is labelled NO MAP.</span>
    </div>
    <div class="tablewrap">
      <table>
        <thead>
          <tr>
            <th>SITE NAME</th>
            <th class="hide-mobile">COUNTY</th>
            <th class="hide-mobile">OPERATOR</th>
            <th>TECHNOLOGY</th>
            <th>OFFICIAL REPD STATUS</th>
            <th>OFFICIAL CAPACITY</th>
            <th class="hide-mobile">REPD REF</th>
            <th class="hide-mobile">GLOBALGRID REF</th>
            <th class="hide-mobile repd-updated-heading" id="repdUpdatedHeader" aria-sort="none">
              <button id="sortUpdated" type="button" aria-label="Sort by REPD updated date, newest first">
                REPD UPDATED <span id="updatedSortIndicator" aria-hidden="true">↕</span>
              </button>
            </th>
            <th>NEWS SIGNAL</th>
            <th>ACTIONS</th>
          </tr>
        </thead>
        <tbody id="tbody"></tbody>
      </table>
    </div>
  </main>
  <script type="module" src="scripts/app-v9-6-2.js?v=202608260159"></script>
  <script type="module" src="scripts/plugins/capacity-presentation-v9-3.js?v=202608260159"></script>
</body>
</html>

PipelineNews News Regions V9 6 2

A JavaScript module in the core folder that works with solar and battery storage (BESS). It classifies international v9 (`classifyInternationalV9_6_2`) and is built from the distinctive project tokens helper (`distinctiveProjectTokens`).

Set aside from the main view: 97% of its lines are the same as testcode/202609051152/pipeline/scripts/core/news-regions-v9-6-2.js (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 96% of lines shared with News Regions V9 6 2; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9688 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609051152/pipeline/scripts/core/news-regions-v9-6-2.js:1-87 0127ebdd379d54b7f87b781f496a28e3c3e65325
  • sha256 cf760b42674a2e0afbd481c72533047357ac3ff42f94cddebb6ececef6ac8456
  • target sha256 dd8a50414632200f9022bb19b934df50dab3785f1f88cfeadb133a4a207ccaa5
  • group of 4 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

transformpipelinenews / archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/core/news-regions-v9-6-2.js · lines 1–87 of 87 · version 2026-08-26 01:59 · Not reached from any entry point (candidate for review) · pattern distinctiveProjectTokens (shared by 4 files)

What it does
It calculates solar and battery storage (BESS). Defines distinctiveProjectTokens, ukEvidenceV9_6_2, technology, classifyInternationalV9_6_2, regionalCountsV9_6_2.
Why it exists in the grid workflow
Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: solar, battery storage (BESS).
Downstream impact
Used directly by 1 file: Sanitise News (pipelinenews).
What it achieves
Defines `distinctiveProjectTokens`, `ukEvidenceV9_6_2`, `technology` and 2 more.
Why it matters
Imported by Sanitise News.
Application
pipelinenews · archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/core · JavaScript module
Uses
Testcode — Pipeline (import)
Used by
imported by Sanitise News (import)
Produces
ukEvidenceV9_6_2, classifyInternationalV9_6_2, regionalCountsV9_6_2
Defines here
distinctiveProjectTokens, ukEvidenceV9_6_2, technology, classifyInternationalV9_6_2, regionalCountsV9_6_2
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/core/news-regions-v9-6-2.js:1-87 · blob b4c3454b6d6542ac604981f25947b72fb36dc59a · GitHub at these lines
State
achieves: name · context: readme_derived · stage: transform · effects: none found · domain stage: experimental · users: none · canonical: duplicate_candidate
import { normaliseProject } from "./utils.js";

const SOLAR = /\b(?:solar|photovoltaic(?:s)?|pv|agrivoltaic(?:s)?)\b/i;
const BESS = /\b(?:bess|battery|batteries|energy storage|grid storage)\b/i;

const UK = /\b(?:uk|u\.k\.|united kingdom|britain|british|england|english|scotland|scottish|wales|welsh|northern ireland|north yorkshire|lincolnshire|nottinghamshire|devon|cornish|cumbria|suffolk|kent|surrey|gloucestershire|oxfordshire|warwickshire|yorkshire|essex|norfolk|somerset|dorset|lancashire|derbyshire|leicestershire|cambridgeshire|bedfordshire|hertfordshire|buckinghamshire|worcestershire|s  … [line shortened here: 535 characters; full line on GitHub]

const US = /\b(?:us(?!\$)|u\.s\.(?!\$)|usa|u\.s\.a\.|united states|american|new jersey|virginia|california|arizona|texas|new york|florida|illinois|ohio|pennsylvania|colorado|nevada|oregon|washington state|massachusetts|connecticut|maryland|michigan|minnesota|wisconsin|georgia|north carolina|south carolina|tennessee|kentucky|indiana|iowa|kansas|missouri|oklahoma|new mexico|utah|idaho|montana|wyomin  … [line shortened here: 566 characters; full line on GitHub]

const EUROPE = /\b(?:europe|european union|eu|ireland|irish|germany|german|france|french|spain|spanish|italy|italian|netherlands|dutch|belgium|belgian|poland|polish|portugal|portuguese|greece|greek|denmark|danish|sweden|swedish|norway|norwegian|finland|finnish|austria|austrian|switzerland|swiss|czechia|czech|romania|romanian|bulgaria|bulgarian|hungary|hungarian|croatia|croatian|serbia|serbian|slov  … [line shortened here: 541 characters; full line on GitHub]

const OTHER = /\b(?:international|australia|australian|canada|india|china|chinese|south africa|new zealand|japan|japanese|brazil|brazilian|mexico|mexican|uae|united arab emirates|saudi arabia|taiwan|philippines|chile|argentina|africa|asia|latin america|middle east)\b/i;

const GENERIC_PROJECT = new Set([
  "and", "the", "farm", "solar", "battery", "bess", "storage", "energy", "park", "site",
  "road", "lane", "wind", "offshore", "onshore", "project", "phase", "extension", "facility",
  "system", "scheme", "development", "power", "limited", "ltd", "centre", "center",
  "grid", "services", "complex", "south", "north", "east", "west", "southern", "northern",
  "eastern", "western", "california", "virginia", "jersey", "australia", "germany", "france",
  "spain", "italy", "ireland", "romania", "greece", "chile", "japan",
]);

function distinctiveProjectTokens(item) {
  return normaliseProject(item.project || "")
    .split(" ")
    .filter((token) => token.length >= 5 && !GENERIC_PROJECT.has(token));
}

export function ukEvidenceV9_6_2(item) {
  if (item?.canonical_relevant === true) return "canonical REPD PRIMARY_MATCH";
  const headline = String(item?.headline || "");
  if (UK.test(headline)) return "explicit UK geography";
  const normalisedHeadline = normaliseProject(headline);
  const projectToken = distinctiveProjectTokens(item).find((token) => normalisedHeadline.includes(token));
  if (projectToken && String(item?.county || "").trim()) return `UK project token ${projectToken}`;
  return "";
}

function technology(headline) {
  const solar = SOLAR.test(headline);
  const bess = BESS.test(headline);
  if (solar && bess) return "SOLAR + BESS";
  if (solar) return "SOLAR";
  if (bess) return "BESS";
  return "";
}

export function classifyInternationalV9_6_2(item) {
  const headline = String(item?.headline || "");
  const classifiedTechnology = technology(headline);
  if (!classifiedTechnology || ukEvidenceV9_6_2(item)) return null;

  let region = "";
  let evidence = "";
  if (US.test(headline)) {
    region = "US";
    evidence = "explicit US geography";
  } else if (EUROPE.test(headline)) {
    region = "EUROPE";
    evidence = "explicit European geography";
  } else if (OTHER.test(headline)) {
    region = "INTERNATIONAL_OTHER";
    evidence = "explicit non-UK geography";
  }
  if (!region) return null;

  return Object.freeze({
    region,
    technology: classifiedTechnology,
    evidence,
    project_signal_eligible: false,
    canonical_identity: false,
  });
}

export function regionalCountsV9_6_2(items) {
  const counts = { international: 0, us: 0, europe: 0, other: 0 };
  for (const item of items || []) {
    const result = classifyInternationalV9_6_2(item);
    if (!result) continue;
    counts.international += 1;
    if (result.region === "US") counts.us += 1;
    else if (result.region === "EUROPE") counts.europe += 1;
    else counts.other += 1;
  }
  return Object.freeze(counts);
}

Newspaper V9 5 1

A JavaScript module in the plugins folder of PipelineNews that draws major project news, battery storage (BESS), the Renewable Energy Planning Database (REPD) register and solar.

Set aside from the main view: 98% of its lines are the same as testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-5-1.js (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 97% of lines shared with Newspaper V9 5 1; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9752 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609051152/pipeline/scripts/plugins/newspaper-v9-5-1.js:1-163 c990407d2fd47ccfd9b94ab7c34230dce6741007
  • sha256 ab2e2d891681e3f8c5bd86033c9443d3f9496893fbf593cb6abdaca5d3a750f5
  • target sha256 f0925133d5d29113b113d241ccee5869bf9484a7319050913d7cd6b9cec5cf86
  • group of 4 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

renderpipelinenews / archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/newspaper-v9-5-1.js · lines 1–162 of 162 · version 2026-08-26 01:59 · Not reached from any entry point (candidate for review) · pattern itemTechnology (shared by 7 files)

What it does
It draws major project news, battery storage (BESS), the REPD register and solar. Defines 14 functions or classes, including refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1. Side effects: changes the web page (DOM); makes network requests.
Why it exists in the grid workflow
Domain stage experimental (path word 'archive'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: battery storage (BESS), the REPD register, solar.
Inputs & outputs
In: JSON file major_project_news_v9_5_1.json.
Downstream impact
Used directly by 1 file: Projects V9 5 1 (pipelinenews).
What it achieves
It refreshes projects (`refreshProjects`), indexes news (`indexNewsItems`) and draws news v9 (`drawNewsV9_5_1`). Defines `refreshProjects`, `canonicalItem`, `indexNewsItems` and 11 more.
Why it matters
Imported by Projects V9 5 1.
Application
pipelinenews · archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins · JavaScript module
Uses
State (import), Testcode — Pipeline (import)
Used by
imported by Projects V9 5 1 (import)
Produces
signalForProjectV9_5_1, drawNewsV9_5_1, loadNewsV9_5_1, bindNewspaperV9_5_1
Defines here
refreshProjects, canonicalItem, indexNewsItems, signalLabel, signalForProjectV9_5_1, itemTechnology, newsMatches, drawNewsV9_5_1, validPayload, payloadTime, fetchPayload, renderNews, loadNewsV9_5_1, bindNewspaperV9_5_1
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 archive/202608261547-pipelinenews/202608260159-pipelinenews/scripts/plugins/newspaper-v9-5-1.js:1-162 · blob af7a3426bf99a9268bda6efe2f11d93be2120a16 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom, network · domain stage: experimental · users: none · canonical: duplicate_candidate
import { state } from "../core/state.js";
import { escapeHtml, isFinanceEvent, normaliseProject } from "../core/utils.js";

const NEWS_SOURCES = Object.freeze([
  ["Pinned local copy", "dist/major_project_news_v9_5_1.json"],
]);

let refreshProjects = () => {};
let newsIndex = new Map();

function canonicalItem(item) {
  return item
    && item.role === "PRIMARY_MATCH"
    && item.eligible_for_news_signal === true
    && String(item.repd_ref || "")
    && item.gg_project_id === `GG2050-REPD-${item.repd_ref}`;
}

function indexNewsItems(items) {
  newsIndex = new Map();
  for (const item of items.filter(canonicalItem)) {
    const key = String(item.repd_ref);
    const previous = newsIndex.get(key);
    const candidateDate = Date.parse(String(item.published || "")) || 0;
    const previousDate = previous ? Date.parse(String(previous.published || "")) || 0 : 0;
    if (!previous || Number(item.confidence || 0) > Number(previous.confidence || 0)
      || (Number(item.confidence || 0) === Number(previous.confidence || 0) && candidateDate > previousDate)) {
      newsIndex.set(key, item);
    }
  }
}

function signalLabel(item) {
  const event = String(item.event || "PROJECT UPDATE").toUpperCase();
  if (event === "CONSENT") return { label: "APPROVED*", cls: "approved" };
  if (event === "OPERATIONAL") return { label: "OPERATIONAL*", cls: "operational" };
  if (event === "CONSTRUCTION") return { label: "CONSTRUCTION*", cls: "construction" };
  if (["FINANCIAL CLOSE", "ACQUISITION"].includes(event)) {
    return { label: event === "ACQUISITION" ? "M&A*" : "FINANCED*", cls: "finance" };
  }
  return { label: `${event}*`.slice(0, 22), cls: "" };
}

export function signalForProjectV9_5_1(project) {
  const item = newsIndex.get(String(project.repd_ref));
  if (!item) return { label: "—", cls: "none", note: "no exact canonical PRIMARY_MATCH" };
  return {
    ...signalLabel(item),
    note: `canonical PRIMARY_MATCH ${Number(item.confidence || 0)}% · unverified event · ${item.published || "date unavailable"}`,
  };
}

function itemTechnology(item) {
  return String(item.canonical_technology || item.technology || "").toUpperCase();
}

function newsMatches(item) {
  const event = String(item.event || "").toUpperCase();
  const technology = itemTechnology(item);
  if (state.newsMode === "RELEVANT" && item.canonical_relevant !== true) return false;
  if (state.newsMode === "SOLAR" && technology !== "SOLAR") return false;
  if (state.newsMode === "BESS" && technology !== "BESS") return false;
  if (state.newsMode === "CONSENT" && event !== "CONSENT") return false;
  if (state.newsMode === "CONSTRUCTION" && event !== "CONSTRUCTION") return false;
  if (state.newsMode === "OPERATIONAL" && event !== "OPERATIONAL") return false;
  if (state.newsMode === "FINANCE" && !isFinanceEvent(event)) return false;
  if (state.newsQuery) {
    const haystack = normaliseProject([
      item.headline, item.canonical_project, item.project, item.operator, item.county,
      item.source, item.event, item.repd_ref, item.gg_project_id,
    ].join(" "));
    const tokens = normaliseProject(state.newsQuery).split(" ").filter(Boolean);
    if (!tokens.every((token) => haystack.includes(token))) return false;
  }
  return true;
}

export function drawNewsV9_5_1() {
  const stories = document.getElementById("stories");
  const rows = state.newsItems.filter(newsMatches);
  if (!rows.length) {
    stories.innerHTML = '<div class="news-empty">No headlines match this newspaper filter.</div>';
    return;
  }
  stories.innerHTML = rows.map((item) => {
    const technology = itemTechnology(item);
    const articleClass = technology === "BESS" ? "bess" : "solar";
    const project = item.canonical_project || item.project || "";
    const capacity = Number(item.canonical_capacity_mw ?? item.capacity_mw ?? 0);
    const quality = item.canonical_relevant === true
      ? `<span class="news-quality relevant">RELEVANT ${Number(item.confidence || 0)}%</span> · PRIMARY_MATCH · REPD ${escapeHtml(item.repd_ref)}`
      : '<span class="news-quality unverified">DISCOVERY ONLY</span> · no project signal';
    return `<a class="story ${articleClass}" href="${escapeHtml(item.url)}" target="_blank" rel="noopener"><div class="kicker">${escapeHtml(technology)} · ${escapeHtml(item.event || "PROJECT UPDATE")} · ${escapeHtml(item.published || "")}</div><h3>${escapeHtml(item.headline || project)}</h3><p><span class="project">${escapeHtml(project)}${capacity ? ` · ${capacity.toLocaleString("en-GB")} MW` : ""  … [line shortened here: 636 characters; full line on GitHub]
  }).join("");
}

function validPayload(payload) {
  return payload
    && payload.schema === "globalgrid2050.major-project-news.v9.5.1"
    && payload.release === "9.5.1"
    && Array.isArray(payload.all_items)
    && Array.isArray(payload.canonical_items)
    && payload.all_headline_count === payload.all_items.length
    && payload.relevant_headline_count === payload.canonical_items.length
    && payload.v9_4_baseline_headline_count === 125
    && payload.all_items.every((item) => typeof item.canonical_relevant === "boolean")
    && payload.canonical_items.every(canonicalItem)
    && payload.beacon_fen_contract?.repd_ref === "13599"
    && payload.beacon_fen_contract?.official_capacity_mw === 400;
}

function payloadTime(payload) {
  const timestamp = Date.parse(String(payload?.updated || ""));
  return Number.isFinite(timestamp) ? timestamp : 0;
}

async function fetchPayload(label, url) {
  const target = new URL(url, window.location.href);
  target.searchParams.set("v", Date.now());
  const response = await fetch(target, { cache: "no-store" });
  if (!response.ok) throw new Error(`${label} ${response.status}`);
  const data = await response.json();
  if (!validPayload(data)) throw new Error(`${label} invalid V9.5.1 payload`);
  return { label, data };
}

function renderNews(payload, label) {
  state.newsItems = payload.all_items;
  indexNewsItems(payload.canonical_items);
  document.getElementById("newsMeta").textContent = `${payload.relevant_headline_count} relevant / ${payload.all_headline_count} headlines · ${payload.v9_4_baseline_headline_count} V9.4 baseline retained · ${String(payload.updated || "").slice(0, 10)} · ${label}`;
  drawNewsV9_5_1();
  if (state.all.length) refreshProjects();
}

export async function loadNewsV9_5_1() {
  const settled = await Promise.allSettled(NEWS_SOURCES.map(([label, url]) => fetchPayload(label, url)));
  const good = settled.filter((result) => result.status === "fulfilled").map((result) => result.value);
  if (!good.length) {
    document.getElementById("stories").innerHTML = '<div class="news-empty">V9.5.1 newspaper unavailable. REPD analytics below remain live.</div>';
    document.getElementById("newsMeta").textContent = "newspaper unavailable";
    return;
  }
  good.sort((left, right) => payloadTime(right.data) - payloadTime(left.data)
    || right.data.all_items.length - left.data.all_items.length);
  renderNews(good[0].data, good[0].label);
}

export function bindNewspaperV9_5_1(onNewsLoaded) {
  refreshProjects = onNewsLoaded;
  document.querySelectorAll("#newsTools button").forEach((button) => {
    button.onclick = () => {
      document.querySelectorAll("#newsTools button").forEach((candidate) => candidate.classList.remove("active"));
      button.classList.add("active");
      state.newsMode = button.dataset.news;
      drawNewsV9_5_1();
    };
  });
  document.getElementById("newsSearch").oninput = (event) => {
    state.newsQuery = event.target.value.trim();
    drawNewsV9_5_1();
  };
}