Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 7 additions & 28 deletions .aegis-baseline.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,28 @@
# points, and the GitHub release, asset, run and check identifiers
# quoted in the release receipts; this repository holds no tax
# identifiers.
australian-tfn ./docs/TASKS.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
australian-tfn ./docs/release/ARTIFACT-MATRIX.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 9
australian-tfn ./docs/release/CERTIFICATION.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
australian-tfn ./docs/release/EXECUTION-BOARD.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 3
australian-tfn ./docs/release/EXECUTION-BOARD.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 1
australian-tfn ./docs/release/EXECUTION-BOARD.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
australian-tfn ./docs/release/EXECUTION-BOARD.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
australian-tfn ./docs/release/LINUX-COMPAT.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
australian-tfn ./docs/release/EXECUTION-BOARD.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 2
australian-tfn ./docs/release/RECEIPT-0.2.5-DRYRUN-3.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 1
australian-tfn ./docs/release/RECEIPT-0.2.5-DRYRUN-3.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
australian-tfn ./docs/release/RECEIPT-0.2.5-DRYRUN-6.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
australian-tfn ./docs/release/RECEIPT-0.2.5-DRYRUN-6.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
australian-tfn ./docs/research/fireworks-png-nodes.md 1004a585bc60d363038c5889d022bd6f58278338fe66f97483316133e316f41a 1
australian-tfn ./docs/tasks/T27-19-draft-release-test-tag.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 1
australian-tfn ./docs/tasks/T27-19-draft-release-test-tag.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 1
australian-tfn ./docs/tasks/T27-19-draft-release-test-tag.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
australian-tfn ./docs/tasks/T27-52-source-archive.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
australian-tfn ./xtask/src/aegis.rs 1004a585bc60d363038c5889d022bd6f58278338fe66f97483316133e316f41a 1
# Matches the same 9-digit observed value range in the PNG node
# dictionary and the GitHub release, asset, run and check identifiers
# quoted in the release receipts; this repository holds no banking data.
bank-routing-number ./docs/TASKS.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
bank-routing-number ./docs/release/ARTIFACT-MATRIX.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 9
bank-routing-number ./docs/release/CERTIFICATION.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
bank-routing-number ./docs/release/EXECUTION-BOARD.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 3
bank-routing-number ./docs/release/EXECUTION-BOARD.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 1
bank-routing-number ./docs/release/EXECUTION-BOARD.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
bank-routing-number ./docs/release/EXECUTION-BOARD.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
bank-routing-number ./docs/release/LINUX-COMPAT.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
bank-routing-number ./docs/release/EXECUTION-BOARD.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 2
bank-routing-number ./docs/release/RECEIPT-0.2.5-DRYRUN-3.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 1
bank-routing-number ./docs/release/RECEIPT-0.2.5-DRYRUN-3.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
bank-routing-number ./docs/release/RECEIPT-0.2.5-DRYRUN-6.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
bank-routing-number ./docs/release/RECEIPT-0.2.5-DRYRUN-6.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
bank-routing-number ./docs/research/fireworks-png-nodes.md 1004a585bc60d363038c5889d022bd6f58278338fe66f97483316133e316f41a 1
bank-routing-number ./docs/tasks/T27-19-draft-release-test-tag.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 1
bank-routing-number ./docs/tasks/T27-19-draft-release-test-tag.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 1
bank-routing-number ./docs/tasks/T27-19-draft-release-test-tag.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
bank-routing-number ./docs/tasks/T27-52-source-archive.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
bank-routing-number ./xtask/src/aegis.rs 1004a585bc60d363038c5889d022bd6f58278338fe66f97483316133e316f41a 1
# The GitForge API row names the credential file that holds the bearer
# token; the row contains no token.
Expand Down Expand Up @@ -227,22 +213,15 @@ sql-query ./docs/tasks/T22-screenshot-ui.md 6ba454ee08d4ce45364f6e849176079be5c6
# dictionary and the GitHub release, asset, run and check identifiers
# quoted in the release receipts; this repository holds no
# social-security numbers.
ssn-no-dashes ./docs/TASKS.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
ssn-no-dashes ./docs/release/ARTIFACT-MATRIX.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 9
ssn-no-dashes ./docs/release/CERTIFICATION.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
ssn-no-dashes ./docs/release/EXECUTION-BOARD.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 3
ssn-no-dashes ./docs/release/EXECUTION-BOARD.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 1
ssn-no-dashes ./docs/release/EXECUTION-BOARD.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
ssn-no-dashes ./docs/release/EXECUTION-BOARD.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
ssn-no-dashes ./docs/release/LINUX-COMPAT.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
ssn-no-dashes ./docs/release/EXECUTION-BOARD.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 2
ssn-no-dashes ./docs/release/RECEIPT-0.2.5-DRYRUN-3.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 1
ssn-no-dashes ./docs/release/RECEIPT-0.2.5-DRYRUN-3.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
ssn-no-dashes ./docs/release/RECEIPT-0.2.5-DRYRUN-6.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 2
ssn-no-dashes ./docs/release/RECEIPT-0.2.5-DRYRUN-6.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
ssn-no-dashes ./docs/research/fireworks-png-nodes.md 1004a585bc60d363038c5889d022bd6f58278338fe66f97483316133e316f41a 1
ssn-no-dashes ./docs/tasks/T27-19-draft-release-test-tag.md 35b904df2c6f31c493260dde331b4104ae508d471dc06ce7595bf3ad5a681134 1
ssn-no-dashes ./docs/tasks/T27-19-draft-release-test-tag.md 90854b2dc477585b494af511ebe7e260c09e9e6d1582f8d75c35733426d6d710 1
ssn-no-dashes ./docs/tasks/T27-19-draft-release-test-tag.md f56a84c068b5f3241a93c04e12a698d51e771dfef255452d1b225b52854eaf76 1
ssn-no-dashes ./docs/tasks/T27-52-source-archive.md a3a2cc550be9d1627cd6ebe8554832486df9ae30304ab8ca9b141b1f88bb4e99 1
ssn-no-dashes ./xtask/src/aegis.rs 1004a585bc60d363038c5889d022bd6f58278338fe66f97483316133e316f41a 1
# The rule's regex fires on the HTTP client the Aegis installer uses —
# the node `fetch(url)` fallback in `scripts/install-aegis.sh` — and
Expand Down Expand Up @@ -270,7 +249,7 @@ ssrf-localhost ./docs/SESSIONS.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632
ssrf-localhost ./docs/SITE-DEPLOYMENT.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 1
ssrf-localhost ./docs/decisions/0074-aegis-content-keyed-baseline.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 1
ssrf-localhost ./docs/decisions/0083-aegis-rebless-parity-matrix.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 1
ssrf-localhost ./docs/release/EXECUTION-BOARD.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 4
ssrf-localhost ./docs/release/EXECUTION-BOARD.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 3
ssrf-localhost ./docs/tasks/T22-screenshot-ui.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 1
ssrf-localhost ./docs/tasks/T27-12-adjudicate-aegis-findings.md 12ca17b49af2289436f303e0166030a21e525d266e209267433801a8fd4071a0 1
ssrf-localhost ./docs/tasks/T27-12-adjudicate-aegis-findings.md 49960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d9763 7
Expand Down
72 changes: 7 additions & 65 deletions .gitforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
# the run-by-run history):
# - `environment: {}` is REQUIRED: PipelineDefinition has no serde
# default, and a missing key fails every run at parse time.
# - Jobs form a single chain: all jobs of one run share ONE per-run
# workspace, and the offline validator rejects fork/join graphs.
# - Jobs form a DAG and may run concurrently after their dependencies
# complete. All jobs in one run share ONE per-run workspace, so sibling
# branches must have disjoint checkout write sets (Cargo target caches are
# separate per job). Keep that constraint in mind when adding parallel
# jobs; the pipeline validator permits fork/join graphs.
# - Job- and step-level `env:` reach the container, but there is no
# ref- or commit-shaped variable to rely on: the pipeline-level
# `environment` must be present (`environment: {}` — the definition
Expand Down Expand Up @@ -101,7 +104,7 @@ jobs:
steps:
- name: The release board and its tickets agree
# `docs/release/EXECUTION-BOARD.md` §6 is the plan of record for
# the 62 release tasks: which are done, on what evidence, and
# the 61 release tasks: which are done, on what evidence, and
# what still blocks them. Each row has one ticket under
# `docs/tasks/`, and the two must state the same status,
# evidence and blockers. A board that claims progress its
Expand All @@ -116,74 +119,13 @@ jobs:
set -e
bash scripts/verify_release_ledger.sh .
bash scripts/verify_release_ledger-selftest.sh
- name: The stale-cache refresh's own self-test
# The step that keeps cargo from reusing another branch's
# artifact (decision 0122) decides from file mtimes alone, so a
# wrong decision in either direction is expensive: refreshing too
# much throws the warm cache away, refreshing too little lets
# cargo compile against another tree's crate. Its self-test runs
# here on every push rather than being trusted.
run: |
set -e
if [ -f scripts/ci_refresh_stale_crates-selftest.sh ]; then
bash scripts/ci_refresh_stale_crates-selftest.sh
fi
timeout: 5m

- name: aegis
image: firecraft-ci-rust:2
cache:
source: "{cache_root}/cargo/{image}-aegis"
needs: [release-ledger]
# This job has NO skip_if: the Aegis secret/PII scan covers `docs/`,
# so a documentation-only change can add a finding the committed
# baseline does not carry. Every other Cargo job in this pipeline is
# skipped for a docs-only diff, which is how four Windows build
# literals reached `main` unblessed and then failed the NEXT code
# change's gate for content that change never touched (observed on
# `main` `c26adffc`: 5 uncovered findings). The scan is cheap — it is
# the only gate here that does not compile the workspace — and it must
# run on every push, or "the baseline is current" is a claim nobody
# checks.
steps:
- name: Refresh the crates the shared cache may hold from another tree
# See the note on the same step in the `layers` job: the cache
# is mounted per JOB, so cargo can reuse another branch's
# artifact when this checkout is older than the cache (decision
# 0122).
run: |
set -e
if [ -f scripts/ci_refresh_stale_crates.sh ]; then
bash scripts/ci_refresh_stale_crates.sh /workspace "${CARGO_TARGET_DIR:-/cargo-target}"
fi
- name: The installer's failure modes are exercised
# The installer is the only place the scanner's pin lives, and it
# is called by three jobs. Its self-test runs here, on every
# push, rather than being trusted: it proves that a mismatched
# checksum installs nothing, that a program which is not the
# scanner is refused, and that the install works on a machine
# with no curl, no wget and no python3 — which is this image.
run: |
set -e
bash scripts/install-aegis-selftest.sh
- name: Install the pinned Aegis scanner
# The CI image ships no curl and no wget; `scripts/install-aegis.sh`
# brings its own fetch and verifies the tarball's SHA-256. The
# same script and the same pin serve the GitHub jobs.
run: |
set -e
bash scripts/install-aegis.sh /usr/local/bin
- name: Aegis secret scan
run: cargo run --locked -p xtask -- aegis
# 45m: the job compiles xtask (the scan itself takes seconds) and
# shares the fleet with the other Cargo jobs.
timeout: 45m

- name: fmt-layers
image: firecraft-ci-rust:2
cache:
source: "{cache_root}/cargo/{image}-fmt-layers"
needs: [aegis]
needs: [release-ledger]
steps:
- name: Rust formatting check
run: cargo fmt --all -- --check
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/ci-cross.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Cross-platform CI: builds native binaries on macOS and Windows runners.
# Linux x86_64 is covered by ci.yml (ubuntu-latest).
# This workflow runs on every PR/push to main and on tag pushes.

name: CI (cross-platform)
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
permissions:
contents: read
env:
CARGO_TERM_COLOR: always

jobs:
# macOS — build native binary and run lib tests
macos:
name: macOS (aarch64-apple-darwin)
runs-on: macos-latest
steps:
- uses: actions/checkout@11d5960a326750d583807e36cf38b85af677262 # v4.4.0
- name: Install Rust stable
run: rustup toolchain install stable --profile minimal
- name: Cache cargo
uses: actions/cache@v4
with:
path: ~/.cargo/registry/index/
key: macos-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release --quiet
- name: Run lib tests
run: cargo test --lib --quiet 2>&1

# Windows — build native binary and run lib tests
windows:
name: Windows (x86_64-pc-windows-msvc)
runs-on: windows-latest
steps:
- uses: actions/checkout@11d5960a326750d583807e36cf38b85af677262 # v4.4.0
- name: Install Rust stable
run: rustup toolchain install stable --profile minimal
- name: Cache cargo
uses: actions/cache@v4
with:
path: ~/.cargo/registry/index/
key: windows-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release --quiet
- name: Run lib tests
run: cargo test --lib --quiet 2>&1
38 changes: 32 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,8 @@ jobs:
bash tests/release-assets-selftest.sh
bash scripts/classify_release_mode-selftest.sh
bash scripts/validate_release_aggregate-selftest.sh
# The scanner installer holds the only copy of the pin, and three
# jobs call it. Its failure modes are exercised here rather than
# trusted (decision 0132).
- name: The scanner installer's failure modes are exercised
run: bash scripts/install-aegis-selftest.sh
# The release execution board is the plan of record: it says which
# of the 62 release tasks are done, with what evidence, and what
# of the 61 release tasks are done, with what evidence, and what
# still blocks them. It and the tickets it names must say the same
# thing — a board that claims progress its tickets do not record
# is a plan that reports work nobody did.
Expand Down Expand Up @@ -197,6 +192,37 @@ jobs:
python3 -m venv /tmp/pipeline-venv
/tmp/pipeline-venv/bin/pip install --quiet pyyaml
/tmp/pipeline-venv/bin/python scripts/validate_gitforge_pipeline.py .gitforge.yml
wasm32:
name: wasm32
runs-on: ubuntu-24.04
needs: [fmt]
if: needs.changes.outputs.code_changed == 'true'
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Install Rust stable (rustc 1.100.0) for wasm32
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
# wasm32 check requires rustc 1.100.0+ (rustc 1.99.1 has the
# .rmeta version bug). The coverage job uses 1.99.1; wasm32
# uses a separate toolchain. See docs/PRODUCTION-AUDIT-2026-11-20.md G-1.
toolchain: 1.100.0
components: rustfmt
- name: Install wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Cache cargo registry
uses: actions/cache@0057852b881e75b6e75b540449e92b4886f43607fa02 # v4.3.0
with:
path: ~/.cargo/registry
key: cargo-registry-wasm32-${{ hashFiles('**/Cargo.lock') }}
- name: Cache build artifacts
uses: actions/cache@0057852b881e75b6e75b540449e92b4886f43607fa02 # v4.3.0
with:
path: target
key: cargo-build-wasm32-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
- name: wasm32 check (pure crates only)
run: cargo run --package xtask -- wasm

gate:
name: gate
runs-on: ubuntu-latest
Expand Down
Loading
Loading