In this section
- PipelineNews Atlas V8 Deep Link Workflow automation · pipelinenews / .github/workflows/202608271329-atlas-v8-deep-link.yml lines 1–426
- PipelineNews Audit Atlas V8 Deep Link Quarantine Workflow automation · pipelinenews / .github/workflows/202608271329-audit-atlas-v8-deep-link-quarantine.yml lines 1–115
PipelineNews Atlas V8 Deep Link Workflow
A GitHub Actions workflow that builds and publishes the site. Runs on push and by hand.
automationpipelinenews / .github/workflows/202608271329-atlas-v8-deep-link.yml · lines 1–426 of 426 · version 2026-08-27 13:29 · 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 upstream_foresight (path word 'atlas'): 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 current.json; JSON file candidate.json; JSON file scope-proof.json; JSON file 202608270844-v8-fast-site-manifest.json; JSON file 202608270844-v8-fast-registry.json; JSON file 202608270055-v8-fast-site-manifest.json; JSON file source-atman-proof.json; JSON file compiler-pass-a.json. Out: 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
- Named “Build PipelineNews Atlas V8 Deep-Link Cartridge”; 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
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Build PipelineNews Atlas V8 Deep-Link Cartridge
- 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/202608271329-atlas-v8-deep-link.yml:1-426 · blob 1b1a3d31c155dcca7c14870030b7a285ff7f1f7f · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: filesystem, network, process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Build PipelineNews Atlas V8 Deep-Link Cartridge
on:
workflow_dispatch:
push:
branches: [main]
paths:
- ".github/workflows/202608271329-atlas-v8-deep-link.yml"
- "ui/cartridges/202608271329-atlas-v8-deep-link.mjs"
- "index/202608271329-compile-v8-atlas-deep-link.mjs"
- "build/javascript/202608271329-verify-v8-fast-contract.mjs"
- "build/javascript/202608271329-verify-v8-fast-browser.mjs"
- "atman/202608271329-compare-atlas-v8-deep-links.mjs"
permissions:
contents: read
concurrency:
group: build-pipelinenews-atlas-v8-deep-link-202608271329
cancel-in-progress: false
env:
ATLAS_GENERATION: "202608271329"
ATLAS_PARENT_GENERATION: "202608270844"
ATLAS_SOURCE_PARENT: "270f069182d272f85575fda1a3906764a8603080"
ATLAS_SOURCE: "799bb304d38765aa1f9b176dc46525c30acaf9cc"
ATLAS_ROLLBACK_GENERATION: "202608270055"
ATLAS_WORK_ROOT: "work/202608271329-atlas-v8-deep-link"
jobs:
verify:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout exact source commit
uses: actions/checkout@v5
with:
ref: ${{ env.ATLAS_SOURCE }}
fetch-depth: 0
persist-credentials: false
- name: Configure Node
uses: actions/setup-node@v5
with:
node-version: "22"
- name: Prove progressive source lineage and quarantine scope
shell: bash
run: |
set -euo pipefail
test "$(git rev-parse HEAD)" = "$ATLAS_SOURCE"
test "$GITHUB_REF" = "refs/heads/main"
test "$(git rev-parse "$ATLAS_SOURCE^")" = "$ATLAS_SOURCE_PARENT"
git cat-file -e "$GITHUB_SHA^{commit}" 2>/dev/null || git fetch --no-tags origin "$GITHUB_SHA"
test "$(git rev-parse "$GITHUB_SHA^")" = "$ATLAS_SOURCE"
test "$(git diff --name-only "$ATLAS_SOURCE" "$GITHUB_SHA")" = ".github/workflows/202608271329-atlas-v8-deep-link.yml"
mkdir -p "$ATLAS_WORK_ROOT/evidence"
git show -s --format='%H%n%P%n%T%n%ct' "$ATLAS_SOURCE" > "$ATLAS_WORK_ROOT/evidence/source-record.txt"
git show -s --format='%H%n%P%n%T%n%ct' "$GITHUB_SHA" > "$ATLAS_WORK_ROOT/evidence/workflow-recovery-record.txt"
git diff --name-only "$ATLAS_SOURCE_PARENT" "$ATLAS_SOURCE" | LC_ALL=C sort > "$ATLAS_WORK_ROOT/evidence/source-paths.txt"
node --input-type=module <<'NODE'
import assert from "node:assert/strict";
import { readFile, writeFile } from "node:fs/promises";
const generation = process.env.ATLAS_GENERATION;
const actual = (await readFile(`${process.env.ATLAS_WORK_ROOT}/evidence/source-paths.txt`, "utf8"))
.trim().split("\n").filter(Boolean);
const expected = [
`.github/workflows/${generation}-atlas-v8-deep-link.yml`,
`atman/${generation}-compare-atlas-v8-deep-links.mjs`,
`build/javascript/${generation}-verify-v8-fast-browser.mjs`,
`build/javascript/${generation}-verify-v8-fast-contract.mjs`,
`index/${generation}-compile-v8-atlas-deep-link.mjs`,
`ui/cartridges/${generation}-atlas-v8-deep-link.mjs`,
].sort();
assert.deepEqual(actual, expected, "source closure differs from the six declared timestamped files");
assert.ok(actual.every((relative) => relative.includes(generation)));
assert.ok(actual.every((relative) => !relative.startsWith("data/")), "quarantined cartridge entered the Pages data tree");
for (const forbidden of [
".github/workflows/pages.yml",
".github/workflows/authorise-v8-fast-pages.yml",
"releases/current.json",
"releases/candidate.json",
]) assert.ok(!actual.includes(forbidden), `protected path changed: ${forbidden}`);
await writeFile(
`${process.env.ATLAS_WORK_ROOT}/evidence/scope-proof.json`,
`${JSON.stringify({
schema: "pipelinenews.atlas-v8-deep-link-source-scope-proof.v1",
generation,
source_commit: process.env.ATLAS_SOURCE,
source_parent: process.env.ATLAS_SOURCE_PARENT,
workflow_recovery_commit: process.env.GITHUB_SHA,
changed_paths: actual,
data_tree_changed: false,
pages_workflow_changed: false,
deployment_authorised: false,
}, null, 2)}\n`,
);
NODE
git diff --quiet "$ATLAS_SOURCE_PARENT" HEAD -- "build/202608270844-v8-fast-site-manifest.json" "releases/202608270844-v8-fast-candidate.html" "releases/javascript/202608270844-v8-fast-runtime.js" "releases/data/202608270844-v8-fast-registry.json" "build/202608270055-v8-fast-site-manifest.json" "releases/202608270055-v8-fast-candidate.html" "archive/202608261547-pipelinenews/releases/cur … [line shortened here: 446 characters; full line on GitHub]
- name: Reject an existing immutable generation
shell: bash
run: |
set -euo pipefail
test ! -e "build/$ATLAS_GENERATION-v8-fast-site-manifest.json"
test ! -e "releases/$ATLAS_GENERATION-v8-fast-candidate.html"
test ! -e "releases/javascript/$ATLAS_GENERATION-v8-fast-runtime.js"
test ! -e "releases/javascript/$ATLAS_GENERATION-atlas-v8-deep-link-cartridge.js"
test ! -e "releases/data/$ATLAS_GENERATION-v8-fast-registry.json"
- name: Syntax-check source scripts
shell: bash
run: |
set -euo pipefail
node --check "ui/cartridges/$ATLAS_GENERATION-atlas-v8-deep-link.mjs"
node --check "index/$ATLAS_GENERATION-compile-v8-atlas-deep-link.mjs"
node --check "atman/$ATLAS_GENERATION-compare-atlas-v8-deep-links.mjs"
node --check "build/javascript/$ATLAS_GENERATION-verify-v8-fast-contract.mjs"
node --check "build/javascript/$ATLAS_GENERATION-verify-v8-fast-browser.mjs"
! grep -R "SHA256_PENDING" "ui/cartridges/$ATLAS_GENERATION-atlas-v8-deep-link.mjs" "index/$ATLAS_GENERATION-compile-v8-atlas-deep-link.mjs" "atman/$ATLAS_GENERATION-compare-atlas-v8-deep-links.mjs" "build/javascript/$ATLAS_GENERATION-verify-v8-fast-contract.mjs"
- name: Compare all 7,680 source links with trusted V9.6.2
shell: bash
run: |
set -euo pipefail
node "atman/$ATLAS_GENERATION-compare-atlas-v8-deep-links.mjs" | tee "$ATLAS_WORK_ROOT/evidence/source-atman-proof.json"
- name: Compile two independent immutable candidates
shell: bash
run: |
set -euo pipefail
SOURCE_COMMIT="$ATLAS_SOURCE" GITHUB_RUN_ID="$GITHUB_RUN_ID" node "index/$ATLAS_GENERATION-compile-v8-atlas-deep-link.mjs" --out-root "$ATLAS_WORK_ROOT/pass-a" | tee "$ATLAS_WORK_ROOT/evidence/compiler-pass-a.json"
SOURCE_COMMIT="$ATLAS_SOURCE" GITHUB_RUN_ID="$GITHUB_RUN_ID" node "index/$ATLAS_GENERATION-compile-v8-atlas-deep-link.mjs" --out-root "$ATLAS_WORK_ROOT/pass-b" | tee "$ATLAS_WORK_ROOT/evidence/compiler-pass-b.json"
- name: Prove deterministic bytes and materialise the candidate
shell: bash
run: |
set -euo pipefail
diff --recursive --brief "$ATLAS_WORK_ROOT/pass-a" "$ATLAS_WORK_ROOT/pass-b"
(
cd "$ATLAS_WORK_ROOT/pass-a"
find . -type f -print0 | LC_ALL=C sort -z | xargs -0 sha256sum
) > "$ATLAS_WORK_ROOT/evidence/pass-a-sha256.txt"
(
cd "$ATLAS_WORK_ROOT/pass-b"
find . -type f -print0 | LC_ALL=C sort -z | xargs -0 sha256sum
) > "$ATLAS_WORK_ROOT/evidence/pass-b-sha256.txt"
diff --unified "$ATLAS_WORK_ROOT/evidence/pass-a-sha256.txt" "$ATLAS_WORK_ROOT/evidence/pass-b-sha256.txt"
node --input-type=module <<'NODE'
import assert from "node:assert/strict";
import { constants } from "node:fs";
import { copyFile, mkdir, readFile, readdir, writeFile } from "node:fs/promises";
import path from "node:path";
const work = process.env.ATLAS_WORK_ROOT;
const generation = process.env.ATLAS_GENERATION;
const passA = path.resolve(work, "pass-a");
const manifestRelative = `build/${generation}-v8-fast-site-manifest.json`;
const manifest = JSON.parse(await readFile(path.join(passA, manifestRelative)));
assert.equal(manifest.source_commit, process.env.ATLAS_SOURCE);
assert.equal(manifest.source_parent_commit, process.env.ATLAS_SOURCE_PARENT);
assert.equal(String(manifest.github_run_id), process.env.GITHUB_RUN_ID);
assert.equal(manifest.deployment, "not-authorised");
const expected = [manifestRelative, ...manifest.outputs.map((record) => record.path)].sort();
assert.equal(expected.length, 5);
async function walk(directory, base = directory) {
const files = [];
for (const entry of await readdir(directory, { withFileTypes: true })) {
const filename = path.join(directory, entry.name);
if (entry.isDirectory()) files.push(...await walk(filename, base));
else files.push(path.relative(base, filename).split(path.sep).join("/"));
}
return files.sort();
}
assert.deepEqual(await walk(passA), expected);
for (const relative of expected) {
const target = path.resolve(relative);
assert.ok(target.startsWith(`${process.cwd()}${path.sep}`));
await mkdir(path.dirname(target), { recursive: true });
await copyFile(path.join(passA, relative), target, constants.COPYFILE_EXCL);
}
await writeFile(
`${work}/evidence/determinism-proof.json`,
`${JSON.stringify({
schema: "pipelinenews.atlas-v8-deep-link-determinism-proof.v1",
generation,
source_commit: process.env.ATLAS_SOURCE,
byte_identical_passes: true,
files: expected,
}, null, 2)}\n`,
);
NODE
- name: Verify the compiled contract and full V9.6.2 parity
shell: bash
run: |
set -euo pipefail
node "build/javascript/$ATLAS_GENERATION-verify-v8-fast-contract.mjs" --root . --generation "$ATLAS_GENERATION" --source-manifest "build/$ATLAS_GENERATION-v8-fast-site-manifest.json" | tee "$ATLAS_WORK_ROOT/evidence/contract-proof.json"
node "atman/$ATLAS_GENERATION-compare-atlas-v8-deep-links.mjs" --adapter "releases/javascript/$ATLAS_GENERATION-atlas-v8-deep-link-cartridge.js" | tee "$ATLAS_WORK_ROOT/evidence/compiled-atman-proof.json"
- name: Prove the cartridge and candidate cannot enter Pages
shell: bash
run: |
set -euo pipefail
python3 - <<'PY' | tee "$ATLAS_WORK_ROOT/evidence/pages-boundary-proof.json"
import importlib.util
import json
import os
import subprocess
import tempfile
from pathlib import Path
root = Path.cwd().resolve()
generation = os.environ["ATLAS_GENERATION"]
module_path = root / "atman/202608262014-build-pages.py"
spec = importlib.util.spec_from_file_location("pipelinenews_pages_gate", module_path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
manifest_path = root / "build" / f"{generation}-v8-fast-site-manifest.json"
candidate = json.loads(manifest_path.read_text())
expected = {record["path"] for record in candidate["outputs"]}
module.require(candidate["schema"] == module.FAST_CANDIDATE_SCHEMA, "candidate schema changed")
module.require(candidate["generation"] == generation, "candidate generation changed")
module.require(candidate["source_commit"] == os.environ["ATLAS_SOURCE"], "candidate source binding changed")
module.require(candidate["deployment"] == "not-authorised", "candidate deployment state changed")
module.require(len(expected) == 4, "candidate output closure changed")
for record in candidate["outputs"]:
relative = module.normalise_candidate_output_path(record["path"], "13:29 candidate output")
module.require(Path(relative).name.startswith(generation), f"output generation changed: {relative}")
module.require_no_symlink_components(root, relative, "13:29 candidate output path")
module.verify_record(root, record, "13:29 candidate output")
authorisation_path = root / "build/authorisations" / f"{generation}-v8-fast-pages-authorisation.json"
module.require(not authorisation_path.exists() and not authorisation_path.is_symlink(), "Pages authorisation already exists")
governed_generation, _, release_manifest = module.select_release(root, "latest")
governed = {
"releases/current.json",
"releases/candidate.json",
f"releases/{governed_generation}-index.html",
}
governed.update(record["path"] for record in release_manifest["outputs"])
governed.update(record["path"] for record in release_manifest["inputs"] if record["path"].startswith("releases/"))
module.require(expected.isdisjoint(governed), "candidate overlaps the governed release")
committed = set(subprocess.run(
["git", "ls-tree", "-r", "--name-only", os.environ["GITHUB_SHA"]],
cwd=root, check=True, capture_output=True, text=True,
).stdout.splitlines())
module.require(({manifest_path.relative_to(root).as_posix()} | expected).isdisjoint(committed), "generated closure already exists in workflow recovery commit")
workflow_source = subprocess.run(
["git", "show", f"{os.environ['GITHUB_SHA']}:.github/workflows/{generation}-atlas-v8-deep-link.yml"],
cwd=root, check=True, capture_output=True, text=True,
).stdout
for forbidden in (
"actions/" + "upload-pages-artifact@",
"actions/" + "deploy-pages@",
"pages" + ": write",
"id-token" + ": write",
"/actions/workflows/" + "pages.yml/dispatches",
):
module.require(forbidden not in workflow_source, f"deployment capability entered workflow: {forbidden}")
pages_source = module_path.read_text()
module.require('copy_tree(root / "data", site / "data")' in pages_source, "Pages data boundary changed")
module.require('forbidden_roots = ["ui", "index", "atman", "archive"]' in pages_source, "Pages source exclusion changed")
module.require(not any(path.name.startswith(generation) for path in (root / "data").rglob("*")), "13:29 source entered published data tree")
with tempfile.TemporaryDirectory(prefix="atlas-v8-deep-link-pages-") as temporary:
probe = Path(temporary)
staged_releases = probe / "releases"
module.copy_tree(root / module.ARCHIVE / "releases", staged_releases)
module.copy_release_tree(root / "releases", staged_releases, expected)
for relative in expected:
module.require(not (probe / relative).exists(), f"candidate leaked into quarantine probe: {relative}")
module.require(
(probe / "releases/current.json").read_bytes()
== (root / module.ARCHIVE / "releases/current.json").read_bytes(),
"stable pointer changed",
)
print(json.dumps({
"schema": "pipelinenews.atlas-v8-deep-link-pages-boundary-proof.v1",
"generation": generation,
"deployment": candidate["deployment"],
"excluded_outputs": sorted(expected),
"authorised_outputs": [],
"authorisation_path_absent": True,
"governed_release_disjoint": True,
"source_cartridge_published": False,
"data_tree_changed": False,
"pages_artifact_created": False,
"stable_route_changed": False,
"globalgrid_catalogue_changed": False,
"status": "PASS",
}, indent=2))
PY
- name: Install pinned browser verifier
shell: bash
run: |
set -euo pipefail
npm install --no-save --no-package-lock playwright@1.55.0
npx playwright install --with-deps chromium
- name: Browser-proof desktop and mobile Atlas handoff
shell: bash
env:
FAST_SITE_URL: http://127.0.0.1:4173/releases/202608271329-v8-fast-candidate.html
run: |
set -euo pipefail
python3 -m http.server 4173 --bind 127.0.0.1 --directory . > "$RUNNER_TEMP/202608271329-atlas-http.log" 2>&1 &
server_pid="$!"
trap 'kill "$server_pid" 2>/dev/null || true' EXIT
for attempt in {1..20}; do
if curl --fail --silent --show-error "$FAST_SITE_URL" >/dev/null; then break; fi
sleep 1
done
curl --fail --silent --show-error "$FAST_SITE_URL" >/dev/null
node "build/javascript/$ATLAS_GENERATION-verify-v8-fast-browser.mjs" | tee "$ATLAS_WORK_ROOT/evidence/browser-proof.json"
- name: Upload immutable closure
uses: actions/upload-artifact@v4
with:
name: pipelinenews-atlas-v8-deep-link-closure-202608271329-${{ github.run_id }}
path: ${{ env.ATLAS_WORK_ROOT }}/pass-a
if-no-files-found: error
retention-days: 30
- name: Upload verification evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: pipelinenews-atlas-v8-deep-link-evidence-202608271329-${{ github.run_id }}
path: ${{ env.ATLAS_WORK_ROOT }}/evidence
if-no-files-found: error
retention-days: 30
commit:
if: github.ref == 'refs/heads/main'
needs: verify
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
steps:
- name: Checkout exact verified source
uses: actions/checkout@v5
with:
ref: ${{ github.sha }}
fetch-depth: 0
- name: Configure Node
uses: actions/setup-node@v5
with:
node-version: "22"
- name: Download verified immutable closure
uses: actions/download-artifact@v4
with:
name: pipelinenews-atlas-v8-deep-link-closure-202608271329-${{ github.run_id }}
path: ${{ env.ATLAS_WORK_ROOT }}/verified-closure
- name: Reverify and stage only the declared closure
shell: bash
run: |
set -euo pipefail
git fetch --no-tags origin refs/heads/main
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
test "$(git rev-parse HEAD^)" = "$ATLAS_SOURCE"
test "$(git rev-parse "$ATLAS_SOURCE^")" = "$ATLAS_SOURCE_PARENT"
test "$(git rev-parse FETCH_HEAD)" = "$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, mkdir, readFile, readdir } from "node:fs/promises";
import { spawnSync } from "node:child_process";
import path from "node:path";
const generation = process.env.ATLAS_GENERATION;
const closure = path.resolve(process.env.ATLAS_WORK_ROOT, "verified-closure");
const manifestRelative = `build/${generation}-v8-fast-site-manifest.json`;
const manifest = JSON.parse(await readFile(path.join(closure, manifestRelative)));
assert.equal(manifest.generation, generation);
assert.equal(manifest.source_commit, process.env.ATLAS_SOURCE);
assert.equal(manifest.source_parent_commit, process.env.ATLAS_SOURCE_PARENT);
assert.equal(String(manifest.github_run_id), process.env.GITHUB_RUN_ID);
assert.equal(manifest.deployment, "not-authorised");
const expected = [manifestRelative, ...manifest.outputs.map((record) => record.path)].sort();
assert.equal(expected.length, 5);
async function walk(directory, base = directory) {
const files = [];
for (const entry of await readdir(directory, { withFileTypes: true })) {
const filename = path.join(directory, entry.name);
if (entry.isDirectory()) files.push(...await walk(filename, base));
else files.push(path.relative(base, filename).split(path.sep).join("/"));
}
return files.sort();
}
assert.deepEqual(await walk(closure), expected, "downloaded artifact has undeclared files");
const records = new Map(manifest.outputs.map((record) => [record.path, record]));
for (const relative of expected) {
const source = path.join(closure, relative);
const bytes = await readFile(source);
if (relative !== manifestRelative) {
const record = records.get(relative);
assert.equal(bytes.length, record.bytes);
assert.equal(createHash("sha256").update(bytes).digest("hex"), record.sha256);
}
const target = path.resolve(relative);
assert.ok(target.startsWith(`${process.cwd()}${path.sep}`));
await mkdir(path.dirname(target), { recursive: true });
await copyFile(source, target, constants.COPYFILE_EXCL);
}
const add = spawnSync("git", ["add", "--", ...expected], { encoding: "utf8" });
assert.equal(add.status, 0, add.stderr || add.stdout);
const diff = spawnSync("git", ["diff", "--cached", "--name-only", "-z"], { encoding: "buffer" });
assert.equal(diff.status, 0, diff.stderr.toString());
const staged = diff.stdout.toString("utf8").split("\0").filter(Boolean).sort();
assert.deepEqual(staged, expected);
const status = spawnSync("git", ["diff", "--cached", "--name-status"], { encoding: "utf8" });
assert.equal(status.status, 0, status.stderr);
assert.ok(status.stdout.trim().split("\n").every((line) => line.startsWith("A\t")));
NODE
- name: Commit the green quarantined successor
shell: bash
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -m "v8: build Atlas V8 deep-link candidate $ATLAS_GENERATION"
git push origin HEAD:mainPipelineNews Audit Atlas V8 Deep Link Quarantine Workflow
A GitHub Actions workflow. Runs on push and by hand.
automationpipelinenews / .github/workflows/202608271329-audit-atlas-v8-deep-link-quarantine.yml · lines 1–115 of 115 · version 2026-08-27 13:29 · 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 (path word 'atlas'): 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 202608271329-v8-fast-site-manifest.json; JSON file 202608271329-v8-fast-registry.json; JSON file production-pages-audit.json.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- No statement of purpose was found in the file, a README line naming it, or its name.
- 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
- Audit PipelineNews Atlas V8 Deep-Link Quarantine
- 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/202608271329-audit-atlas-v8-deep-link-quarantine.yml:1-115 · blob 4318a1acd28876fdcdf0c231553a1e00fac1a324 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Audit PipelineNews Atlas V8 Deep-Link Quarantine
on:
workflow_dispatch:
push:
branches: [main]
paths:
- ".github/workflows/202608271329-audit-atlas-v8-deep-link-quarantine.yml"
- "atman/202608271329-audit-atlas-v8-deep-link-quarantine.py"
permissions:
contents: read
concurrency:
group: audit-pipelinenews-atlas-v8-deep-link-quarantine-202608271329
cancel-in-progress: false
env:
ATLAS_GENERATION: "202608271329"
ATLAS_OUTPUT_COMMIT: "e269aa0d67f8d39304938dc42584f2b6dd3dee9e"
ATLAS_SOURCE_COMMIT: "799bb304d38765aa1f9b176dc46525c30acaf9cc"
ATLAS_RECOVERY_COMMIT: "63158a90d9cef956091038f9d4d88f5b122f3dc0"
ATLAS_WORK_ROOT: "work/202608271329-production-pages-audit"
jobs:
audit:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout exact audit commit
uses: actions/checkout@v5
with:
ref: ${{ github.sha }}
fetch-depth: 0
persist-credentials: false
- name: Configure Node
uses: actions/setup-node@v5
with:
node-version: "22"
- name: Prove the audit envelope
shell: bash
run: |
set -euo pipefail
test "$GITHUB_REF" = "refs/heads/main"
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
read -r -a audit_parents <<< "$(git show -s --format=%P HEAD)"
test "${#audit_parents[@]}" = "1"
test "$(git rev-parse HEAD^)" = "$ATLAS_OUTPUT_COMMIT"
test "$(git rev-parse "$ATLAS_OUTPUT_COMMIT^")" = "$ATLAS_RECOVERY_COMMIT"
git merge-base --is-ancestor "$ATLAS_SOURCE_COMMIT" "$ATLAS_OUTPUT_COMMIT"
git fetch --no-tags origin refs/heads/main
test "$(git rev-parse FETCH_HEAD)" = "$GITHUB_SHA"
expected_audit_paths=(
".github/workflows/202608271329-audit-atlas-v8-deep-link-quarantine.yml"
"atman/202608271329-audit-atlas-v8-deep-link-quarantine.py"
)
mapfile -t actual_audit_paths < <(
git diff --name-only "$ATLAS_OUTPUT_COMMIT" "$GITHUB_SHA" | LC_ALL=C sort
)
test "${#actual_audit_paths[@]}" = "${#expected_audit_paths[@]}"
for index in "${!expected_audit_paths[@]}"; do
test "${actual_audit_paths[$index]}" = "${expected_audit_paths[$index]}"
done
git diff --quiet "$ATLAS_OUTPUT_COMMIT" "$GITHUB_SHA" -- releases data archive build ui index
expected_output_paths=(
"build/202608271329-v8-fast-site-manifest.json"
"releases/202608271329-v8-fast-candidate.html"
"releases/data/202608271329-v8-fast-registry.json"
"releases/javascript/202608271329-atlas-v8-deep-link-cartridge.js"
"releases/javascript/202608271329-v8-fast-runtime.js"
)
mapfile -t actual_output_paths < <(
git diff-tree --no-commit-id --name-only -r "$ATLAS_OUTPUT_COMMIT" | LC_ALL=C sort
)
test "${#actual_output_paths[@]}" = "${#expected_output_paths[@]}"
for index in "${!expected_output_paths[@]}"; do
test "${actual_output_paths[$index]}" = "${expected_output_paths[$index]}"
done
test ! -e "build/authorisations/$ATLAS_GENERATION-v8-fast-pages-authorisation.json"
mkdir -p "$ATLAS_WORK_ROOT"
- name: Exercise the real production classifier and staging path
shell: bash
run: |
set -euo pipefail
python3 "atman/$ATLAS_GENERATION-audit-atlas-v8-deep-link-quarantine.py" \
--root . \
--generation "$ATLAS_GENERATION" \
--output-commit "$ATLAS_OUTPUT_COMMIT" \
| tee "$ATLAS_WORK_ROOT/production-pages-audit.json"
- name: Confirm the audit restored repository state
if: always()
shell: bash
run: |
set -euo pipefail
test -f build/authorisations/202608270055-v8-fast-pages-authorisation.json
test ! -e "build/authorisations/$ATLAS_GENERATION-v8-fast-pages-authorisation.json"
git diff --quiet
git diff --cached --quiet
- name: Upload production-gate evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: pipelinenews-atlas-v8-deep-link-pages-audit-202608271329-${{ github.run_id }}
path: ${{ env.ATLAS_WORK_ROOT }}
if-no-files-found: error
retention-days: 30