In this section
- PipelineNews Sector Intelligence Candidate Workflow automation · pipelinenews / .github/workflows/202609010719-sector-intelligence-candidate.yml lines 443–678
- PipelineNews Map Corpus Contract Workflow automation · pipelinenews / .github/workflows/202609040044-map-corpus-contract.yml lines 1–50
- PipelineNews Pages Routing Candidate Workflow automation · pipelinenews / .github/workflows/202609040100-pages-routing-candidate.yml lines 1–50
- PipelineNews Atman V8 Architecture Report Workflow automation · pipelinenews / .github/workflows/atman-v8-architecture-report.yml lines 1–132
- PipelineNews BBC RSS Discovery Workflow automation · pipelinenews / .github/workflows/bbc-rss-discovery.yml lines 1–74
- Build PipelineNews V8 Candidate Workflow automation · pipelinenews / .github/workflows/build-pipelinenews-v8-candidate.yml lines 1–66
PipelineNews Sector Intelligence Candidate Workflow
A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand.
automationpipelinenews / .github/workflows/202609010719-sector-intelligence-candidate.yml · lines 443–678 of 678 · version 2026-09-01 07:19 (continued from section 1853) · Entry point
- What it does
- It builds and publishes its content. Side effects: reads or writes files; makes network requests; starts processes; uses storage (browser storage, DuckDB or Parquet).
- Why it exists in the grid workflow
- Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs
- In: JSON file 202609010719-sector-intelligence-contract.json; JSON file 202609010719-sector-intelligence-rss.json; JSON file 202609010719-sector-intelligence-candidate.json; JSON file 202608271524-fd2212a8c76d-v8-fast-news.json; JSON file gated-a.json; JSON file gated-b.json; JSON file ledger-a.json; JSON file ledger-b.json. Out: JSON file source-scope-proof.json; JSON file sector-overlay-proof.json; GitHub Pages deployment; commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Publishes to GitHub Pages.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- pipelinenews · .github/workflows · workflow
- Uses
- JavaScript Sector Ledger Relevance Gate (workflow run)
- 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 .github/workflows/202609010719-sector-intelligence-candidate.yml:443-678 · blob 11a2b45229e59a34430d64fed3f38ed019c5a548 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: filesystem, network, process, storage · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
generation,
source_commit: process.env.GITHUB_SHA,
candidate_files: expected.length,
inherited_release_files: inherited.length,
artifact_hashes_verified: true,
exclusive_copies: true,
deployment: "not-authorised",
status: "PASS",
}, null, 2)}\n`);
NODE
- name: Install pinned browser verifier
shell: bash
run: |
set -euo pipefail
npm install --no-save --ignore-scripts "playwright@$PLAYWRIGHT_VERSION"
npx playwright install --with-deps chromium
- name: Serve candidate and verify zero-startup sector requests
shell: bash
run: |
set -euo pipefail
python3 -m http.server 4173 --bind 127.0.0.1 --directory "$RUNNER_TEMP/sector-overlay" > "$RUNNER_TEMP/sector-http.log" 2>&1 &
server_pid=$!
trap 'kill "$server_pid" 2>/dev/null || true' EXIT
for attempt in $(seq 1 30); do
if curl --fail --silent "http://127.0.0.1:4173/releases/$SECTOR_GENERATION-v8-fast-candidate.html" > /dev/null; then break; fi
sleep 1
done
node "build/javascript/$SECTOR_GENERATION-verify-v8-fast-browser.mjs" \
--mode browser \
--url "http://127.0.0.1:4173/releases/$SECTOR_GENERATION-v8-fast-candidate.html" \
| tee "$RUNNER_TEMP/browser-verification.json"
- name: Upload browser evidence
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: pipelinenews-sector-browser-${{ github.run_id }}
path: |
${{ runner.temp }}/browser-verification.json
${{ runner.temp }}/sector-overlay-proof.json
if-no-files-found: error
retention-days: 30
overwrite: true
commit-candidate:
name: Commit immutable quarantine closure
needs: [build, browser]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
steps:
- name: Checkout exact source with publication credential
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
ref: ${{ github.sha }}
fetch-depth: 0
persist-credentials: true
- name: Configure Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
with:
node-version: "22"
- name: Download verified candidate
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
with:
name: pipelinenews-sector-candidate-${{ github.run_id }}
path: candidate
- name: Revalidate source head and copy exact output closure
shell: bash
run: |
set -euo pipefail
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
git fetch origin main
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
node --input-type=module <<'NODE'
import assert from "node:assert/strict";
import { createHash } from "node:crypto";
import { constants } from "node:fs";
import { copyFile, lstat, mkdir, readFile, readdir } from "node:fs/promises";
import path from "node:path";
const generation = process.env.SECTOR_GENERATION;
const candidateRoot = path.resolve("candidate");
const manifestRelative = `build/${generation}-v8-fast-site-manifest.json`;
const manifest = JSON.parse(await readFile(path.join(candidateRoot, manifestRelative)));
assert.equal(manifest.schema, "pipelinenews.v8.fast-site-candidate.v1");
assert.equal(manifest.generation, generation);
assert.equal(manifest.source_commit, process.env.GITHUB_SHA);
assert.equal(manifest.github_run_id, process.env.GITHUB_RUN_ID);
assert.equal(manifest.deployment, "not-authorised");
const paths = [...manifest.outputs.map(({ path: relative }) => relative), manifestRelative].sort();
assert.equal(paths.length, 11);
assert.equal(new Set(paths).size, paths.length);
assert.equal(paths.filter((relative) => relative.endsWith(`${generation}-part-000.parquet`)).length, 3);
assert.ok(manifest.outputs.every(({ path: relative }) => relative.startsWith("releases/")
&& path.posix.basename(relative).startsWith(generation)));
async function walk(directory, base = directory) {
const files = [];
for (const entry of await readdir(directory, { withFileTypes: true })) {
const filename = path.join(directory, entry.name);
const metadata = await lstat(filename);
assert.equal(metadata.isSymbolicLink(), false, `artifact symlink rejected: ${filename}`);
if (metadata.isDirectory()) files.push(...await walk(filename, base));
else {
assert.equal(metadata.isFile(), true, `artifact entry is not a regular file: ${filename}`);
files.push(path.relative(base, filename).split(path.sep).join("/"));
}
}
return files.sort();
}
assert.deepEqual(await walk(candidateRoot), paths, "artifact contains undeclared or missing files");
const records = new Map(manifest.outputs.map((record) => [record.path, record]));
assert.equal(records.size, manifest.outputs.length);
for (const relative of paths) {
assert.ok(relative.includes(generation));
assert.ok(!relative.startsWith("atman/") && !relative.endsWith("current.json"));
assert.equal(path.posix.normalize(relative), relative);
const source = path.resolve(candidateRoot, relative);
const destination = path.resolve(relative);
assert.ok(source.startsWith(`${candidateRoot}${path.sep}`));
assert.ok(destination.startsWith(`${process.cwd()}${path.sep}`));
const sourceMetadata = await lstat(source);
assert.ok(sourceMetadata.isFile() && !sourceMetadata.isSymbolicLink());
const bytes = await readFile(source);
if (relative !== manifestRelative) {
const record = records.get(relative);
assert.equal(bytes.length, record.bytes, `artifact byte mismatch: ${relative}`);
assert.equal(createHash("sha256").update(bytes).digest("hex"), record.sha256,
`artifact digest mismatch: ${relative}`);
}
await mkdir(path.dirname(destination), { recursive: true });
await copyFile(source, destination, constants.COPYFILE_EXCL);
assert.deepEqual(await readFile(destination), bytes, `exclusive publication copy changed: ${relative}`);
}
NODE
git diff --quiet "$GITHUB_SHA" -- \
.github/workflows/pages.yml \
.github/workflows/authorise-v8-fast-pages.yml \
atman/202608262014-build-pages.py \
releases/current.json \
archive/202608261547-pipelinenews/releases/current.json
probe_root="$RUNNER_TEMP/sector-pages-root"
git worktree add --detach "$probe_root" "$GITHUB_SHA"
if test -d "$probe_root/build/authorisations"; then
mv "$probe_root/build/authorisations" "$RUNNER_TEMP/superseded-authorisations"
fi
SECTOR_PAGES_PROBE_ROOT="$probe_root" node --input-type=module <<'NODE'
import { constants } from "node:fs";
import { copyFile, mkdir, readFile } from "node:fs/promises";
import path from "node:path";
const generation = process.env.SECTOR_GENERATION;
const manifestPath = `build/${generation}-v8-fast-site-manifest.json`;
const manifest = JSON.parse(await readFile(manifestPath));
for (const relative of [manifestPath, ...manifest.outputs.map(({ path: value }) => value)]) {
const destination = path.resolve(process.env.SECTOR_PAGES_PROBE_ROOT, relative);
await mkdir(path.dirname(destination), { recursive: true });
await copyFile(path.resolve(relative), destination, constants.COPYFILE_EXCL);
}
NODE
PYTHONDONTWRITEBYTECODE=1 python3 - "$probe_root" "$RUNNER_TEMP/sector-pages-stage" <<'PY' | tee "$RUNNER_TEMP/sector-pages-quarantine-proof.json"
import importlib.util
import json
import os
import pathlib
import sys
real_root = pathlib.Path(".").resolve()
probe_root = pathlib.Path(sys.argv[1]).resolve()
stage_root = pathlib.Path(sys.argv[2]).resolve()
module_path = real_root / "atman/202608262014-build-pages.py"
spec = importlib.util.spec_from_file_location("pipelinenews_pages_gate_202608262014", module_path)
assert spec and spec.loader
pages = importlib.util.module_from_spec(spec)
spec.loader.exec_module(pages)
release = pages.validate_release(real_root, "latest", replay_sources=False)
excluded, authorised = pages.candidate_publication_boundary(probe_root, release)
generation = os.environ["SECTOR_GENERATION"]
manifest = json.loads(
(real_root / f"build/{generation}-v8-fast-site-manifest.json").read_text(encoding="utf-8")
)
expected = {record["path"] for record in manifest["outputs"]}
assert manifest["deployment"] == "not-authorised"
assert len(expected) == len(manifest["outputs"]) == 10
assert all(path.startswith("releases/") for path in expected)
assert expected <= excluded
assert authorised == set()
pages.copy_release_tree(real_root / "releases", stage_root / "releases", excluded)
assert all(not (stage_root / relative).exists() for relative in expected)
print(json.dumps({
"schema": "pipelinenews.sector-intelligence-pages-quarantine-proof.v3",
"generation": generation,
"candidate_outputs": len(expected),
"excluded_outputs": len(expected & excluded),
"authorised_outputs": len(authorised),
"unchanged_pages_parser": str(module_path.relative_to(real_root)),
"superseded_authorisations_omitted_from_isolated_probe": True,
"status": "PASS",
"deployment": "not-authorised",
}, sort_keys=True))
PY
git status --short
- name: Commit candidate without deploying
shell: bash
run: |
set -euo pipefail
node --input-type=module <<'NODE' > "$RUNNER_TEMP/output-paths.txt"
import { readFile } from "node:fs/promises";
const generation = process.env.SECTOR_GENERATION;
const manifestPath = `build/${generation}-v8-fast-site-manifest.json`;
const manifest = JSON.parse(await readFile(manifestPath));
for (const relative of [...manifest.outputs.map(({ path }) => path), manifestPath].sort()) console.log(relative);
NODE
while IFS= read -r relative; do git add -- "$relative"; done < "$RUNNER_TEMP/output-paths.txt"
git diff --cached --name-only | LC_ALL=C sort > "$RUNNER_TEMP/staged.txt"
diff -u "$RUNNER_TEMP/output-paths.txt" "$RUNNER_TEMP/staged.txt"
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -m "v8: build sector intelligence candidate $SECTOR_GENERATION"
git push origin HEAD:main
- name: Prove no deployment surface changed
shell: bash
run: |
set -euo pipefail
git diff --quiet HEAD^ HEAD -- \
.github/workflows/pages.yml \
.github/workflows/authorise-v8-fast-pages.yml \
releases/current.json \
archive/202608261547-pipelinenews/releases/current.json \
releases/202608270055-v8-fast-candidate.html
test "$(git show HEAD:build/$SECTOR_GENERATION-v8-fast-site-manifest.json | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>console.log(JSON.parse(s).deployment))')" = "not-authorised"PipelineNews Map Corpus Contract Workflow
A GitHub Actions workflow. Runs on push, on pull requests and by hand.
automationpipelinenews / .github/workflows/202609040044-map-corpus-contract.yml · lines 1–50 of 50 · version 2026-09-04 00:44 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Pipeline News complete MAP corpus contract”; runs Release Builder (`tools/intelligence/release_builder.py`) and Proof (`tools/intelligence/cartridges/map-corpus-contract/proof.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- pipelinenews · .github/workflows · workflow
- Uses
- Release Builder (workflow run), Proof (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Pipeline News complete MAP corpus contract
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 .github/workflows/202609040044-map-corpus-contract.yml:1-50 · blob 2ba2ece9a6a1f8cc69f1ce498704bd2696d5e98e · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Pipeline News complete MAP corpus contract
on:
workflow_dispatch:
push:
branches: [main]
paths:
- '.github/workflows/202609040044-map-corpus-contract.yml'
- 'releases/202609040044-pipelinenews/**'
- 'tools/intelligence/cartridges/map-corpus-contract/**'
pull_request:
paths:
- '.github/workflows/202609040044-map-corpus-contract.yml'
- 'releases/202609040044-pipelinenews/**'
- 'tools/intelligence/cartridges/map-corpus-contract/**'
permissions:
contents: read
concurrency:
group: pipelinenews-map-corpus-${{ github.ref }}
cancel-in-progress: true
jobs:
contract:
name: Prove all Pipeline MAP senders against pinned Grid receiver bytes
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout exact Pipeline candidate
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
persist-credentials: false
- name: Checkout the pinned Grid receiver candidate read-only
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
repository: Ventusltd/gridatlas
ref: b73247803377233069acfeff415ecad4e8391cb2
path: .receiver/gridatlas
persist-credentials: false
- name: Verify immutable release closure
run: python3 tools/intelligence/release_builder.py --check 202609040044-pipelinenews
- name: Verify all 8,756 source rows and the receiver API
run: >-
node tools/intelligence/cartridges/map-corpus-contract/proof.mjs
202609040044-pipelinenews
--gridatlas .receiver/gridatlasPipelineNews Pages Routing Candidate Workflow
A GitHub Actions workflow. Runs on push, on pull requests and by hand.
automationpipelinenews / .github/workflows/202609040100-pages-routing-candidate.yml · lines 1–50 of 50 · version 2026-09-04 01:00 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage field_execution (path word 'routing'): on-road and off-road field navigation to the farm gate (access gates, terrain slope, ground-bearing limits, electrical hazards), as Ventus Ltd describes its SatNav work.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Pipeline News Pages routing candidate”; runs Run Pages Candidate Gate (`tools/publication/run_pages_candidate_gate.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- pipelinenews · .github/workflows · workflow
- Uses
- Run Pages Candidate Gate (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Pipeline News Pages routing candidate
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 .github/workflows/202609040100-pages-routing-candidate.yml:1-50 · blob 382602535832879b6dad01eb0d6db650be96e753 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: field_execution · users: EPC_contractor, landowner_planner · canonical: production_core
name: Pipeline News Pages routing candidate
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '.github/workflows/pages.yml'
- '.github/workflows/202609040100-pages-routing-candidate.yml'
- 'tools/publication/**'
- 'tools/intelligence/release_builder.py'
pull_request:
paths:
- '.github/workflows/pages.yml'
- '.github/workflows/202609040100-pages-routing-candidate.yml'
- 'tools/publication/**'
- 'tools/intelligence/release_builder.py'
permissions:
contents: read
concurrency:
group: pipelinenews-pages-routing-candidate-${{ github.ref }}
cancel-in-progress: true
jobs:
candidate:
name: Prove release routing without deployment authority
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout candidate branch
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
persist-credentials: false
- name: Run serial candidate gate
run: >-
python3 tools/publication/run_pages_candidate_gate.py
--receipt reports/pages-routing-candidate.json
- name: Retain candidate receipt
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: pages-routing-candidate-${{ github.sha }}
path: reports/pages-routing-candidate.json
if-no-files-found: warn
retention-days: 30PipelineNews Atman V8 Architecture Report Workflow
A GitHub Actions workflow that builds and publishes the site using data from the GlobalGrid2050 repository. Runs by hand.
automationpipelinenews / .github/workflows/atman-v8-architecture-report.yml · lines 1–132 of 132 · Entry point
- What it does
- It builds and publishes its content. Side effects: makes network requests; starts processes.
- Why it exists in the grid workflow
- Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. README: "`atman/` — audits and architecture reports"
- Inputs & outputs
- In: data source: globalgrid2050 data; JSON file performance-audit.json. 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 Generate PipelineNews V8 Atman (`atman/202608262042-generate-pipelinenews-v8-atman.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- pipelinenews · .github/workflows · workflow
- Uses
- Generate PipelineNews V8 Atman (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Generate PipelineNews V8 Atman Report
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 .github/workflows/atman-v8-architecture-report.yml:1-132 · blob 56fc9fccb7e7d6b7f5268dae89e6946f1ce63d68 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: network, process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Generate PipelineNews V8 Atman Report
on:
workflow_dispatch:
inputs:
audit_run_id:
description: Passed performance-audit workflow run ID
required: true
default: "33010182783"
type: string
permissions:
contents: write
actions: read
concurrency:
group: pipelinenews-v8-atman-report
cancel-in-progress: false
jobs:
report:
name: Generate evidence-bound architecture report
runs-on: ubuntu-latest
timeout-minutes: 15
env:
AUDIT_RUN_ID: ${{ inputs.audit_run_id }}
ATLAS_COMMIT: c36e41a689a62bdfa13b4258f3cbc48301854108
steps:
- name: Checkout exact dispatch commit
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
fetch-depth: 0
- name: Configure Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Download passed performance evidence
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: |
set -euo pipefail
[[ "$AUDIT_RUN_ID" =~ ^[0-9]+$ ]]
mkdir -p audit-input atman-input
artifact_name="pipelinenews-performance-audit-${AUDIT_RUN_ID}"
gh run download "$AUDIT_RUN_ID" \
--repo "$GITHUB_REPOSITORY" \
--name "$artifact_name" \
--dir audit-input
mapfile -t audit_files < <(find audit-input -type f -name 'performance-audit.json' -print)
test "${#audit_files[@]}" -eq 1
echo "AUDIT_JSON=${audit_files[0]}" >> "$GITHUB_ENV"
gh api "repos/${GITHUB_REPOSITORY}/actions/runs/${AUDIT_RUN_ID}/artifacts" \
--jq '.artifacts[] | select(.name == "'"$artifact_name"'") | [.id, .digest, .expired] | @tsv' \
| tee atman-input/audit-artifact-provenance.tsv
test -s atman-input/audit-artifact-provenance.tsv
! grep -q $'\ttrue$' atman-input/audit-artifact-provenance.tsv
- name: Fetch pinned trusted Atlas V8 implementation
shell: bash
run: |
set -euo pipefail
base="https://raw.githubusercontent.com/Ventusltd/globalgrid2050/${ATLAS_COMMIT}/repd_grid_atlasv8"
curl --fail --silent --show-error --location --retry 3 \
"$base/ventus-corev8engine.js" \
--output atman-input/atlas-v8-engine.js
curl --fail --silent --show-error --location --retry 3 \
"$base/index.html" \
--output atman-input/atlas-v8-index.html
test -s atman-input/atlas-v8-engine.js
test -s atman-input/atlas-v8-index.html
sha256sum atman-input/atlas-v8-engine.js atman-input/atlas-v8-index.html \
| tee atman-input/atlas-source-digests.txt
- name: Generate timestamped Atman report
shell: bash
run: |
set -euo pipefail
report_stamp="$(date -u +%Y%m%d%H%M)"
echo "REPORT_STAMP=$report_stamp" >> "$GITHUB_ENV"
REPORT_STAMP="$report_stamp" \
AUDIT_JSON="$AUDIT_JSON" \
AUDIT_RUN_ID="$AUDIT_RUN_ID" \
node atman/202608262042-generate-pipelinenews-v8-atman.mjs
report_path="$(tr -d '\r\n' < atman-report-path.txt)"
[[ "$report_path" =~ ^atman/[0-9]{12}-PIPELINENEWS-V8-ARCHITECTURE-ATMAN\.md$ ]]
test -s "$report_path"
echo "REPORT_PATH=$report_path" >> "$GITHUB_ENV"
- name: Publish report in workflow summary
shell: bash
run: cat "$REPORT_PATH" >> "$GITHUB_STEP_SUMMARY"
- name: Upload report evidence
uses: actions/upload-artifact@v4
with:
name: pipelinenews-v8-atman-${{ env.REPORT_STAMP }}
path: |
${{ env.REPORT_PATH }}
atman-input/audit-artifact-provenance.tsv
atman-input/atlas-source-digests.txt
if-no-files-found: error
retention-days: 90
- name: Commit only the generated report
shell: bash
run: |
set -euo pipefail
[[ "$REPORT_PATH" =~ ^atman/[0-9]{12}-PIPELINENEWS-V8-ARCHITECTURE-ATMAN\.md$ ]]
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch origin main
git checkout -B atman-report origin/main
test -s "$REPORT_PATH"
git add -- "$REPORT_PATH"
mapfile -t staged < <(git diff --cached --name-only)
test "${#staged[@]}" -eq 1
test "${staged[0]}" = "$REPORT_PATH"
git commit -m "atman: publish PipelineNews V8 architecture report ${REPORT_STAMP}"
git push origin HEAD:main
- name: Record committed report
shell: bash
run: |
{
echo
echo "Committed report: \`$REPORT_PATH\`"
echo "Commit: \`$(git rev-parse HEAD)\`"
} >> "$GITHUB_STEP_SUMMARY"PipelineNews BBC RSS Discovery Workflow
A GitHub Actions workflow that builds and publishes the site. Runs on a schedule and by hand.
automationpipelinenews / .github/workflows/bbc-rss-discovery.yml · lines 1–74 of 74 · Entry point
- What it does
- It builds and publishes its content. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage upstream_foresight (repository name word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs
- In: JSON file bbc-rss.json. 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 Reconcile Provisional (`tools/intelligence/reconcile-provisional.mjs`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- pipelinenews · .github/workflows · workflow
- Uses
- Test BBC RSS (workflow run), Provisional Identity Test (workflow run), Register Quarter Test (workflow run), Project Binder Test (workflow run), Datacentre Binder Test (workflow run), Reconcile Provisional (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Refresh BBC RSS discovery
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 .github/workflows/bbc-rss-discovery.yml:1-74 · blob d214ed9d67483475d797b9a386352a8aa0db267c · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Refresh BBC RSS discovery
on:
schedule:
- cron: '17 */2 * * *'
workflow_dispatch:
inputs:
publish:
description: Publish the receipt and reconcile the provisional register on main
type: boolean
default: false
permissions:
contents: read
concurrency:
group: bbc-rss-discovery-${{ github.ref }}
cancel-in-progress: false
jobs:
collect:
runs-on: ubuntu-24.04
timeout-minutes: 12
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Test RSS boundaries
run: python -B -m unittest discover -s news/tests -p 'test_*.py'
- name: Collect BBC RSS
run: >-
python -B -m news.bbc.collector
--previous discovery/products/bbc-rss.json
--output "$RUNNER_TEMP/bbc-rss.json"
- name: Retain collection receipt
if: always()
uses: actions/upload-artifact@v4
with:
name: bbc-rss-health
path: ${{ runner.temp }}/bbc-rss.json
retention-days: 7
publish:
needs: collect
if: github.ref == 'refs/heads/main' && (github.event_name == 'schedule' || inputs.publish)
permissions:
contents: write
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: bbc-rss-health
path: ${{ runner.temp }}/bbc-rss
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Reconcile provisional IDs against newly imported quarterly projects
run: |
node --test cartridges/provisional-identity.test.mjs tools/intelligence/register-quarter.test.mjs discovery/tests/project-binder.test.mjs discovery/tests/datacentre-binder.test.mjs
node tools/intelligence/reconcile-provisional.mjs
- name: Commit collected metadata and source health
run: |
cp "$RUNNER_TEMP/bbc-rss/bbc-rss.json" discovery/products/bbc-rss.json
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add -- discovery/products/bbc-rss.json data/provisional/project-register.json
if ! git diff --cached --quiet; then
git commit -m 'Refresh BBC RSS metadata and source health [skip ci]'
git pull --rebase origin main
git push origin HEAD:main
fiBuild PipelineNews V8 Candidate Workflow
A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand.
automationpipelinenews / .github/workflows/build-pipelinenews-v8-candidate.yml · lines 1–66 of 66 · Entry point
- What it does
- It builds and publishes its content. Side effects: changes the web page (DOM); starts processes.
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'pipelinenews'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs
- 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/javascript/202608262230-build-v8-candidate.mjs` and `build/javascript/202608262230-verify-v8-candidate.mjs`.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- pipelinenews · .github/workflows · workflow
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Build PipelineNews V8 Candidate
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- pipelinenews@45c944c8640a9d7ae65edb51d66032ba204f3f46 .github/workflows/build-pipelinenews-v8-candidate.yml:1-66 · blob 81aedc9cb4e64f9855195f6908e7ac3346ad04a9 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom, process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Build PipelineNews V8 Candidate
on:
workflow_dispatch:
push:
branches: [main]
paths:
- ".github/workflows/build-pipelinenews-v8-candidate.yml"
permissions:
contents: write
concurrency:
group: build-pipelinenews-v8-candidate
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Set immutable stamp
run: echo "BUILD_STAMP=$(date -u +%Y%m%d%H%M)" >> "$GITHUB_ENV"
- name: Build bounded candidate
run: node build/javascript/202608262230-build-v8-candidate.mjs
- name: Static gates
run: |
set -euo pipefail
node --check "releases/javascript/${BUILD_STAMP}-projects-v8-windowed.js"
node --check "releases/javascript/${BUILD_STAMP}-app-v8-candidate.js"
! grep -q "body.innerHTML = filtered.map" "releases/javascript/${BUILD_STAMP}-projects-v8-windowed.js"
- name: Install browser verifier
run: |
npm install --no-save --no-package-lock playwright@1.55.0
npx playwright install --with-deps chromium
- name: Verify cold mobile candidate
run: |
python3 -m http.server 4173 >/tmp/pipelinenews-v8-http.log 2>&1 &
server_pid=$!
trap 'kill "$server_pid"' EXIT
node build/javascript/202608262230-verify-v8-candidate.mjs | tee "build/${BUILD_STAMP}-v8-browser-proof.json"
- name: Upload candidate
uses: actions/upload-artifact@v4
with:
name: pipelinenews-v8-candidate-${{ env.BUILD_STAMP }}
path: |
releases/${{ env.BUILD_STAMP }}-v8-candidate.html
releases/javascript/${{ env.BUILD_STAMP }}-projects-v8-windowed.js
releases/javascript/${{ env.BUILD_STAMP }}-app-v8-candidate.js
build/${{ env.BUILD_STAMP }}-v8-candidate-manifest.json
build/${{ env.BUILD_STAMP }}-v8-browser-proof.json
- name: Commit green candidate only
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 "releases/${BUILD_STAMP}-v8-candidate.html" "releases/javascript/${BUILD_STAMP}-projects-v8-windowed.js" "releases/javascript/${BUILD_STAMP}-app-v8-candidate.js" "build/${BUILD_STAMP}-v8-candidate-manifest.json" "build/${BUILD_STAMP}-v8-browser-proof.json"
git commit -m "v8: publish bounded candidate ${BUILD_STAMP}"
git pull --rebase origin main
git push origin HEAD:main