| # Copyright 2026 The Fuchsia Authors | |
| # | |
| # Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 | |
| # <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT | |
| # license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. | |
| # This file may not be copied, modified, or distributed except according to | |
| # those terms. | |
| schema_version = 1 | |
| [repo] | |
| slug = "google/anneal" | |
| id = 1470611610 | |
| owner_id = 1342004 | |
| default_branch = "main" | |
| sigstore = "public_good" | |
| trusted_engine_workflow = "joshlf/ci-core/.github/workflows/ci.yml" | |
| trusted_engine_shas = [ | |
| "5fedc784df34ea7f349897d699be757f10354063", | |
| "629e371f0c7c4ad4e3a3c98f09b12104f314150e", | |
| "3bf5441e62bc4b8ec113020e87a6a4b139dca150", | |
| "2f8b27b6581bcde414b0fd0a4dcd1eee3686a547", | |
| "edabd09c1c9ebf07709380e6c44f4d35fd7d00b8", | |
| ] | |
| [tcb] | |
| owner_user_ids = [1046063, 3820879] | |
| allow_owner_self_approval = true | |
| non_tcb_workflows = [] | |
| non_tcb_subtrees = ["skills"] | |
| extra_executable_paths = [ | |
| "ci/*.py", | |
| "ci/*.sh", | |
| "ci/scripts/**", | |
| ] | |
| [tcb.caller] | |
| kind = "repo_ruleset" | |
| caller_workflows = [ | |
| ".github/workflows/ci-core-pr.yml", | |
| ".github/workflows/ci-core-trusted.yml", | |
| ] | |
| gate_check_name = "ci-core / gate" | |
| codeowners = ["@joshlf", "@jswrenn"] | |
| [commit_policy] | |
| # Character class avoids triggering `ci/check_todo.sh` on this manifest itself. | |
| forbid_message_regex = '\b[T]ODO\b' | |
| # --------------------------------------------------------------------------- | |
| # Declarative Data Pins | |
| # --------------------------------------------------------------------------- | |
| [pins.rust-toolchains] | |
| path = "ci/pins/rust-toolchains.toml" | |
| [pins.rust-toolchains.keys] | |
| stable = '[0-9]+\.[0-9]+\.[0-9]+' | |
| nightly = 'nightly-[0-9]{4}-[0-9]{2}-[0-9]{2}' | |
| # --------------------------------------------------------------------------- | |
| # Content-Addressed OCI Toolchain Images | |
| # --------------------------------------------------------------------------- | |
| [images.anneal-rust] | |
| dockerfile = "ci/docker/anneal-rust.Dockerfile" | |
| context = [ | |
| { kind = "glob", include = ["ci/pins/zerocopy-dogfood.json", "ci/scripts/fetch_zerocopy_dogfood.py"] }, | |
| ] | |
| pins = ["rust-toolchains"] | |
| runner = "ubuntu-24.04" | |
| [images.anneal-lean-lite] | |
| dockerfile = "ci/docker/anneal-lean-lite.Dockerfile" | |
| context = [ | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/lean/lean-toolchain", | |
| "trusted/lean/foundation-lock.json", | |
| ] }, | |
| ] | |
| runner = "ubuntu-24.04" | |
| [images.anneal-tc] | |
| dockerfile = "ci/docker/anneal-tc.Dockerfile" | |
| context = [ | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "trusted/anneal-tcb-verify/Cargo.toml", | |
| "trusted/audit/Cargo.toml", | |
| "trusted/cargo-anneal/Cargo.toml", | |
| "trusted/core-verified/Cargo.toml", | |
| "trusted/mir-ir/Cargo.toml", | |
| "trusted/rustc-capture/Cargo.toml", | |
| "tests/testkit/Cargo.toml", | |
| "tests/audit/Cargo.toml", | |
| "tests/cargo-anneal/Cargo.toml", | |
| "tests/differential/Cargo.toml", | |
| "tests/rustc-capture/Cargo.toml", | |
| "tests/itree_diff/Cargo.toml", | |
| "trusted/lean/lean-toolchain", | |
| "trusted/lean/foundation-lock.json", | |
| "ci/verify_starnix_e2e.py", | |
| "tests/cargo-anneal/tests/fixtures/starnix/source.json", | |
| "ci/pins/zerocopy-dogfood.json", | |
| "ci/scripts/fetch_zerocopy_dogfood.py", | |
| ] }, | |
| ] | |
| runner = "ubuntu-24.04" | |
| [images.anneal-arm64] | |
| dockerfile = "ci/docker/anneal-arm64.Dockerfile" | |
| platform = "linux/arm64" | |
| context = [] | |
| pins = ["rust-toolchains"] | |
| runner = "ubuntu-24.04-arm" | |
| [images.anneal-audit-lite] | |
| dockerfile = "ci/docker/anneal-audit-lite.Dockerfile" | |
| context = [ | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "trusted/anneal-tcb-verify/Cargo.toml", | |
| "trusted/audit/Cargo.toml", | |
| "trusted/cargo-anneal/Cargo.toml", | |
| "trusted/core-verified/Cargo.toml", | |
| "trusted/mir-ir/Cargo.toml", | |
| "trusted/rustc-capture/Cargo.toml", | |
| "tests/testkit/Cargo.toml", | |
| "tests/audit/Cargo.toml", | |
| "tests/cargo-anneal/Cargo.toml", | |
| "tests/differential/Cargo.toml", | |
| "tests/rustc-capture/Cargo.toml", | |
| "tests/itree_diff/Cargo.toml", | |
| "trusted/lean/lean-toolchain", | |
| "trusted/lean/foundation-lock.json", | |
| ] }, | |
| ] | |
| pins = ["rust-toolchains"] | |
| runner = "ubuntu-24.04" | |
| # --------------------------------------------------------------------------- | |
| # Content-Addressed Cache Slots | |
| # --------------------------------------------------------------------------- | |
| [caches.miri-v1] | |
| mount = "/ci-cache/miri" | |
| tier = "public_cas" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/lean/lean-toolchain", | |
| "trusted/lean/foundation-lock.json", | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| ] }, | |
| ] | |
| [caches.anneal-bundled-oleans-v1] | |
| mount = "/ci-cache/bundled-oleans" | |
| tier = "public_cas" | |
| # `theory/bundle-manifest.json` (already a `tier2` file in `codex_review.py`) | |
| # pins the SHA-256 of every bundled `theory/` module (enforced fail-closed by | |
| # `prebuild_bundled_oleans.py`), so keying on the manifest avoids invalidating | |
| # the slot on unbundled `theory/` files and avoids escalating unbundled | |
| # `theory/**/*.lean` PRs to `tier2`. | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/lean/**", | |
| "theory/bundle-manifest.json", | |
| "trusted/audit/SpecPreflight.lean", | |
| "trusted/audit/TrustedBoundary.lean", | |
| "trusted/audit/library-lock.json", | |
| "trusted/cargo-anneal/src/trusted_bundle.rs", | |
| "ci/anneal_ci_lib.py", | |
| "ci/pack_omnibus_archive.sh", | |
| "ci/prebuild_bundled_oleans.py", | |
| "ci/run_anneal_check.sh", | |
| "ci/workflow_yaml.py", | |
| ] }, | |
| ] | |
| [caches.exocrate-cargo-v1] | |
| mount = "/cargo-home" | |
| cargo_locked = { workspace = "crates/exocrate/Cargo.toml" } | |
| [caches.anneal-mir-eval-cargo-v1] | |
| mount = "/cargo-home" | |
| cargo_locked = { workspace = "tools/anneal-mir-eval/Cargo.toml" } | |
| [caches.anneal-spec-cargo-v1] | |
| mount = "/cargo-home" | |
| cargo_locked = { workspace = "tools/anneal-spec/Cargo.toml" } | |
| [caches.anneal-scaffold-cargo-v1] | |
| mount = "/cargo-home" | |
| cargo_locked = { workspace = "tools/anneal-scaffold/Cargo.toml" } | |
| [caches.anneal-cpp-cargo-v1] | |
| mount = "/cargo-home" | |
| cargo_locked = { workspace = "tools/anneal-cpp/Cargo.toml" } | |
| [caches.anneal-cargo-v1] | |
| mount = "/cargo-home" | |
| cargo_locked = { workspace = "Cargo.toml" } | |
| # --------------------------------------------------------------------------- | |
| # Formatting, Crates, Tools, and Repo Hygiene Checks | |
| # --------------------------------------------------------------------------- | |
| [[checks]] | |
| id = "fmt-tools" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "fmt" | |
| pins = ["rust-toolchains"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "rustfmt.toml", | |
| "tools/**/*.rs", | |
| "tools/**/Cargo.toml", | |
| "ci/scripts/run_fmt_domain.sh", | |
| ], exclude = ["tools/**/target/**"] }, | |
| ] | |
| command = ["./ci/scripts/run_fmt_domain.sh"] | |
| env = { FMT_DOMAIN = "tools" } | |
| [[checks]] | |
| id = "fmt-exocrate" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "fmt" | |
| pins = ["rust-toolchains"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "rustfmt.toml", | |
| "crates/exocrate/**", | |
| "ci/scripts/run_fmt_domain.sh", | |
| ], exclude = ["crates/exocrate/target/**"] }, | |
| ] | |
| command = ["./ci/scripts/run_fmt_domain.sh"] | |
| env = { FMT_DOMAIN = "exocrate" } | |
| [[checks]] | |
| id = "exocrate-test" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "tools-rust" | |
| caches = ["exocrate-cargo-v1"] | |
| writable_dirs = ["crates/exocrate/target"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "crates/exocrate/Cargo.toml" }, | |
| { kind = "glob", include = ["ci/scripts/run_exocrate_test.sh"] }, | |
| ] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| command = ["./ci/scripts/run_exocrate_test.sh"] | |
| [[checks]] | |
| id = "tools-anneal-mir-eval" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "tools-rust" | |
| pins = ["rust-toolchains"] | |
| caches = ["anneal-mir-eval-cargo-v1"] | |
| writable_dirs = ["tools/anneal-mir-eval/target"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "tools/anneal-mir-eval/Cargo.toml" }, | |
| { kind = "glob", include = ["ci/scripts/run_anneal_mir_eval_check.sh"] }, | |
| ] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| command = ["./ci/scripts/run_anneal_mir_eval_check.sh"] | |
| [[checks]] | |
| id = "tools-anneal-spec" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "tools-rust" | |
| pins = ["rust-toolchains"] | |
| caches = ["anneal-spec-cargo-v1"] | |
| writable_dirs = ["tools/anneal-spec/target"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "tools/anneal-spec/Cargo.toml" }, | |
| { kind = "glob", include = [ | |
| "tools/anneal-spec/tests/**", | |
| "ci/scripts/run_anneal_spec_check.sh", | |
| "ci/pins/zerocopy-dogfood.json", | |
| "ci/scripts/fetch_zerocopy_dogfood.py", | |
| ] }, | |
| ] | |
| env = { CARGO_HOME = "/cargo-home", ANNEAL_ZEROCOPY_ROOT = "/opt/zerocopy-dogfood/zerocopy" } | |
| command = ["./ci/scripts/run_anneal_spec_check.sh"] | |
| [[checks]] | |
| id = "tools-anneal-scaffold" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "tools-rust" | |
| pins = ["rust-toolchains"] | |
| caches = ["anneal-scaffold-cargo-v1"] | |
| writable_dirs = ["tools/anneal-scaffold/target"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "tools/anneal-scaffold/Cargo.toml" }, | |
| { kind = "glob", include = [ | |
| "ci/scripts/run_anneal_scaffold_check.sh", | |
| "trusted/rustc-capture/src/ir.rs", | |
| "trusted/rustc-capture/src/lean.rs", | |
| "trusted/cargo-anneal/src/verify.rs", | |
| ] }, | |
| ] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| command = ["./ci/scripts/run_anneal_scaffold_check.sh"] | |
| [[checks]] | |
| id = "tools-anneal-cpp" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "tools-rust" | |
| pins = ["rust-toolchains"] | |
| caches = ["anneal-cpp-cargo-v1"] | |
| writable_dirs = ["tools/anneal-cpp/target"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "tools/anneal-cpp/Cargo.toml" }, | |
| { kind = "glob", include = [ | |
| "tools/anneal-cpp/lower-cpp/tests/**", | |
| "ci/scripts/run_anneal_cpp_check.sh", | |
| ] }, | |
| ] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| command = ["./ci/scripts/run_anneal_cpp_check.sh"] | |
| [[checks]] | |
| id = "meta-actions" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "meta-fast" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| ".github/**", | |
| "ci/check_actions.sh", | |
| "ci/check_job_dependencies.sh", | |
| "ci/scripts/run_meta_actions.sh", | |
| "trusted/cargo-anneal/Cargo.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/scripts/run_meta_actions.sh"] | |
| [[checks]] | |
| id = "meta-githooks" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| shard_group = "meta-fast" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "ci/*.sh", | |
| "ci/scripts/*.sh", | |
| ] }, | |
| ] | |
| command = ["./ci/scripts/check_shell_and_hooks.sh", "--require-shellcheck"] | |
| [[checks]] | |
| id = "anneal-structure-lint" | |
| image = "anneal-lean-lite" | |
| runner = "ubuntu-24.04" | |
| sandbox = "nested_bwrap" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "*.md", | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| "rustfmt.toml", | |
| ".agents/**", | |
| ".config/**", | |
| ".gemini/**", | |
| ".github/**", | |
| "ci/**", | |
| "correspondence/**", | |
| "crates/**", | |
| "docs/**", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]/**", | |
| "site/**", | |
| "skills/**", | |
| "tests/**", | |
| "theory/**", | |
| "tools/**", | |
| "trusted/**", | |
| "vendor/**", | |
| "Specs/**", | |
| "specs/Specs/**", | |
| ], exclude = [ | |
| "target/**", | |
| "tools/*/target/**", | |
| "crates/*/target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", | |
| ".cargo/**", | |
| ".gitmodules", | |
| "rust-toolchain", | |
| "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "structure-lint"] | |
| # --------------------------------------------------------------------------- | |
| # Anneal Checks (NestedBwrap + Stable Clippy) | |
| # --------------------------------------------------------------------------- | |
| [[checks]] | |
| id = "anneal-flake-eval" | |
| image = "anneal-tc" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| shard_group = "anneal-fast" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "trusted/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| "ci/pack_omnibus_archive.sh", | |
| "ci/prebuild_bundled_oleans.py", | |
| "ci/anneal_ci_lib.py", | |
| "ci/workflow_yaml.py", | |
| "ci/render_correspondence_provenance.py", | |
| "ci/run_anneal_check.sh", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "flake-eval"] | |
| [[checks]] | |
| id = "anneal-ci-tests" | |
| image = "anneal-lean-lite" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| ".github/**", | |
| ".config/**", | |
| "ci/**", | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/**", | |
| "tests/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "crates/**", | |
| "tools/**", | |
| "tools/cargo-anneal/**", | |
| "tools/anneal-corpus-scan/canonical_taxonomy_v1.json", | |
| "tools/anneal-spec/lower/src/**", | |
| "tools/anneal-spec/tests/**", | |
| "Specs/**", | |
| "specs/Specs/**", | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| "docs/**", | |
| "site/**", | |
| "skills/**", | |
| ".agents/**", | |
| ".gemini/**", | |
| "*.md", | |
| ], exclude = ["target/**", "tools/*/target/**", "crates/*/target/**", "**/__pycache__/**"] }, | |
| { kind = "glob", include = [ | |
| "experimental", | |
| "experimental/**", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]/**", | |
| "vendor/minirust/**", | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "ci-tests"] | |
| [[checks]] | |
| id = "anneal-clippy" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| caches = ["anneal-cargo-v1"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "Cargo.toml" }, | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/root-manifest.sha256", | |
| "trusted/cargo-anneal/assets/**", | |
| "trusted/cargo-anneal/skills/**", | |
| "trusted/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| "ci/run_anneal_check.sh", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "clippy"] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| [[checks]] | |
| id = "anneal-sandbox-aarch64" | |
| image = "anneal-arm64" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04-arm" | |
| caches = ["anneal-cargo-v1"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/**", | |
| "tests/**", | |
| "theory/**", | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| "ci/run_anneal_check.sh", | |
| ], exclude = ["target/**"] }, | |
| { kind = "glob", include = [ | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "sandbox"] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| [[checks]] | |
| id = "anneal-cargo-boundary" | |
| image = "anneal-rust" | |
| runner = "ubuntu-24.04" | |
| caches = ["anneal-cargo-v1"] | |
| inputs = [ | |
| { kind = "cargo_workspace", manifest_path = "Cargo.toml" }, | |
| { kind = "glob", include = [ | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/root-manifest.sha256", | |
| "trusted/**", | |
| "theory/bundle-manifest.json", | |
| "theory/Anneal/**", | |
| "tests/**", | |
| "crates/**", | |
| "tools/**", | |
| "ci/run_anneal_check.sh", | |
| ], exclude = [ | |
| "target/**", | |
| "tools/*/target/**", | |
| "crates/*/target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| "experimental", | |
| "experimental/**", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]/**", | |
| ".cargo", | |
| ".cargo/**", | |
| ".gitmodules", | |
| "rust-toolchain", | |
| "rust-toolchain.toml", | |
| "rust-toolchain.*", | |
| ".[cC][aA][rR][gG][oO]", | |
| ".[cC][aA][rR][gG][oO]/**", | |
| ".[gG][iI][tT][mM][oO][dD][uU][lL][eE][sS]", | |
| "[rR][uU][sS][tT]-[tT][oO][oO][lL][cC][hH][aA][iI][nN]", | |
| "[rR][uU][sS][tT]-[tT][oO][oO][lL][cC][hH][aA][iI][nN].*", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "cargo-boundary"] | |
| env = { CARGO_HOME = "/cargo-home" } | |
| [[checks]] | |
| id = "anneal-audit" | |
| image = "anneal-audit-lite" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| caches = ["miri-v1"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "vendor/lean-miri/**", | |
| "vendor/minirust/**", | |
| "tests/**/Cargo.toml", | |
| "tests/**/build.rs", | |
| "tests/**/src/**", | |
| "crates/**/Cargo.toml", | |
| "crates/**/Cargo.lock", | |
| "crates/**/build.rs", | |
| "tools/**/Cargo.toml", | |
| "tools/**/Cargo.lock", | |
| "tools/**/build.rs", | |
| "tools/anneal-stage-elab/src/**", | |
| "ci/run_anneal_check.sh", | |
| "ci/check_bundle_tree.py", | |
| ], exclude = [ | |
| "target/**", | |
| "tools/*/target/**", | |
| "crates/*/target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| "experimental", | |
| "experimental/**", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]", | |
| "[eE][xX][pP][eE][rR][iI][mM][eE][nN][tT][aA][lL]/**", | |
| ".cargo", | |
| ".cargo/**", | |
| ".gitmodules", | |
| "rust-toolchain", | |
| "rust-toolchain.toml", | |
| "rust-toolchain.*", | |
| ".[cC][aA][rR][gG][oO]", | |
| ".[cC][aA][rR][gG][oO]/**", | |
| ".[gG][iI][tT][mM][oO][dD][uU][lL][eE][sS]", | |
| "[rR][uU][sS][tT]-[tT][oO][oO][lL][cC][hH][aA][iI][nN]", | |
| "[rR][uU][sS][tT]-[tT][oO][oO][lL][cC][hH][aA][iI][nN].*", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "audit"] | |
| env = { ANNEAL_CI_MIRI_CACHE_DIR = "/ci-cache/miri" } | |
| [[checks]] | |
| id = "anneal-guard-mutation" | |
| image = "anneal-lean-lite" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/root-manifest.sha256", | |
| "ci/run_anneal_check.sh", | |
| "ci/check_guard_mutation.py", | |
| "ci/guard_mutation/**", | |
| "ci/fixtures/guard_mutation/**", | |
| "trusted/lean/**", | |
| "trusted/audit/SpecPreflight.lean", | |
| "trusted/audit/TrustedBoundary.lean", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "guard-mutation"] | |
| env = { GUARD_SHARD_SPEC = "${matrix.shard}" } | |
| matrix = { shard = ["1/6", "2/6", "3/6", "4/6", "5/6", "6/6"] } | |
| [[checks]] | |
| id = "anneal-ws-meta" | |
| image = "anneal-tc" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| ".config/nextest.toml", | |
| "trusted/**", | |
| "tests/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "vendor/lean-miri/**", | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| "crates/**/Cargo.toml", | |
| "crates/**/Cargo.lock", | |
| "crates/**/build.rs", | |
| "tools/**/Cargo.toml", | |
| "tools/**/Cargo.lock", | |
| "tools/**/build.rs", | |
| "tools/anneal-stage-elab/src/**", | |
| "ci/run_anneal_check.sh", | |
| "ci/pack_omnibus_archive.sh", | |
| "ci/prebuild_bundled_oleans.py", | |
| "ci/render_correspondence_provenance.py", | |
| "ci/check_bundle_tree.py", | |
| "ci/check_cartridges_lock.py", | |
| "ci/check_mir_differential.py", | |
| "ci/anneal_ci_lib.py", | |
| "ci/perf_tracking.py", | |
| "ci/verify_zerocopy.py", | |
| "ci/workflow_yaml.py", | |
| "ci/perf_budgets.json", | |
| "ci/miri_oracle_pin.json", | |
| ], exclude = [ | |
| "target/**", | |
| "tools/*/target/**", | |
| "crates/*/target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "ws-meta"] | |
| [[checks]] | |
| id = "anneal-ws-test" | |
| image = "anneal-tc" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| caches = ["anneal-bundled-oleans-v1"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| ".config/nextest.toml", | |
| "trusted/**", | |
| "tests/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "vendor/lean-miri/**", | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| "crates/**/Cargo.toml", | |
| "crates/**/Cargo.lock", | |
| "crates/**/build.rs", | |
| "tools/**/Cargo.toml", | |
| "tools/**/Cargo.lock", | |
| "tools/**/build.rs", | |
| "tools/anneal-stage-elab/src/**", | |
| "ci/run_anneal_check.sh", | |
| "ci/pack_omnibus_archive.sh", | |
| "ci/prebuild_bundled_oleans.py", | |
| "ci/render_correspondence_provenance.py", | |
| "ci/check_bundle_tree.py", | |
| "ci/check_cartridges_lock.py", | |
| "ci/check_mir_differential.py", | |
| "ci/anneal_ci_lib.py", | |
| "ci/perf_tracking.py", | |
| "ci/verify_zerocopy.py", | |
| "ci/workflow_yaml.py", | |
| "ci/perf_budgets.json", | |
| "ci/miri_oracle_pin.json", | |
| ], exclude = [ | |
| "target/**", | |
| "tools/*/target/**", | |
| "crates/*/target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "ws-test"] | |
| env = { SHARD_SPEC = "${matrix.shard}", ANNEAL_ZEROCOPY_ROOT = "/opt/zerocopy-dogfood/zerocopy", ANNEAL_CI_PREBUILT_OLEANS_CACHE_DIR = "/ci-cache/bundled-oleans" } | |
| matrix = { shard = [ | |
| "1/20", "2/20", "3/20", "4/20", "5/20", | |
| "6/20", "7/20", "8/20", "9/20", "10/20", | |
| "11/20", "12/20", "13/20", "14/20", "15/20", | |
| "16/20", "17/20", "18/20", "19/20", "20/20", | |
| ] } | |
| [[checks]] | |
| id = "anneal-installed-smoke" | |
| image = "anneal-tc" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| caches = ["anneal-bundled-oleans-v1"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "README.md", | |
| "LICENSE-APACHE", | |
| "LICENSE-BSD", | |
| "LICENSE-MIT", | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "tests/**/Cargo.toml", | |
| "tests/**/src/**", | |
| "tests/testkit/**", | |
| "tests/cargo-anneal/**", | |
| "ci/run_anneal_check.sh", | |
| "ci/pack_omnibus_archive.sh", | |
| "ci/prebuild_bundled_oleans.py", | |
| "ci/render_correspondence_provenance.py", | |
| "ci/check_bundle_tree.py", | |
| "ci/probe_alpha.py", | |
| "ci/verify_zerocopy.py", | |
| "ci/anneal_ci_lib.py", | |
| "ci/workflow_yaml.py", | |
| ], exclude = [ | |
| "target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| "ci/pins/zerocopy-dogfood.json", | |
| "ci/scripts/fetch_zerocopy_dogfood.py", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "installed-smoke"] | |
| env = { ANNEAL_ZEROCOPY_ROOT = "/opt/zerocopy-dogfood/zerocopy", ANNEAL_CI_PREBUILT_OLEANS_CACHE_DIR = "/ci-cache/bundled-oleans" } | |
| [[checks]] | |
| id = "anneal-dogfood-full" | |
| image = "anneal-tc" | |
| sandbox = "nested_bwrap" | |
| runner = "ubuntu-24.04" | |
| caches = ["anneal-bundled-oleans-v1"] | |
| inputs = [ | |
| { kind = "glob", include = [ | |
| "Cargo.toml", | |
| "Cargo.lock", | |
| "flake.nix", | |
| "flake.lock", | |
| "trusted/**", | |
| "theory/**", | |
| "correspondence/**", | |
| "tests/**/Cargo.toml", | |
| "tests/**/src/**", | |
| "tests/cargo-anneal/tests/fixtures/starnix/**", | |
| "tools/anneal-spec/**", | |
| "ci/run_anneal_check.sh", | |
| "ci/pack_omnibus_archive.sh", | |
| "ci/prebuild_bundled_oleans.py", | |
| "ci/render_correspondence_provenance.py", | |
| "ci/check_bundle_tree.py", | |
| "ci/verify_starnix_e2e.py", | |
| "ci/verify_zerocopy.py", | |
| "ci/verify_anneal_spec_zerocopy.py", | |
| "ci/anneal_ci_lib.py", | |
| "ci/workflow_yaml.py", | |
| ], exclude = [ | |
| "target/**", | |
| "tools/anneal-spec/target/**", | |
| ] }, | |
| { kind = "glob", include = [ | |
| "vendor/lean-miri/UPSTREAM_PIN.json", | |
| "vendor/minirust/UPSTREAM_PIN.json", | |
| "ci/pins/zerocopy-dogfood.json", | |
| "ci/scripts/fetch_zerocopy_dogfood.py", | |
| ] }, | |
| { kind = "glob", include = [ | |
| ".cargo", ".cargo/**", ".gitmodules", "rust-toolchain", "rust-toolchain.toml", | |
| ] }, | |
| ] | |
| command = ["./ci/run_anneal_check.sh", "dogfood-full"] | |
| env = { ANNEAL_ZEROCOPY_ROOT = "/opt/zerocopy-dogfood/zerocopy", ANNEAL_CI_PREBUILT_OLEANS_CACHE_DIR = "/ci-cache/bundled-oleans" } |