In this section
- Atlas Pointer Deep Link Successor automation · pipelinenews / .github/workflow-archive/20260830-email-storm/202608291504-atlas-pointer-deep-link-successor.yml lines 660–845
- Repair Pages Historical Source Attestation automation · pipelinenews / .github/workflow-archive/20260830-email-storm/202608301150-repair-pages-historical-source-attestation.yml lines 1–156
- Repair Pages Historical Source Attestation V2 automation · pipelinenews / .github/workflow-archive/20260830-email-storm/202608301153-repair-pages-historical-source-attestation-v2.yml lines 1–75
- Relax Atlas Link Ledger Counts automation · pipelinenews / .github/workflow-archive/20260830-email-storm/202608301205-relax-atlas-link-ledger-counts.yml lines 1–80
- Dispatch Pages Gate Repair automation · pipelinenews / .github/workflow-archive/20260830-email-storm/202608301208-dispatch-pages-gate-repair.yml lines 1–31
Atlas Pointer Deep Link Successor
A configuration file in the workflow archive folder of PipelineNews that fetches invalid GridAtlas receiver and fast site from GitHub API. Runs on push, on a schedule and by hand.
automationpipelinenews / .github/workflow-archive/20260830-email-storm/202608291504-atlas-pointer-deep-link-successor.yml · lines 660–845 of 845 · version 2026-08-29 15:04 (continued from section 1837) · Not reached from any entry point (candidate for review)
- What it does
- It fetches invalid GridAtlas receiver and fast site. Side effects: reads or writes files; makes network requests; starts processes.
- 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: data source: GitHub API; JSON file current-v3.json; JSON file live-set.json; JSON file 202608291504-atlas-pointer-deep-link-successor.json; JSON file invalid-gridatlas-receiver.json; JSON file 202608282200-v8-fast-site-manifest.json; JSON file 202608291504-complete-equivalence.json; JSON file release-manifest.json.
- What it achieves
- Named “PipelineNews Atlas pointer timestamp-folder successor”; runs Resolve GridAtlas Pointer (`atman/202608291504-resolve-gridatlas-pointer.mjs`), Compile Atlas Pointer Deep Link (`index/202608291504-compile-atlas-pointer-deep-link.mjs`) and `atman/202608291504-public-browser-readback.mjs`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- pipelinenews · .github/workflow-archive/20260830-email-storm · configuration
- Uses
- Resolve GridAtlas Pointer (workflow run), Compile Atlas Pointer Deep Link (workflow run), Public Browser Readback (workflow run), Compare Incumbent Successor (workflow run), Verify Complete Equivalence (workflow run), Build Live Pointer (workflow run), Wake Up Ledger (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/workflow-archive/20260830-email-storm/202608291504-atlas-pointer-deep-link-successor.yml:660-845 · blob d14fd7d70a8db21651bda6081304df4daed1abec · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: filesystem, network, process · domain stage: experimental · users: none · canonical: unreached_review
mkdir -p releases state
cp work/202608291504-pointer/pointer-a/releases/current-v3.json releases/current-v3.json
cp work/202608291504-pointer/pointer-a/state/live-set.json state/live-set.json
cmp releases/current-v3.json state/live-set.json
git add -- releases/current-v3.json state/live-set.json
test "$(git diff --cached --name-only | sort)" = $'releases/current-v3.json\nstate/live-set.json'
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git commit -m "stage: proof-bound PipelineNews Atlas V9 live pointers"
git push "$remote_url" "HEAD:refs/heads/$STAGE_BRANCH"
daily-drift:
if: github.event_name == 'schedule' && needs.classify.outputs.pointer_live == 'true'
needs: classify
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout current pointer-owning main without credentials
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
ref: main
fetch-depth: 1
persist-credentials: false
- name: Configure Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
with:
node-version: "22"
- name: Verify committed immutable closure and permanent incumbent evidence
shell: bash
run: |
set -euo pipefail
python3 - <<'PY'
import hashlib
import json
import os
from pathlib import Path
release_id = os.environ["RELEASE_ID"]
folder = Path("releases") / release_id
manifest_path = folder / "release-manifest.json"
manifest = json.loads(manifest_path.read_text(encoding="utf-8"))
records = list(manifest.get("outputs", []))
actual = {path.as_posix() for path in folder.rglob("*") if path.is_file()}
expected = {record["path"] for record in records} | {manifest_path.as_posix()}
if len(actual) != 40 or actual != expected:
raise AssertionError("daily immutable folder closure changed")
for record in records:
raw = Path(record["path"]).read_bytes()
if len(raw) != record["bytes"] or hashlib.sha256(raw).hexdigest() != record["sha256"]:
raise AssertionError(f"daily release drift: {record['path']}")
build = json.loads((folder / "build-manifest.json").read_text(encoding="utf-8"))
if build.get("parent_evidence", {}).get("exact_manifest", {}).get("sha256") != "025daf70f1c4b9c9a7c84a70d41ceb50e96232771f736faa309ca92c2c9c134d":
raise AssertionError("permanent incumbent evidence drift")
current = Path("releases/current-v3.json").read_bytes()
live_set = Path("state/live-set.json").read_bytes()
if current != live_set:
raise AssertionError("daily live pointer copies differ")
pointer = json.loads(current)
if (
pointer.get("schema") != "pipelinenews.live-pointer.v3"
or pointer.get("classification") != "VERIFIED_LIVE_TIMESTAMPED_RELEASE"
or pointer.get("release_id") != release_id
or pointer.get("release_manifest", {}).get("sha256") != hashlib.sha256(manifest_path.read_bytes()).hexdigest()
):
raise AssertionError("daily live pointer contract drift")
PY
- name: Install pinned real-browser harness
shell: bash
run: |
set -euo pipefail
npm install --no-save --no-package-lock "playwright@$PLAYWRIGHT_VERSION"
npx playwright install --with-deps chromium
- name: Read back public PipelineNews to real Atlas V9 without interception
shell: bash
run: |
set -euo pipefail
mkdir -p reports
node atman/202608291504-public-browser-readback.mjs \
--candidate "https://ventusltd.github.io/pipelinenews/releases/$RELEASE_ID/" \
--output reports/202608291504-daily-real-atlas-v9-browser-proof.json
- name: Re-run permanent incumbent comparator and fail drift
shell: bash
run: |
set -euo pipefail
node atman/202608291504-compare-incumbent-successor.mjs \
--release-a "releases/$RELEASE_ID" \
--release-b "releases/$RELEASE_ID" \
--browser-proof reports/202608291504-daily-real-atlas-v9-browser-proof.json \
--output reports/202608291504-daily-incumbent-successor-comparator.json
- name: Re-run inherited 420-check matrix in read-only daily mode
shell: bash
run: |
set -euo pipefail
python3 -m http.server 4173 --bind 127.0.0.1 --directory . >"$RUNNER_TEMP/pipelinenews-daily-matrix.log" 2>&1 &
server_pid="$!"
trap 'kill "$server_pid" 2>/dev/null || true' EXIT
baseline="http://127.0.0.1:4173/releases/202608261927-index.html"
candidate="http://127.0.0.1:4173/releases/$RELEASE_ID/"
for url in "$baseline" "$candidate"; do
for attempt in {1..20}; do
if curl --fail --silent --show-error "$url" >/dev/null; then break; fi
sleep 1
done
curl --fail --silent --show-error "$url" >/dev/null
done
node atman/202608291310-verify-complete-equivalence.mjs \
--baseline "$baseline" \
--candidate "$candidate" \
--phase daily-drift \
--report reports/202608291504-daily-complete-equivalence.json
python3 - <<'PY'
import json
from pathlib import Path
report = json.loads(Path("reports/202608291504-daily-complete-equivalence.json").read_text())
if report.get("summary") != {"checks": 420, "passed": 420, "failed": 0}:
raise AssertionError(f"daily complete interaction matrix changed: {report.get('summary')}")
PY
- name: Upload read-only daily drift evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: pipelinenews-${{ env.RELEASE_ID }}-daily-drift-${{ github.run_id }}
path: reports/202608291504-daily-*.json
if-no-files-found: warn
retention-days: 30
wake-up-ledger:
if: always() && github.event_name == 'schedule'
needs: classify
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout current main read-only
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
ref: main
fetch-depth: 1
persist-credentials: false
- name: Configure Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
with:
node-version: "22"
- name: Attempt exact GridAtlas pointer recapture without mutation
id: receiver
continue-on-error: true
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
mkdir -p work/202608291504-wake
node atman/202608291504-resolve-gridatlas-pointer.mjs \
--repository Ventusltd/gridatlas \
--expected-commit "$GRIDATLAS_POINTER_COMMIT" \
--expected-pointer-sha256 "$GRIDATLAS_POINTER_SHA256" \
--output work/202608291504-wake/gridatlas-receiver.json
- name: Write bounded recovery ledger
shell: bash
run: |
set -euo pipefail
mkdir -p reports
node atman/202608291504-wake-up-ledger.mjs \
--root . \
--gridatlas-receiver work/202608291504-wake/gridatlas-receiver.json \
--event schedule \
--run-id "$GITHUB_RUN_ID" \
--output reports/202608291504-wake-up-ledger.json
- name: Upload read-only wake-up ledger
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: pipelinenews-${{ env.RELEASE_ID }}-wake-up-${{ github.run_id }}
path: reports/202608291504-wake-up-ledger.json
if-no-files-found: error
retention-days: 30Repair Pages Historical Source Attestation
A configuration file in the workflow archive folder of PipelineNews that reads pages proof result. Runs on push and by hand.
automationpipelinenews / .github/workflow-archive/20260830-email-storm/202608301150-repair-pages-historical-source-attestation.yml · lines 1–156 of 156 · version 2026-08-30 11:50 · Not reached from any entry point (candidate for review)
- What it does
- It loads pages proof result. Side effects: reads or writes files; starts processes.
- 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 pages-proof-result.json.
- What it achieves
- Its name says it repairs pages historical source attestation.
- Why it matters
- No other file in the estate was found to import it.
- Application
- pipelinenews · .github/workflow-archive/20260830-email-storm · configuration
- Uses
- Build Pages (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- 202608301150 Repair timestamp Pages historical source attestation
- 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/workflow-archive/20260830-email-storm/202608301150-repair-pages-historical-source-attestation.yml:1-156 · blob c8b923eabbfaad439a8e7a89a792ea0d324a8f76 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: output · effects: filesystem, process · domain stage: experimental · users: none · canonical: unreached_review
name: 202608301150 Repair timestamp Pages historical source attestation
run-name: Repair immutable timestamp Pages gate from ${{ github.sha }}
on:
push:
branches: [main]
paths:
- '.github/workflows/202608301150-repair-pages-historical-source-attestation.yml'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: pipelinenews-202608301150-pages-source-attestation-repair
cancel-in-progress: false
env:
TARGET: atman/202608262014-build-pages.py
jobs:
repair:
name: Attest historical compiler inputs while validating current immutable outputs
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout exact source boundary
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
ref: ${{ github.sha }}
fetch-depth: 0
persist-credentials: true
- name: Apply one bounded Pages-gate repair
run: |
set -euo pipefail
git fetch --no-tags origin main:refs/remotes/origin/main
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
test -f "$TARGET"
python3 - <<'PY'
from pathlib import Path
path = Path('atman/202608262014-build-pages.py')
text = path.read_text(encoding='utf-8')
verify_anchor = '''def verify_record(root: Path, record: dict, label: str) -> Path:
relative = record.get("path")
require(isinstance(relative, str) and relative, f"{label} has no path")
target = repository_path(root, relative)
require(target.is_file(), f"missing {label}: {relative}")
require(target.stat().st_size == record.get("bytes"), f"byte mismatch for {relative}")
require(sha256(target) == record.get("sha256"), f"SHA-256 mismatch for {relative}")
return target
'''
helper = verify_anchor + '''
def verify_record_at_commit(root: Path, commit: str, record: dict, label: str) -> None:
relative = record.get("path")
require(isinstance(relative, str) and relative, f"{label} has no path")
completed = subprocess.run(
["git", "show", f"{commit}:{relative}"],
cwd=root,
check=True,
capture_output=True,
)
payload = completed.stdout
require(len(payload) == record.get("bytes"), f"historical byte mismatch for {relative}")
require(
hashlib.sha256(payload).hexdigest() == record.get("sha256"),
f"historical SHA-256 mismatch for {relative}",
)
'''
assert text.count(verify_anchor) == 1, 'verify_record anchor changed'
text = text.replace(verify_anchor, helper)
signature = 'def validate_release(root: Path, requested: str) -> dict:\n'
replacement_signature = 'def validate_release(root: Path, requested: str, *, replay_sources: bool = True) -> dict:\n'
assert text.count(signature) == 1, 'validate_release signature changed'
text = text.replace(signature, replacement_signature)
old_validation = ''' seen: set[str] = set()
for record in manifest["inputs"]:
require(record["path"] not in seen, f"duplicate manifest path: {record['path']}")
seen.add(record["path"])
verify_record(root, record, "input")
for record in manifest["outputs"]:
require(record["path"] not in seen, f"duplicate manifest path: {record['path']}")
seen.add(record["path"])
verify_record(root, record, "output")
require(manifest_path.is_file(), "release manifest disappeared")
compiler_result = run_compiler(root, manifest, generation)
'''
new_validation = ''' manifest_commit = git_text(root, "log", "-1", "--format=%H", "--", manifest_path.relative_to(root).as_posix())
require(bool(COMMIT_RE.fullmatch(manifest_commit)), "compiled release manifest is not committed")
seen: set[str] = set()
for record in manifest["inputs"]:
require(record["path"] not in seen, f"duplicate manifest path: {record['path']}")
seen.add(record["path"])
if replay_sources or record["path"].startswith("data/"):
verify_record(root, record, "input")
else:
verify_record_at_commit(root, manifest_commit, record, "historical input")
for record in manifest["outputs"]:
require(record["path"] not in seen, f"duplicate manifest path: {record['path']}")
seen.add(record["path"])
verify_record(root, record, "output")
require(manifest_path.is_file(), "release manifest disappeared")
if replay_sources:
compiler_result = run_compiler(root, manifest, generation)
else:
verify_record_at_commit(root, manifest_commit, manifest["compiler"], "historical compiler")
compiler_result = {
"generation": f"{generation}-index",
"status": "HISTORICAL_SOURCE_ATTESTED",
"manifest_commit": manifest_commit,
}
'''
assert text.count(old_validation) == 1, 'compiled validation block changed'
text = text.replace(old_validation, new_validation)
main_line = ' release = validate_release(root, args.generation)\n'
main_replacement = ' release = validate_release(root, args.generation, replay_sources=not bool(args.timestamp_folder_release))\n'
assert text.count(main_line) == 1, 'main validation call changed'
text = text.replace(main_line, main_replacement)
path.write_text(text, encoding='utf-8', newline='\n')
PY
python3 -m py_compile "$TARGET"
git diff --check
test "$(git diff --name-only)" = "$TARGET"
rm -rf "$RUNNER_TEMP/pages-proof"
python3 "$TARGET" \
--generation latest \
--timestamp-folder-release 202608300309-pipelinenews \
--stage "$RUNNER_TEMP/pages-proof" \
> "$RUNNER_TEMP/pages-proof-result.json"
test "$(jq -r .status "$RUNNER_TEMP/pages-proof-result.json")" = CHECKED_AND_STAGED
test "$(jq -r .timestamp_folder.release_id "$RUNNER_TEMP/pages-proof-result.json")" = 202608300309-pipelinenews
test -f "$RUNNER_TEMP/pages-proof/releases/202608300309-pipelinenews/index.html"
- name: Compare-and-swap source-only repair onto main
run: |
set -euo pipefail
git fetch --no-tags origin main:refs/remotes/origin/main
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
git add "$TARGET"
test "$(git diff --cached --name-only)" = "$TARGET"
git config user.name pipelinenews-pages-gate-repair-bot
git config user.email actions@users.noreply.github.com
git commit -m '202608301150: attest historical source inputs for immutable timestamp Pages releases'
git push origin HEAD:mainRepair Pages Historical Source Attestation V2
A configuration file in the workflow archive folder of PipelineNews covering pages proof result and atlas current. Runs on push and by hand.
automationpipelinenews / .github/workflow-archive/20260830-email-storm/202608301153-repair-pages-historical-source-attestation-v2.yml · lines 1–75 of 75 · version 2026-08-30 11:53 · 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 pages-proof-result.json; JSON file atlas-v9-current.json.
- What it achieves
- Its name says it repairs pages historical source attestation.
- Why it matters
- No other file in the estate was found to import it.
- Application
- pipelinenews · .github/workflow-archive/20260830-email-storm · configuration
- Uses
- Repair Pages Historical Source Attestation (workflow run), Extend Pages Atlas Link V2 (workflow run), Build Pages (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- 202608301153 Repair timestamp Pages source attestation V2
- 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/workflow-archive/20260830-email-storm/202608301153-repair-pages-historical-source-attestation-v2.yml:1-75 · blob fd2ff624e23142abea4480328af57db06627992b · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: unknown · effects: none found · domain stage: experimental · users: none · canonical: unreached_review
name: 202608301153 Repair timestamp Pages source attestation V2
run-name: Repair immutable timestamp Pages gate from ${{ github.sha }}
on:
push:
branches: [main]
paths:
- '.github/workflows/202608301153-repair-pages-historical-source-attestation-v2.yml'
- 'automation/202608301152-repair-pages-historical-source-attestation.py'
- 'automation/202608301200-extend-pages-atlas-link-v2.py'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: pipelinenews-202608301153-pages-source-attestation-repair
cancel-in-progress: false
env:
PATCHER: automation/202608301152-repair-pages-historical-source-attestation.py
EXTENSION: automation/202608301200-extend-pages-atlas-link-v2.py
TARGET: atman/202608262014-build-pages.py
jobs:
repair:
name: Prove historical source attestation and Atlas-link v2 release
runs-on: ubuntu-24.04
timeout-minutes: 12
steps:
- name: Checkout exact source boundary
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
ref: ${{ github.sha }}
fetch-depth: 0
persist-credentials: true
- name: Apply and prove bounded Pages-gate repair
run: |
set -euo pipefail
git fetch --no-tags origin main:refs/remotes/origin/main
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
test -f "$PATCHER"
test -f "$EXTENSION"
test -f "$TARGET"
python3 -m py_compile "$PATCHER" "$EXTENSION"
python3 "$PATCHER"
python3 "$EXTENSION"
python3 -m py_compile "$TARGET"
git diff --check
test "$(git diff --name-only)" = "$TARGET"
rm -rf "$RUNNER_TEMP/pages-proof"
python3 "$TARGET" \
--generation latest \
--timestamp-folder-release 202608300309-pipelinenews \
--stage "$RUNNER_TEMP/pages-proof" \
> "$RUNNER_TEMP/pages-proof-result.json"
test "$(jq -r .status "$RUNNER_TEMP/pages-proof-result.json")" = CHECKED_AND_STAGED
test "$(jq -r .timestamp_folder.release_id "$RUNNER_TEMP/pages-proof-result.json")" = 202608300309-pipelinenews
test "$(jq -r .timestamp_folder.kind "$RUNNER_TEMP/pages-proof-result.json")" = current-atlas-link-v2
test -f "$RUNNER_TEMP/pages-proof/releases/202608300309-pipelinenews/index.html"
test -f "$RUNNER_TEMP/pages-proof/state/atlas-v9-current.json"
- name: Compare-and-swap source-only repair onto main
run: |
set -euo pipefail
git fetch --no-tags origin main:refs/remotes/origin/main
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
git add "$TARGET"
test "$(git diff --cached --name-only)" = "$TARGET"
git config user.name pipelinenews-pages-gate-repair-bot
git config user.email actions@users.noreply.github.com
git commit -m '202608301201: validate Atlas-link v2 release and current-or-predecessor pointers'
git push origin HEAD:mainRelax Atlas Link Ledger Counts
A configuration file in the workflow archive folder of PipelineNews. Runs on push and by hand.
automationpipelinenews / .github/workflow-archive/20260830-email-storm/202608301205-relax-atlas-link-ledger-counts.yml · lines 1–80 of 80 · version 2026-08-30 12:05 · Not reached from any entry point (candidate for review)
- What it does
- It loads data. Side effects: reads or writes files.
- 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.
- What it achieves
- Named “Derive Atlas-link closure counts”.
- Why it matters
- No other file in the estate was found to import it.
- Application
- pipelinenews · .github/workflow-archive/20260830-email-storm · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- 202608301205 Derive Atlas-link closure counts
- 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/workflow-archive/20260830-email-storm/202608301205-relax-atlas-link-ledger-counts.yml:1-80 · blob 47f04f2da75db45d9b8ab16f5a3a73c7a520d53c · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: filesystem · domain stage: experimental · users: none · canonical: unreached_review
name: 202608301205 Derive Atlas-link closure counts
run-name: Remove stale Atlas-link hardcoded file counts from ${{ github.sha }}
on:
push:
branches: [main]
paths:
- '.github/workflows/202608301205-relax-atlas-link-ledger-counts.yml'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: pipelinenews-202608301205-atlas-link-ledger-counts
cancel-in-progress: false
env:
TARGET: automation/202608301200-extend-pages-atlas-link-v2.py
jobs:
repair:
name: Replace stale counts with exact ledger-to-build closure proof
runs-on: ubuntu-24.04
timeout-minutes: 8
steps:
- name: Checkout exact repair boundary
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
ref: ${{ github.sha }}
fetch-depth: 20
persist-credentials: true
- name: Apply bounded derived-count repair
run: |
set -euo pipefail
git fetch --no-tags origin main:refs/remotes/origin/main
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
test -f "$TARGET"
python3 - <<'PY'
from pathlib import Path
path = Path('automation/202608301200-extend-pages-atlas-link-v2.py')
text = path.read_text(encoding='utf-8')
replacements = [
(
' require(len(records) == 40, f"Atlas-link ledger file count changed: {len(records)}")\n',
' require(records, "Atlas-link SHA ledger is empty")\n',
),
(
' require(isinstance(files, list) and len(files) == 38, "Atlas-link build file count changed")\n',
' require(isinstance(files, list) and files, "Atlas-link build file list missing")\n',
),
(
' require(len(actual) == 41, "Atlas-link total file count changed")\n',
'',
),
]
for before, after in replacements:
count = text.count(before)
assert count == 1, f'expected one repair anchor, found {count}'
text = text.replace(before, after)
path.write_text(text, encoding='utf-8', newline='\n')
PY
python3 -m py_compile "$TARGET"
git diff --check
test "$(git diff --name-only)" = "$TARGET"
- name: Compare-and-swap source-only repair onto main
run: |
set -euo pipefail
git fetch --no-tags origin main:refs/remotes/origin/main
test "$(git rev-parse origin/main)" = "$GITHUB_SHA"
git add "$TARGET"
test "$(git diff --cached --name-only)" = "$TARGET"
git config user.name pipelinenews-ledger-count-repair-bot
git config user.email actions@users.noreply.github.com
git commit -m '202608301207: derive Atlas-link closure from immutable ledgers'
git push origin HEAD:mainDispatch Pages Gate Repair
A configuration file in the workflow archive folder of PipelineNews using data from GitHub API. Runs on push and by hand.
automationpipelinenews / .github/workflow-archive/20260830-email-storm/202608301208-dispatch-pages-gate-repair.yml · lines 1–31 of 31 · version 2026-08-30 12:08 · Not reached from any entry point (candidate for review)
- What it does
- It fetches data. Side effects: 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.
- Inputs & outputs
- In: data source: GitHub API.
- What it achieves
- Named “Dispatch repaired Atlas-link Pages gate”.
- Why it matters
- No other file in the estate was found to import it.
- Application
- pipelinenews · .github/workflow-archive/20260830-email-storm · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- 202608301208 Dispatch repaired Atlas-link Pages gate
- 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/workflow-archive/20260830-email-storm/202608301208-dispatch-pages-gate-repair.yml:1-31 · blob ec1a72f368922349da636375fb7c7b2e8bdbb6ef · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: ingest · effects: network · domain stage: experimental · users: landowner_planner · canonical: unreached_review
name: 202608301208 Dispatch repaired Atlas-link Pages gate
run-name: Dispatch pointer-bound Pages-gate proof from ${{ github.sha }}
on:
push:
branches: [main]
paths:
- '.github/workflows/202608301208-dispatch-pages-gate-repair.yml'
workflow_dispatch:
permissions:
actions: write
contents: read
jobs:
dispatch:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Dispatch existing repaired Pages-gate workflow at current main
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
curl --fail --silent --show-error \
-X POST \
-H "Authorization: Bearer $GH_TOKEN" \
-H 'Accept: application/vnd.github+json' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
"https://api.github.com/repos/$GITHUB_REPOSITORY/actions/workflows/202608301153-repair-pages-historical-source-attestation-v2.yml/dispatches" \
-d '{"ref":"main"}'