diff --git a/.armorer/bootstrap-state-v2.json b/.armorer/bootstrap-state-v2.json new file mode 100644 index 0000000..461250a --- /dev/null +++ b/.armorer/bootstrap-state-v2.json @@ -0,0 +1,28 @@ +{ + "schema_version": 2, + "runtime_version": "0.1.0", + "catalog_sha256": "e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13", + "workflow": { + "repository": "brianluby/armorer-workflows", + "commit": "e5e9c0d31baff87e357046d81068b646a39a9f23" + }, + "last_plan_sha256": "605e7142c5c316be51c8cc81e4db0c550d0fc4ab05389ef5f10bbff353806653", + "managed": { + ".armorer/ci-policy.toml": { + "content": "# Armorer's own dependency policy. Proposed 2026-11-16 from the licenses in\n# Cargo.lock; requires owner review before it is treated as a decision.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\", \"Apache-2.0\", \"Unicode-3.0\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", + "sha256": "0fb8c49e542cbbc5583ce42b458e6022368f89661174781b588a6acbcef69b40" + }, + ".github/workflows/armorer-build.yml": { + "content": "name: Armorer unsigned build\n\non:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: false\n\njobs:\n build:\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", + "sha256": "30ff9cbd05cd26659cf7f28274f236762ba2d3fc6518b57cfa7a0d47cc12b715" + }, + ".github/workflows/armorer-ci.yml": { + "content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", + "sha256": "edfb0ff48f128193445b0f35e2022913a2e0adb71007fb59d8d535cdf4f392c5" + }, + "armorer.lock": { + "content": "schema_version = 1\nconfig_sha256 = \"03c6fa14657886d9973e9d1eef3a2a80342f353c37a1521297171c8028025c8f\"\nruntime_version = \"0.1.0\"\n\n[workflows]\nrepository = \"brianluby/armorer-workflows\"\ncommit = \"e5e9c0d31baff87e357046d81068b646a39a9f23\"\n\n[tools.actionlint--aarch64-apple-darwin]\nversion = \"1.7.12\"\nsha256 = \"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\"\n\n[tools.actionlint--aarch64-unknown-linux-gnu]\nversion = \"1.7.12\"\nsha256 = \"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\"\n\n[tools.actionlint--x86_64-unknown-linux-gnu]\nversion = \"1.7.12\"\nsha256 = \"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\"\n\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\nversion = \"0.5.9\"\nsha256 = \"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\"\n\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\nversion = \"0.5.9\"\nsha256 = \"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\"\n\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\nversion = \"0.5.9\"\nsha256 = \"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\"\n\n[tools.cargo-deny--aarch64-apple-darwin]\nversion = \"0.20.2\"\nsha256 = \"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\"\n\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\nversion = \"0.20.2\"\nsha256 = \"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\"\n\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\nversion = \"0.20.2\"\nsha256 = \"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\"\n\n[tools.cyclonedx--aarch64-apple-darwin]\nversion = \"0.33.1\"\nsha256 = \"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\"\n\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\nversion = \"0.33.1\"\nsha256 = \"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\"\n\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\nversion = \"0.33.1\"\nsha256 = \"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\"\n\n[tools.gitleaks--aarch64-apple-darwin]\nversion = \"8.30.1\"\nsha256 = \"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\"\n\n[tools.gitleaks--aarch64-unknown-linux-gnu]\nversion = \"8.30.1\"\nsha256 = \"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\"\n\n[tools.gitleaks--x86_64-unknown-linux-gnu]\nversion = \"8.30.1\"\nsha256 = \"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\"\n\n[tools.zizmor--aarch64-apple-darwin]\nversion = \"1.30.1\"\nsha256 = \"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\"\n\n[tools.zizmor--aarch64-unknown-linux-gnu]\nversion = \"1.30.1\"\nsha256 = \"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\"\n\n[tools.zizmor--x86_64-unknown-linux-gnu]\nversion = \"1.30.1\"\nsha256 = \"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\"\n", + "sha256": "32eb16fb71a014abd94fee5af76d06b99bc3b440bb49f2fb3719f4c10a68b978" + } + } +} \ No newline at end of file diff --git a/.armorer/ci-policy.toml b/.armorer/ci-policy.toml new file mode 100644 index 0000000..3611cbd --- /dev/null +++ b/.armorer/ci-policy.toml @@ -0,0 +1,16 @@ +# Armorer's own dependency policy. Proposed 2026-11-16 from the licenses in +# Cargo.lock; requires owner review before it is treated as a decision. +schema_version = 1 + +[licenses] +allow = ["MIT", "Apache-2.0", "Unicode-3.0"] + +[advisories] +exceptions = [] + +[sources] +allow_git = [] + +[bans] +multiple_versions = "warn" +deny = [] diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..ac64fe3 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,19 @@ +# Review ownership. The last matching pattern wins. +# Enforced only when a ruleset or branch protection requires code-owner review. + +* @brianluby + +# Trust anchors and anything that changes what CI or a release may do. +/.github/ @brianluby +/.armorer/ @brianluby +/armorer.toml @brianluby +/armorer.lock @brianluby +/catalogs/ @brianluby +/schemas/ @brianluby +/src/catalog.rs @brianluby +/src/upgrade/authority.rs @brianluby +/Cargo.toml @brianluby +/Cargo.lock @brianluby +/rust-toolchain.toml @brianluby +/requirements-schema.txt @brianluby +/SECURITY.md @brianluby diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..be4066d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,34 @@ +# Reviewed update proposals for exact pins. Every update is a pull request; +# nothing merges automatically. The cooldown keeps freshly published releases +# out until they have had time to be reported or yanked. +version: 2 +updates: + - package-ecosystem: cargo + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 + open-pull-requests-limit: 5 + groups: + cargo-minor-and-patch: + update-types: [minor, patch] + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 + open-pull-requests-limit: 5 + ignore: + # Pinned by the compiled Armorer catalog; moves only through `armorer upgrade`. + - dependency-name: brianluby/armorer-workflows* + + - package-ecosystem: pip + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 + open-pull-requests-limit: 2 diff --git a/.github/workflows/armorer-build.yml b/.github/workflows/armorer-build.yml new file mode 100644 index 0000000..aa983c5 --- /dev/null +++ b/.github/workflows/armorer-build.yml @@ -0,0 +1,15 @@ +name: Armorer unsigned build + +on: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: armorer-build-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + +jobs: + build: + uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23 diff --git a/.github/workflows/armorer-ci.yml b/.github/workflows/armorer-ci.yml new file mode 100644 index 0000000..3d8eb8b --- /dev/null +++ b/.github/workflows/armorer-ci.yml @@ -0,0 +1,17 @@ +name: Armorer CI + +on: + pull_request: + push: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: armorer-ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + verify: + uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23 diff --git a/.gitignore b/.gitignore index 4da176d..5b73a36 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ target/ /.opencode/ /.veans.yml .DS_Store +/.armorer/apply.lock diff --git a/Cargo.lock b/Cargo.lock index 434ce8c..ec7560f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -385,9 +385,9 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", diff --git a/Cargo.toml b/Cargo.toml index 89eea44..c83efa0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ include = ["src/**/*", "catalogs/bootstrap-tools-v1.json", "Cargo.toml", "README base64 = "=0.22.1" clap = { version = "=4.6.7", features = ["derive"] } flate2 = { version = "=1.1.10", default-features = false, features = ["miniz_oxide"] } -rustix = { version = "=1.1.5", default-features = false, features = ["process", "fs", "std"] } +rustix = { version = "=1.1.6", default-features = false, features = ["process", "fs", "std"] } schemars = "=1.2.1" semver = "=1.0.28" serde = { version = "=1.0.228", features = ["derive"] } diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..e36dfa5 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,57 @@ +# Security policy + +Bring evidence of a broken boundary. Protect the people who depend on it. +**This is the way.** + +## Report a vulnerability privately + +Use GitHub private vulnerability reporting: + + +If that form is unavailable, open a +[GitHub issue](https://github.com/brianluby/armorer/issues) that asks for a +private channel and contains no vulnerability details. Do not post exploit +steps, unpatched findings or private repository information in public issues, +pull requests or discussions. + +Use ordinary issues for non-sensitive defects and documentation problems. + +## What to include + +- The affected component and the exact commit or version. +- Host platform and Rust toolchain. +- The trust boundary you expected to hold, what happened instead, and the impact. +- A minimal reproducer that uses inert fixtures and contains no credentials. +- For verification findings: the subject bytes, the source, signer and predicate + expectations, and the policy and trusted-root identities involved. +- For local mutations: the approved plan, the file preimages and the + conflicting state. + +Keep credential values and signing keys with their owner. Redact sensitive data +and test only against systems you are authorized to test. + +## In scope + +- Read-only discovery executing repository code or writing consumer files. +- Path or symlink escape from the repository root. +- Replacement of customized or unowned files. +- Bypass of plan approval, preimage checks or the recovery journal. +- Caller-supplied commands, URLs or provenance reaching a trusted step. +- Weakened source, signer, trusted-root or subject expectations. +- Incomplete evidence accepted as a complete proof. + +A documented unimplemented capability, or an unsupported input that Armorer +rejects, is not by itself a vulnerability. Report findings in the reusable +workflows to +[armorer-workflows](https://github.com/brianluby/armorer-workflows) with their +pinned source identities. + +## Supported versions and response + +Armorer is experimental and has no released version. Fixes land on `main`. No +supported-version window, response time or bounty is promised yet; see +[compatibility](docs/compatibility.md) and the +[development map](docs/development-status.md) for current limits. + +An accepted report still needs reproduced evidence, a reviewed fix and +independent validation before disclosure is coordinated. diff --git a/armorer.lock b/armorer.lock new file mode 100644 index 0000000..0894037 --- /dev/null +++ b/armorer.lock @@ -0,0 +1,79 @@ +schema_version = 1 +config_sha256 = "03c6fa14657886d9973e9d1eef3a2a80342f353c37a1521297171c8028025c8f" +runtime_version = "0.1.0" + +[workflows] +repository = "brianluby/armorer-workflows" +commit = "e5e9c0d31baff87e357046d81068b646a39a9f23" + +[tools.actionlint--aarch64-apple-darwin] +version = "1.7.12" +sha256 = "aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f" + +[tools.actionlint--aarch64-unknown-linux-gnu] +version = "1.7.12" +sha256 = "325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6" + +[tools.actionlint--x86_64-unknown-linux-gnu] +version = "1.7.12" +sha256 = "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8" + +[tools.cargo-cyclonedx--aarch64-apple-darwin] +version = "0.5.9" +sha256 = "4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180" + +[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu] +version = "0.5.9" +sha256 = "7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a" + +[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu] +version = "0.5.9" +sha256 = "fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8" + +[tools.cargo-deny--aarch64-apple-darwin] +version = "0.20.2" +sha256 = "fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3" + +[tools.cargo-deny--aarch64-unknown-linux-gnu] +version = "0.20.2" +sha256 = "995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d" + +[tools.cargo-deny--x86_64-unknown-linux-gnu] +version = "0.20.2" +sha256 = "9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f" + +[tools.cyclonedx--aarch64-apple-darwin] +version = "0.33.1" +sha256 = "750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c" + +[tools.cyclonedx--aarch64-unknown-linux-gnu] +version = "0.33.1" +sha256 = "b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f" + +[tools.cyclonedx--x86_64-unknown-linux-gnu] +version = "0.33.1" +sha256 = "bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746" + +[tools.gitleaks--aarch64-apple-darwin] +version = "8.30.1" +sha256 = "b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5" + +[tools.gitleaks--aarch64-unknown-linux-gnu] +version = "8.30.1" +sha256 = "e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080" + +[tools.gitleaks--x86_64-unknown-linux-gnu] +version = "8.30.1" +sha256 = "551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb" + +[tools.zizmor--aarch64-apple-darwin] +version = "1.30.1" +sha256 = "e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2" + +[tools.zizmor--aarch64-unknown-linux-gnu] +version = "1.30.1" +sha256 = "7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540" + +[tools.zizmor--x86_64-unknown-linux-gnu] +version = "1.30.1" +sha256 = "e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a" diff --git a/armorer.toml b/armorer.toml new file mode 100644 index 0000000..314505c --- /dev/null +++ b/armorer.toml @@ -0,0 +1,21 @@ +# Intent for Armorer's own CLI. Release approval remains separate. +# This is the way. +schema_version = 1 +repository = "brianluby/armorer" +toolchain = "1.95.0" + +[[deliverables]] +id = "armorer-cli" +profile = "cli" +package = "armorer" +binary = "armorer" +targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "aarch64-apple-darwin"] +feature_set = "baseline" + +[feature_sets.baseline] +default_features = true +features = [] + +[policy] +license_file = "LICENSE" +attestations = "required" diff --git a/docs/adr/0012-pre-release-contract-consolidation.md b/docs/adr/0012-pre-release-contract-consolidation.md new file mode 100644 index 0000000..22d4f59 --- /dev/null +++ b/docs/adr/0012-pre-release-contract-consolidation.md @@ -0,0 +1,127 @@ +# ADR 0012: consolidate superseded contracts before the first release + +Status: decision accepted by the owner, 2026-11-16. Implementation is pending +and is delivered as separately reviewed removals. This ADR authorizes no +release, tag or publication. + +## Context + +Armorer has no tagged release and no external adopter. Both pilots (Momus and +Rusty Brain) have not started. The only repository carrying Armorer-managed +files is Armorer itself, bootstrapped on 2026-11-16 at `bootstrap-v2`. + +During development, each new contract was added beside its predecessor and the +predecessor was frozen. ADRs 0009, 0010 and 0011 and the comment in +`src/upgrade/authority.rs` state the rule: a stable ID or version has an +immutable meaning, and a successor is added without moving or removing it. + +That rule protects adopters. Applied before any adopter exists, it has only a +cost. Main currently carries: + +- two provisioning paths: version-one `plan` / `preview` / `apply` / `recover` + (toolchain file only) and version-two `bootstrap` (all five files); +- three ownership formats: `.armorer/state.json`, + `.armorer/bootstrap-state-v2.json` and the upgrade state; +- three verification-context readers: `legacy-v1`, `native-v2` and `native-v3`; +- two compiled catalogs: `bootstrap-v1` and `bootstrap-v2`, which authenticate + the same tool bytes and differ only in the workflow commit. + +Every retained version needs its own schema, examples, tests, guards against +cross-version confusion, and documentation. The 2026-11-16 review +(`reviews/2026-11-16-architecture-security-roadmap-review.md`, finding A4) +identified this as the main obstacle to unifying the transaction engine and to +adding other language ecosystems. + +## Decision + +**The immutability rule takes effect at the first tagged release.** Before that +tag, a superseded contract that no adopter depends on is removed, not frozen. + +Armorer 0.1.0 ships exactly one supported version of each document and one +provisioning path. From the 0.1.0 tag onward, the existing rule applies without +exception: published IDs and versions keep their meaning, and change arrives +only as a separately reviewed successor with migration tests. + +### Removed before 0.1.0 + +| Removed | Survivor | +| --- | --- | +| Top-level `plan`, `plan --preview`, `preview`, `apply` and `recover` commands and the `plan-v1` schema | `bootstrap plan`, `bootstrap check`, `bootstrap apply`, `bootstrap recover` and `bootstrap-plan-v2` | +| Version-one ownership state `.armorer/state.json`, journal `.armorer/journal.json`, and the guards and migration paths that exist only to keep them apart from version two (`guard_v1`, the `LegacyV1` upgrade source) | `.armorer/bootstrap-state-v2.json` and the upgrade state | +| `--context-kind legacy-v1` and `native-v2`, the `open` and `open_native_v2` readers, and the standalone `verification-context-v1` and `verification-context-v2` schemas | `native-v3` (`verification-context-v3`) | +| Compiled catalog `bootstrap-v1` as a production authority | `bootstrap-v2` | + +Top-level `check` is kept as a command name but reads the surviving plan +contract. The removed command names stay reserved; reusing them is a separate +CLI decision. + +### Kept + +- Document version numbers are **not** renumbered. The survivors stay + `bootstrap-plan-v2`, `verification-context-v3` and `bootstrap-v2`. Retained + review receipts under `reviews/` refer to these numbers, and renumbering + would make that evidence ambiguous. +- Inner records that the survivors embed keep their shape. In particular the + version-three context still nests the `ReleaseExpectations` record, and + `config-v1`, `lock-v1`, `ci-policy-v1` and the trust contracts are current, + not superseded. +- Every fail-closed behavior stays. An unknown version, catalog ID or context + kind is still an error with no fallback. Removal narrows what is accepted; it + never widens it. +- Historical receipts under `reviews/` stay as written. They describe the + source they were taken from and are not rewritten to match the new surface. + +### Rules for the removal work + +1. **Reject, do not ignore.** After removal, a repository that still carries + `.armorer/state.json` or `.armorer/journal.json` is refused with an explicit + unsupported-version error. It is never treated as unmanaged, because that + would let an old ownership record be silently re-adopted. +2. **One removal per reviewed change.** Each row in the table is its own pull + request with its schema, examples, tests and documentation, so a regression + is attributable. +3. **Keep the upgrade path tested.** `bootstrap-v1` to `bootstrap-v2` is today + the only exercised catalog-to-catalog migration. Before `bootstrap-v1` is + removed as a production authority, the upgrade tests move to a test-only + predecessor catalog that production builds cannot select. +4. **Adversarial tests follow the boundary.** Tests that prove version-one + packets cannot drive version-two writes are replaced by tests that prove + version-one packets are rejected outright. +5. **Record the freeze.** The 0.1.0 release notes list the supported version of + every document. That list is the baseline the immutability rule protects. + +## Consequences + +- Fewer schemas, commands and guards to review, test and document, and a single + ownership model for the transaction-engine unification to target. +- A user who built an unreleased commit and applied a version-one plan must + remove that state by hand or re-create it with `bootstrap`. No such user is + known. The removal change must say so in its description. +- Evidence gathered against removed commands (for example the version-one + apply and rollback receipts) stops being reproducible on main. It remains + valid for the commit it names and earns no credit for later source. +- ADRs 0009, 0010 and 0011 remain accurate descriptions of why the successors + exist. Their statements that predecessors are retained are superseded by this + ADR for the period before 0.1.0 only. +- The runtime-version rule adopted on 2026-11-16 (patch releases share a + runtime contract; see `docs/upgrades.md`) is unaffected. + +## Alternatives considered + +- **Keep everything and apply immutability from the first commit.** This is the + current behavior. It preserves reproducibility of old receipts on main, at + the continuing cost described above, to protect adopters who do not exist. +- **Remove and renumber survivors to version one.** A cleaner public surface, + but it invalidates references in retained evidence and risks a reader + confusing the new version one with the removed one. +- **Hide the old paths behind a feature flag.** The code, tests and review cost + remain, and a second build configuration is added. +- **Defer until after 0.1.0.** After the tag the immutability rule applies and + the removal is no longer available. + +## Out of scope + +Unifying the three transaction engines, merging the bootstrap and upgrade +ownership formats, promoting `bootstrap` subcommands to top-level names, and +the ecosystem adapter boundary are separate decisions. This ADR only clears the +superseded contracts that stand in their way. diff --git a/docs/bootstrap-v2.md b/docs/bootstrap-v2.md index c068430..d86fd6a 100644 --- a/docs/bootstrap-v2.md +++ b/docs/bootstrap-v2.md @@ -34,8 +34,24 @@ armorer --repository /path/to/project bootstrap plan --policy /path/to/reviewed- Both commands are read-only and offline. Discovery uses a bounded temporary Cargo manifest snapshot with installed tools; it does not compile repository code, execute build scripts, resolve dependencies, install tools or write consuming -files. `check` returns 2 because secure release gates remain open. `plan` returns 0 -for a valid view even with conflicts. Inspect the complete JSON, including every +files. `plan` returns 0 for a valid view even with conflicts. + +`check` is the drift detector. It returns 0 when every managed file already holds +the generated bytes, no transaction awaits recovery, and `Cargo.lock`, the license +file and ownership are in place. Otherwise it returns 2 and names each reason on +stderr, for example `create:armorer.lock`, `conflict:.github/workflows/armorer-ci.yml` +or `cargo-lock-missing`. Stdout is the same plan document in both cases. + +A zero status means provisioning is in sync. It is not a release-readiness claim: +the plan still lists open release gates as findings. Add `--release-ready` to +require secure release readiness as well; that form returns 2 while any release +gate is open, which is always the case in this version. + +```sh +armorer --repository /path/to/project bootstrap check --policy .armorer/ci-policy.toml +armorer --repository /path/to/project bootstrap check --policy .armorer/ci-policy.toml --release-ready +``` + Inspect the complete JSON, including every before/proposed byte, disposition, ownership flag and unified diff. Missing files are distinct from empty text. CRLF, Unicode and final-newline absence remain exact; a complete escaped view exceeding 1 MiB fails instead of truncating a conflict. diff --git a/docs/cli-reference.md b/docs/cli-reference.md index e8428ae..2633133 100644 --- a/docs/cli-reference.md +++ b/docs/cli-reference.md @@ -104,7 +104,10 @@ There are 27 schema names on main. JSON examples under | --- | --- | --- | | Valid plan/preview/catalog, successful apply/recovery, schema or help | 0 | JSON for operations; text for help | | Operational failure | 1 | JSON error on stdout | -| Valid `check` inspection in this version | 2 | JSON plan on stdout | +| Valid top-level `check` inspection in this version | 2 | JSON plan on stdout | +| `bootstrap check`, provisioning in sync | 0 | JSON plan on stdout | +| `bootstrap check`, drift or open setup finding | 2 | JSON plan on stdout; reasons on stderr | +| `bootstrap check --release-ready`, any release gate open | 2 | JSON plan on stdout; reasons on stderr | | Invalid CLI arguments | 2 | Clap diagnostics on stderr | Serialization and stdout write failures also exit 1; a failed output write cannot diff --git a/docs/compatibility.md b/docs/compatibility.md index 9e98a89..089c1f9 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -14,9 +14,10 @@ release, platform qualification or SLSA achievement. | Input | Accepted boundary | | --- | --- | | `armorer.toml` | `schema_version = 1`; unknown fields rejected; workspace-root `Cargo.toml` | -| `armorer.lock` | Version 1, exact config-byte SHA-256, exact runtime-version equality, full workflow SHA and exact tool versions/digests | +| `armorer.lock` | Version 1, exact config-byte SHA-256, a runtime version on the running binary's major and minor line with a patch no newer than its own, full workflow SHA and exact tool versions/digests | | Saved plan | Version 1 and exact runtime; canonical typed digest and all current preimages must match | -| Ownership state/journal | Current schema/runtime and approved plan bindings; incompatible or malformed state blocks mutation | +| Ownership state | Current schema, the same patch-line runtime rule as the lock, and approved plan bindings; incompatible or malformed state blocks mutation | +| Journal | Current schema, exact runtime and approved plan bindings; incompatible or malformed state blocks mutation | | Trust documents | Version 1 structural and semantic validation; unknown fields/versions fail; independent expected context required | Editing a TOML comment changes the config digest. The lock must bind the reviewed @@ -84,6 +85,12 @@ changing `schema_version` or `runtime_version`. Incompatible trust meanings need explicit versioned reader migration; an optional field cannot silently disable a required gate. Rehearsal policy cannot authorize publication. +Patch releases within one minor line share a runtime contract. A lock or ownership +state written for an earlier patch stays valid; one written for a newer patch, or +for another minor or major line, is rejected. Plans and journals remain bound to +the exact version that produced them. See the +[runtime version boundary](upgrades.md#runtime-version-boundary). + No supported-version/deprecation window is promised yet. A future released support policy needs maintainer acceptance and actual platform evidence. The [support-policy proposal](support-policy-draft.md) supplies a concrete diff --git a/docs/readiness.md b/docs/readiness.md index bcb40d6..48a090b 100644 --- a/docs/readiness.md +++ b/docs/readiness.md @@ -26,7 +26,9 @@ Place the plan output outside the consuming checkout: ./target/debug/armorer --repository /path/to/project bootstrap plan --policy /path/to/reviewed-policy.toml > /path/outside-project/bootstrap-plan.json ``` -`check` exits 2 while secure-release prerequisites remain. A valid `plan` exits 0 +`bootstrap check` exits 2 while the managed files drift from the generated bytes or +a local setup finding is open, and 0 once provisioning is in sync. With +`--release-ready` it also exits 2 while secure-release prerequisites remain. A valid `plan` exits 0 even if its exact before/proposed views contain conflicts. Review every managed file, catalog pin, policy byte, ownership disposition and complete diff. An unowned customization requires an explicit conflict decision. Neither command writes the diff --git a/docs/security-reporting-draft.md b/docs/security-reporting-draft.md index be8b5f7..e392a7d 100644 --- a/docs/security-reporting-draft.md +++ b/docs/security-reporting-draft.md @@ -3,6 +3,11 @@ Bring evidence of a broken boundary. Protect the people who depend on it. **This is the way.** +**Superseded 2026-11-16 by the root [security policy](../SECURITY.md)**, which +selects GitHub private vulnerability reporting. That setting still returned +`enabled: false` on 2026-11-16 and must be enabled by the owner. The text below +is retained as the original draft. + **Draft for maintainer review.** Private reporting for `brianluby/armorer` returned `enabled: false` on 2026-10-02 America/Los_Angeles. A working private reporting channel must be selected before this becomes the repository's published security diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 7582f0a..fce4d5a 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -15,6 +15,7 @@ for their separate error/recovery contracts; native publication remains gated. | --- | --- | --- | | `plan`/`preview` exits 0 with findings | Inspection succeeded; setup requirements remain | Review findings, exact changes and missing evidence | | `check` exits 2 with plan JSON | Expected current readiness result | Track prerequisites; main always retains a release-runtime gap | +| `bootstrap check` exits 2 with plan JSON | Provisioning drift, or with `--release-ready` an open release gate | Read the reasons on stderr; review a new `bootstrap plan` for drift | | Exit 1 with JSON `error` | Operation could not complete | Match the category below and correct its input | | Exit 2 with stderr usage text | Invalid CLI arguments | Read that command's `--help`; saved preview needs both plan and digest | | Incomplete stdout | Output failed | Obtain a fresh complete result before review or mutation | diff --git a/docs/upgrades.md b/docs/upgrades.md index fb96acb..7c6c5c3 100644 --- a/docs/upgrades.md +++ b/docs/upgrades.md @@ -164,9 +164,26 @@ concurrency and every write/owner/commit-marker boundary in both directions. ## Runtime version boundary -Both `bootstrap-v1` and `bootstrap-v2` freeze runtime `0.1.0` as part of their independently reviewed -authority. The compiled runtime must match that entry before an upgrade plan can -be made or accepted. A crate version bump fails with an explicit catalog-successor -error; it does not reinterpret this ID or widen historical lock acceptance. A new -runtime requires a separately reviewed catalog ID and explicit migration tests -for stored generated bases, ownership state and rollback. +Both `bootstrap-v1` and `bootstrap-v2` freeze the runtime contract `0.1.0` as part +of their independently reviewed authority. Every lock they render records that +contract, so a catalog ID renders the same lock bytes on every patch release. + +A patch release keeps the contract. The running binary accepts a lock or ownership +state from its own major and minor line whose patch is not newer than its own: +`0.1.1` reads records written for `0.1.0`, and `0.1.0` rejects records written +for `0.1.1`. Prerelease and build-metadata versions are never compatible. + +Release verification follows the same rule. The independently approved release +context names the exact runtime version and distribution bytes that built the +release; the lock's contract must be on that runtime's patch line and no newer. +The runtime distribution's own version must still equal the approved version. + +A minor or major bump still fails with an explicit catalog-successor error; it +does not reinterpret these IDs or widen historical lock acceptance. A new runtime +line requires a separately reviewed catalog ID and explicit migration tests for +stored generated bases, ownership state and rollback. + +Plans, rollback plans and recovery journals are short-lived approval packets that +reproduce generated bytes exactly. They still require the identical runtime +version: after updating Armorer, make and review a new plan, and recover an +interrupted transaction using the version that started it. diff --git a/examples/bootstrap-catalog/.github/workflows/armorer-ci.yml b/examples/bootstrap-catalog/.github/workflows/armorer-ci.yml index 1463010..3d8eb8b 100644 --- a/examples/bootstrap-catalog/.github/workflows/armorer-ci.yml +++ b/examples/bootstrap-catalog/.github/workflows/armorer-ci.yml @@ -10,7 +10,7 @@ permissions: concurrency: group: armorer-ci-${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: verify: diff --git a/examples/bootstrap-v2/cli/bootstrap-plan.json b/examples/bootstrap-v2/cli/bootstrap-plan.json index a2a01c0..b69e88b 100644 --- a/examples/bootstrap-v2/cli/bootstrap-plan.json +++ b/examples/bootstrap-v2/cli/bootstrap-plan.json @@ -24,14 +24,14 @@ "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" }, { - "after_sha256": "4625612809b67a50569a955e1e0e39761a29ff29cca4207f95bab5fb09294b3a", + "after_sha256": "edfb0ff48f128193445b0f35e2022913a2e0adb71007fb59d8d535cdf4f392c5", "before_content": null, "before_sha256": null, "disposition": "create", "owned": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", - "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", + "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" }, { "after_sha256": "e51d2e022e388d9201409e5d3e569c11115cd761cfa69ec6ecaada55562e145f", @@ -98,7 +98,7 @@ "toolchain": "1.95.0" }, "mode": "bootstrap-plan", - "plan_sha256": "af1143646c55e2dfe3c6b2ebe75d91dd0ff988b533a73df9000240d5b7165145", + "plan_sha256": "89dc2d850065a84295f12888e6b54561e811c692cbc9ecd28d4cba291b9305f6", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", "preserved_inputs": { ".armorer/state.json": null, diff --git a/examples/bootstrap-v2/library/bootstrap-plan.json b/examples/bootstrap-v2/library/bootstrap-plan.json index 5ea1a9d..c674552 100644 --- a/examples/bootstrap-v2/library/bootstrap-plan.json +++ b/examples/bootstrap-v2/library/bootstrap-plan.json @@ -24,14 +24,14 @@ "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" }, { - "after_sha256": "4625612809b67a50569a955e1e0e39761a29ff29cca4207f95bab5fb09294b3a", + "after_sha256": "edfb0ff48f128193445b0f35e2022913a2e0adb71007fb59d8d535cdf4f392c5", "before_content": null, "before_sha256": null, "disposition": "create", "owned": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", - "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", + "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" }, { "after_sha256": "f5d5eed7b8c3a83db90bec86f8d748efbfa4187e44faf13c92c79b95e353bb73", @@ -98,7 +98,7 @@ "toolchain": "1.95.0" }, "mode": "bootstrap-plan", - "plan_sha256": "e004506dabb1a63337adf0f956ff85a8611e7304ced9cf88820872fb86f78b41", + "plan_sha256": "bcff31500a7c2d971e9098408e67a263b9833f986ec2ed85c9d79b22f6bc1cfc", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", "preserved_inputs": { ".armorer/state.json": null, diff --git a/examples/bootstrap-v2/service/bootstrap-plan.json b/examples/bootstrap-v2/service/bootstrap-plan.json index bd62d76..a4672c0 100644 --- a/examples/bootstrap-v2/service/bootstrap-plan.json +++ b/examples/bootstrap-v2/service/bootstrap-plan.json @@ -24,14 +24,14 @@ "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" }, { - "after_sha256": "4625612809b67a50569a955e1e0e39761a29ff29cca4207f95bab5fb09294b3a", + "after_sha256": "edfb0ff48f128193445b0f35e2022913a2e0adb71007fb59d8d535cdf4f392c5", "before_content": null, "before_sha256": null, "disposition": "create", "owned": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", - "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n", + "unified_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n" }, { "after_sha256": "07fd20679462311fb9f3d71a20d95c79d063e69286b7a945683a1f56cc9f1974", @@ -98,7 +98,7 @@ "toolchain": "1.95.0" }, "mode": "bootstrap-plan", - "plan_sha256": "29909a625b88833358def12fb036baecd02d911fcd05bb766828aa73ef19828e", + "plan_sha256": "b746f05adedaa86269b607f3a1e6ad8f309477db577405bf4081acb64c15472f", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", "preserved_inputs": { ".armorer/state.json": null, diff --git a/examples/upgrades/cli/rollback-plan.json b/examples/upgrades/cli/rollback-plan.json index 6342f97..f776f4b 100644 --- a/examples/upgrades/cli/rollback-plan.json +++ b/examples/upgrades/cli/rollback-plan.json @@ -3,11 +3,11 @@ "changes": [ { "after_sha256": null, - "before_content": "{\n \"schema_version\": 1,\n \"runtime_version\": \"0.1.0\",\n \"authority\": {\n \"id\": \"bootstrap-v1\",\n \"revision\": 1,\n \"workflow_repository\": \"brianluby/armorer-workflows\",\n \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"runtime_version\": \"0.1.0\",\n \"config_schema_version\": 1,\n \"policy_schema_version\": 1\n },\n \"last_plan_sha256\": \"9f4f249eebf559e7b9fc3f4b0f2d8b3d635bdb890fb8460ff6f7054b52b462d9\",\n \"config_sha256\": \"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\",\n \"toolchain\": \"1.95.0\",\n \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\",\n \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\"\n },\n \"armorer.lock\": {\n \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"generated_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\",\n \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"applied_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\"\n },\n \"rust-toolchain.toml\": {\n \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", - "before_sha256": "27f4c769728e271d3fe5f6a8960dd1f8d38cbfa595f43c8e417b85a75240e994", + "before_content": "{\n \"schema_version\": 1,\n \"runtime_version\": \"0.1.0\",\n \"authority\": {\n \"id\": \"bootstrap-v1\",\n \"revision\": 1,\n \"workflow_repository\": \"brianluby/armorer-workflows\",\n \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"runtime_version\": \"0.1.0\",\n \"config_schema_version\": 1,\n \"policy_schema_version\": 1\n },\n \"last_plan_sha256\": \"e7c3eba5a9bdebf99ca9662f4114a2a5c662014c7ee35fa5ea2af7600af733ff\",\n \"config_sha256\": \"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\",\n \"toolchain\": \"1.95.0\",\n \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\",\n \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\"\n },\n \"armorer.lock\": {\n \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"generated_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\",\n \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"applied_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\"\n },\n \"rust-toolchain.toml\": {\n \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", + "before_sha256": "be92a89ec788fecf5246570076e2452a22db9a890a27ced05cbecb4b7b51c10a", "path": ".armorer/upgrade-state-v1.json", "proposed_content": null, - "unified_diff": "--- a/.armorer/upgrade-state-v1.json\n+++ /dev/null\n@@ -1,50 +0,0 @@\n-{\n- \"schema_version\": 1,\n- \"runtime_version\": \"0.1.0\",\n- \"authority\": {\n- \"id\": \"bootstrap-v1\",\n- \"revision\": 1,\n- \"workflow_repository\": \"brianluby/armorer-workflows\",\n- \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n- \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n- \"runtime_version\": \"0.1.0\",\n- \"config_schema_version\": 1,\n- \"policy_schema_version\": 1\n- },\n- \"last_plan_sha256\": \"9f4f249eebf559e7b9fc3f4b0f2d8b3d635bdb890fb8460ff6f7054b52b462d9\",\n- \"config_sha256\": \"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\",\n- \"toolchain\": \"1.95.0\",\n- \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"managed\": {\n- \".armorer/ci-policy.toml\": {\n- \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n- \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n- },\n- \".github/workflows/armorer-build.yml\": {\n- \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n- \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n- },\n- \".github/workflows/armorer-ci.yml\": {\n- \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\",\n- \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\"\n- },\n- \"armorer.lock\": {\n- \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"generated_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\",\n- \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"applied_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\"\n- },\n- \"rust-toolchain.toml\": {\n- \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n- \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n- }\n- }\n-}\n\\ No newline at end of file\n" + "unified_diff": "--- a/.armorer/upgrade-state-v1.json\n+++ /dev/null\n@@ -1,50 +0,0 @@\n-{\n- \"schema_version\": 1,\n- \"runtime_version\": \"0.1.0\",\n- \"authority\": {\n- \"id\": \"bootstrap-v1\",\n- \"revision\": 1,\n- \"workflow_repository\": \"brianluby/armorer-workflows\",\n- \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n- \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n- \"runtime_version\": \"0.1.0\",\n- \"config_schema_version\": 1,\n- \"policy_schema_version\": 1\n- },\n- \"last_plan_sha256\": \"e7c3eba5a9bdebf99ca9662f4114a2a5c662014c7ee35fa5ea2af7600af733ff\",\n- \"config_sha256\": \"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\",\n- \"toolchain\": \"1.95.0\",\n- \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"managed\": {\n- \".armorer/ci-policy.toml\": {\n- \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n- \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n- },\n- \".github/workflows/armorer-build.yml\": {\n- \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n- \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n- },\n- \".github/workflows/armorer-ci.yml\": {\n- \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\",\n- \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\"\n- },\n- \"armorer.lock\": {\n- \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"generated_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\",\n- \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"eadc700140b56f4bf875cc9ef65f266503ea1bf3fd82f41aeb7b4e23cf708ec8\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"applied_sha256\": \"59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac\"\n- },\n- \"rust-toolchain.toml\": {\n- \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n- \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n- }\n- }\n-}\n\\ No newline at end of file\n" }, { "after_sha256": null, @@ -27,11 +27,11 @@ }, { "after_sha256": null, - "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "before_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "before_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "path": ".github/workflows/armorer-ci.yml", "proposed_content": null, - "unified_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ /dev/null\n@@ -1,17 +0,0 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: true\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" + "unified_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ /dev/null\n@@ -1,17 +0,0 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { "after_sha256": null, @@ -90,19 +90,19 @@ "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { - "after_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "after_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "base_content": null, "base_sha256": null, "before_content": null, "before_sha256": null, - "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "decision": "create", "imported": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { "after_sha256": "59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac", @@ -340,9 +340,9 @@ "name": "zizmor--x86_64-unknown-linux-gnu" } ], - "plan_sha256": "9f4f249eebf559e7b9fc3f4b0f2d8b3d635bdb890fb8460ff6f7054b52b462d9", + "plan_sha256": "e7c3eba5a9bdebf99ca9662f4114a2a5c662014c7ee35fa5ea2af7600af733ff", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", - "policy_review_day": 20728, + "policy_review_day": 20773, "recovery_required": false, "runtime_version": "0.1.0", "schema_version": 1, @@ -373,7 +373,7 @@ "cargo_lock_present": true, "inputs": { "Cargo.lock": "458ec9b098d621083ffee30ed1078d2b083ec8ca5a6528320b930433fc65723a", - "Cargo.toml": "5f44f797bb33f4d0d8a402bb5bd743c5223df3b076831b35ee12464b07207c25", + "Cargo.toml": "15770cd1081700206c7375a2e8648f40627560f6df4bde46a47ba477580919f6", "build.rs": "target-path-present", "src/main.rs": "target-path-present" }, @@ -405,7 +405,7 @@ ] } }, - "plan_sha256": "c9faf474c88816d4e68d2f80bbf90da2f97f61dfd639bf38fbec5dc9bad4f866", + "plan_sha256": "883e9eb7dd13b90b6b9b10afc2c959b06f58fa083e1ceb16088cf0be6a3ad3ef", "runtime_version": "0.1.0", "schema_version": 1 } diff --git a/examples/upgrades/cli/upgrade-plan.json b/examples/upgrades/cli/upgrade-plan.json index db14890..919ea31 100644 --- a/examples/upgrades/cli/upgrade-plan.json +++ b/examples/upgrades/cli/upgrade-plan.json @@ -32,19 +32,19 @@ "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { - "after_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "after_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "base_content": null, "base_sha256": null, "before_content": null, "before_sha256": null, - "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "decision": "create", "imported": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-ci.yml\n@@ -0,0 +1,17 @@\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { "after_sha256": "59536894189860b1ae8115ef604b578e1ac09c7bdd9576878d4c99d0748820ac", @@ -282,9 +282,9 @@ "name": "zizmor--x86_64-unknown-linux-gnu" } ], - "plan_sha256": "9f4f249eebf559e7b9fc3f4b0f2d8b3d635bdb890fb8460ff6f7054b52b462d9", + "plan_sha256": "e7c3eba5a9bdebf99ca9662f4114a2a5c662014c7ee35fa5ea2af7600af733ff", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", - "policy_review_day": 20728, + "policy_review_day": 20773, "recovery_required": false, "runtime_version": "0.1.0", "schema_version": 1, @@ -315,7 +315,7 @@ "cargo_lock_present": true, "inputs": { "Cargo.lock": "458ec9b098d621083ffee30ed1078d2b083ec8ca5a6528320b930433fc65723a", - "Cargo.toml": "5f44f797bb33f4d0d8a402bb5bd743c5223df3b076831b35ee12464b07207c25", + "Cargo.toml": "15770cd1081700206c7375a2e8648f40627560f6df4bde46a47ba477580919f6", "build.rs": "target-path-present", "src/main.rs": "target-path-present" }, diff --git a/examples/upgrades/library/rollback-plan.json b/examples/upgrades/library/rollback-plan.json index a0f0778..83d521b 100644 --- a/examples/upgrades/library/rollback-plan.json +++ b/examples/upgrades/library/rollback-plan.json @@ -3,19 +3,19 @@ "changes": [ { "after_sha256": null, - "before_content": "{\n \"schema_version\": 1,\n \"runtime_version\": \"0.1.0\",\n \"authority\": {\n \"id\": \"bootstrap-v1\",\n \"revision\": 1,\n \"workflow_repository\": \"brianluby/armorer-workflows\",\n \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"runtime_version\": \"0.1.0\",\n \"config_schema_version\": 1,\n \"policy_schema_version\": 1\n },\n \"last_plan_sha256\": \"ca594cddf860196de02d59831c3634435e8fadc35525f7f5eb9c99e29ebeda68\",\n \"config_sha256\": \"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\",\n \"toolchain\": \"1.95.0\",\n \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n# owner policy note preserved\\n\",\n \"applied_sha256\": \"294f066eea2ae612932a5fc7d89ca6e910c517670946a28b22836586852beefa\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\",\n \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n bespoke:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo custom\\n\",\n \"applied_sha256\": \"c0e9d81bcbf6aa8b441d3d217555696caf2d933e51b959bb219719d1b65090dd\"\n },\n \"armorer.lock\": {\n \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"generated_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\",\n \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"applied_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", - "before_sha256": "af752ae956b617950412c57625a2788c410298495df2db29375e5992dc11ba81", + "before_content": "{\n \"schema_version\": 1,\n \"runtime_version\": \"0.1.0\",\n \"authority\": {\n \"id\": \"bootstrap-v1\",\n \"revision\": 1,\n \"workflow_repository\": \"brianluby/armorer-workflows\",\n \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"runtime_version\": \"0.1.0\",\n \"config_schema_version\": 1,\n \"policy_schema_version\": 1\n },\n \"last_plan_sha256\": \"be9e81a6ddec68f88e16e252797da3d2f3bc81eb370e6dc37c24a4439abafcc0\",\n \"config_sha256\": \"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\",\n \"toolchain\": \"1.95.0\",\n \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n# owner policy note preserved\\n\",\n \"applied_sha256\": \"294f066eea2ae612932a5fc7d89ca6e910c517670946a28b22836586852beefa\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\",\n \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n bespoke:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo custom\\n\",\n \"applied_sha256\": \"89c5b90417c4bae7e63ef025a232e99534f8e2b416b674e7eff1cff06aa9f771\"\n },\n \"armorer.lock\": {\n \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"generated_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\",\n \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"applied_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", + "before_sha256": "620e98d7b2f1c1b06bdcfe5abad51a38d69ad929aa3f26890ca957b896da9e63", "path": ".armorer/upgrade-state-v1.json", "proposed_content": null, - "unified_diff": "--- a/.armorer/upgrade-state-v1.json\n+++ /dev/null\n@@ -1,50 +0,0 @@\n-{\n- \"schema_version\": 1,\n- \"runtime_version\": \"0.1.0\",\n- \"authority\": {\n- \"id\": \"bootstrap-v1\",\n- \"revision\": 1,\n- \"workflow_repository\": \"brianluby/armorer-workflows\",\n- \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n- \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n- \"runtime_version\": \"0.1.0\",\n- \"config_schema_version\": 1,\n- \"policy_schema_version\": 1\n- },\n- \"last_plan_sha256\": \"ca594cddf860196de02d59831c3634435e8fadc35525f7f5eb9c99e29ebeda68\",\n- \"config_sha256\": \"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\",\n- \"toolchain\": \"1.95.0\",\n- \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"managed\": {\n- \".armorer/ci-policy.toml\": {\n- \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n- \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n# owner policy note preserved\\n\",\n- \"applied_sha256\": \"294f066eea2ae612932a5fc7d89ca6e910c517670946a28b22836586852beefa\"\n- },\n- \".github/workflows/armorer-build.yml\": {\n- \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n- \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n- },\n- \".github/workflows/armorer-ci.yml\": {\n- \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\",\n- \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n bespoke:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo custom\\n\",\n- \"applied_sha256\": \"c0e9d81bcbf6aa8b441d3d217555696caf2d933e51b959bb219719d1b65090dd\"\n- },\n- \"armorer.lock\": {\n- \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"generated_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\",\n- \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"applied_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n- },\n- \"rust-toolchain.toml\": {\n- \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n- \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n- }\n- }\n-}\n\\ No newline at end of file\n" + "unified_diff": "--- a/.armorer/upgrade-state-v1.json\n+++ /dev/null\n@@ -1,50 +0,0 @@\n-{\n- \"schema_version\": 1,\n- \"runtime_version\": \"0.1.0\",\n- \"authority\": {\n- \"id\": \"bootstrap-v1\",\n- \"revision\": 1,\n- \"workflow_repository\": \"brianluby/armorer-workflows\",\n- \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n- \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n- \"runtime_version\": \"0.1.0\",\n- \"config_schema_version\": 1,\n- \"policy_schema_version\": 1\n- },\n- \"last_plan_sha256\": \"be9e81a6ddec68f88e16e252797da3d2f3bc81eb370e6dc37c24a4439abafcc0\",\n- \"config_sha256\": \"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\",\n- \"toolchain\": \"1.95.0\",\n- \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"managed\": {\n- \".armorer/ci-policy.toml\": {\n- \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n- \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n# owner policy note preserved\\n\",\n- \"applied_sha256\": \"294f066eea2ae612932a5fc7d89ca6e910c517670946a28b22836586852beefa\"\n- },\n- \".github/workflows/armorer-build.yml\": {\n- \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n- \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n- },\n- \".github/workflows/armorer-ci.yml\": {\n- \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\",\n- \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n bespoke:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo custom\\n\",\n- \"applied_sha256\": \"89c5b90417c4bae7e63ef025a232e99534f8e2b416b674e7eff1cff06aa9f771\"\n- },\n- \"armorer.lock\": {\n- \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"generated_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\",\n- \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"applied_sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n- },\n- \"rust-toolchain.toml\": {\n- \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n- \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n- }\n- }\n-}\n\\ No newline at end of file\n" }, { - "after_sha256": "0131c7ee4fa36d34164d08966aff9050b128fb3c88da3863c43b0ba2d9c3f19c", + "after_sha256": "961bac01bdea36b6f7c9ff34367719c26a403236bbfd0f74fc2fd28c43663959", "before_content": null, "before_sha256": null, "path": ".armorer/bootstrap-state-v2.json", - "proposed_content": "{\n \"schema_version\": 2,\n \"runtime_version\": \"0.1.0\",\n \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"workflow\": {\n \"repository\": \"brianluby/armorer-workflows\",\n \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n },\n \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\"\n },\n \"armorer.lock\": {\n \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", - "unified_diff": "--- /dev/null\n+++ b/.armorer/bootstrap-state-v2.json\n@@ -0,0 +1,32 @@\n+{\n+ \"schema_version\": 2,\n+ \"runtime_version\": \"0.1.0\",\n+ \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n+ \"workflow\": {\n+ \"repository\": \"brianluby/armorer-workflows\",\n+ \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n+ },\n+ \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n+ \"managed\": {\n+ \".armorer/ci-policy.toml\": {\n+ \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n+ \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n+ },\n+ \".github/workflows/armorer-build.yml\": {\n+ \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n+ \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n+ },\n+ \".github/workflows/armorer-ci.yml\": {\n+ \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n+ \"sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\"\n+ },\n+ \"armorer.lock\": {\n+ \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n+ \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n+ },\n+ \"rust-toolchain.toml\": {\n+ \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n+ \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n+ }\n+ }\n+}\n\\ No newline at end of file\n" + "proposed_content": "{\n \"schema_version\": 2,\n \"runtime_version\": \"0.1.0\",\n \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"workflow\": {\n \"repository\": \"brianluby/armorer-workflows\",\n \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n },\n \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\"\n },\n \"armorer.lock\": {\n \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", + "unified_diff": "--- /dev/null\n+++ b/.armorer/bootstrap-state-v2.json\n@@ -0,0 +1,32 @@\n+{\n+ \"schema_version\": 2,\n+ \"runtime_version\": \"0.1.0\",\n+ \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n+ \"workflow\": {\n+ \"repository\": \"brianluby/armorer-workflows\",\n+ \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n+ },\n+ \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n+ \"managed\": {\n+ \".armorer/ci-policy.toml\": {\n+ \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n+ \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n+ },\n+ \".github/workflows/armorer-build.yml\": {\n+ \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n+ \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n+ },\n+ \".github/workflows/armorer-ci.yml\": {\n+ \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n+ \"sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\"\n+ },\n+ \"armorer.lock\": {\n+ \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n+ \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n+ },\n+ \"rust-toolchain.toml\": {\n+ \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n+ \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n+ }\n+ }\n+}\n\\ No newline at end of file\n" } ], "contract": "armorer-upgrade-rollback", @@ -58,18 +58,18 @@ "proposed_diff": "" }, { - "after_sha256": "c0e9d81bcbf6aa8b441d3d217555696caf2d933e51b959bb219719d1b65090dd", - "base_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "base_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", - "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", - "before_sha256": "c0e9d81bcbf6aa8b441d3d217555696caf2d933e51b959bb219719d1b65090dd", - "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: true\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- bespoke:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo custom\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "after_sha256": "89c5b90417c4bae7e63ef025a232e99534f8e2b416b674e7eff1cff06aa9f771", + "base_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "base_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", + "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", + "before_sha256": "89c5b90417c4bae7e63ef025a232e99534f8e2b416b674e7eff1cff06aa9f771", + "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- bespoke:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo custom\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "decision": "preserve-customization", "imported": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", "proposed_diff": "" }, { @@ -163,9 +163,9 @@ "toolchain": "1.95.0" }, "pin_changes": [], - "plan_sha256": "ca594cddf860196de02d59831c3634435e8fadc35525f7f5eb9c99e29ebeda68", + "plan_sha256": "be9e81a6ddec68f88e16e252797da3d2f3bc81eb370e6dc37c24a4439abafcc0", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", - "policy_review_day": 20728, + "policy_review_day": 20773, "recovery_required": false, "runtime_version": "0.1.0", "schema_version": 1, @@ -181,7 +181,7 @@ }, "source_format": "bootstrap-v2", "state_preimages": { - ".armorer/bootstrap-state-v2.json": "{\n \"schema_version\": 2,\n \"runtime_version\": \"0.1.0\",\n \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"workflow\": {\n \"repository\": \"brianluby/armorer-workflows\",\n \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n },\n \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\"\n },\n \"armorer.lock\": {\n \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", + ".armorer/bootstrap-state-v2.json": "{\n \"schema_version\": 2,\n \"runtime_version\": \"0.1.0\",\n \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"workflow\": {\n \"repository\": \"brianluby/armorer-workflows\",\n \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n },\n \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\"\n },\n \"armorer.lock\": {\n \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", ".armorer/state.json": null, ".armorer/upgrade-state-v1.json": null }, @@ -208,7 +208,7 @@ "cargo_lock_present": true, "inputs": { "Cargo.lock": "4747b0f0dce62536528581bad765727dd6a678e7e5571dca92ba7d66f0bb61f8", - "Cargo.toml": "ca914d7a05c207148f3ed98421091e23a8dc7ae2be29eeb1095d62bd376bec26", + "Cargo.toml": "e9e7f08a39e22d25d9e487f27b4a920c0a28c030991a84f78c5f80a3ec6d1aab", "build.rs": "target-path-present", "src/lib.rs": "target-path-present" }, @@ -218,7 +218,7 @@ "license": "MIT", "links": null, "name": "bootstrap-library", - "rust_version": null, + "rust_version": "1.95", "targets": [ { "kind": [ @@ -240,7 +240,7 @@ ] } }, - "plan_sha256": "ada22ae43515a55a9f2f0608489bf1396dd4d2f1d8d0ec97c87464369dc7e29d", + "plan_sha256": "147440a229816a44c3ef548471ce28a33b38bd927399f2b3214de355223d6e01", "runtime_version": "0.1.0", "schema_version": 1 } diff --git a/examples/upgrades/library/upgrade-plan.json b/examples/upgrades/library/upgrade-plan.json index f4c1946..db30677 100644 --- a/examples/upgrades/library/upgrade-plan.json +++ b/examples/upgrades/library/upgrade-plan.json @@ -32,18 +32,18 @@ "proposed_diff": "" }, { - "after_sha256": "c0e9d81bcbf6aa8b441d3d217555696caf2d933e51b959bb219719d1b65090dd", - "base_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "base_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", - "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", - "before_sha256": "c0e9d81bcbf6aa8b441d3d217555696caf2d933e51b959bb219719d1b65090dd", - "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: true\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- bespoke:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo custom\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "after_sha256": "89c5b90417c4bae7e63ef025a232e99534f8e2b416b674e7eff1cff06aa9f771", + "base_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "base_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", + "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", + "before_sha256": "89c5b90417c4bae7e63ef025a232e99534f8e2b416b674e7eff1cff06aa9f771", + "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- bespoke:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo custom\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "decision": "preserve-customization", "imported": false, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n bespoke:\n runs-on: ubuntu-latest\n steps:\n - run: echo custom\n", "proposed_diff": "" }, { @@ -137,9 +137,9 @@ "toolchain": "1.95.0" }, "pin_changes": [], - "plan_sha256": "ca594cddf860196de02d59831c3634435e8fadc35525f7f5eb9c99e29ebeda68", + "plan_sha256": "be9e81a6ddec68f88e16e252797da3d2f3bc81eb370e6dc37c24a4439abafcc0", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", - "policy_review_day": 20728, + "policy_review_day": 20773, "recovery_required": false, "runtime_version": "0.1.0", "schema_version": 1, @@ -155,7 +155,7 @@ }, "source_format": "bootstrap-v2", "state_preimages": { - ".armorer/bootstrap-state-v2.json": "{\n \"schema_version\": 2,\n \"runtime_version\": \"0.1.0\",\n \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"workflow\": {\n \"repository\": \"brianluby/armorer-workflows\",\n \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n },\n \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\"\n },\n \"armorer.lock\": {\n \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", + ".armorer/bootstrap-state-v2.json": "{\n \"schema_version\": 2,\n \"runtime_version\": \"0.1.0\",\n \"catalog_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"workflow\": {\n \"repository\": \"brianluby/armorer-workflows\",\n \"commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\"\n },\n \"last_plan_sha256\": \"f8083ce5014f048ba5ad88a25826ef0ea4f3a1f45ed36f2167335de73380d45d\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"content\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"content\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"content\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\"\n },\n \"armorer.lock\": {\n \"content\": \"schema_version = 1\\nconfig_sha256 = \\\"41107630f67867eec1ee375e861fbdf06af76589738a8f29f5f2731b4baefbe3\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"sha256\": \"d2e7125f398f7fdba75438e070859e941d858c50471f2bf1c5d2b450579362a4\"\n },\n \"rust-toolchain.toml\": {\n \"content\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", ".armorer/state.json": null, ".armorer/upgrade-state-v1.json": null }, @@ -182,7 +182,7 @@ "cargo_lock_present": true, "inputs": { "Cargo.lock": "4747b0f0dce62536528581bad765727dd6a678e7e5571dca92ba7d66f0bb61f8", - "Cargo.toml": "ca914d7a05c207148f3ed98421091e23a8dc7ae2be29eeb1095d62bd376bec26", + "Cargo.toml": "e9e7f08a39e22d25d9e487f27b4a920c0a28c030991a84f78c5f80a3ec6d1aab", "build.rs": "target-path-present", "src/lib.rs": "target-path-present" }, @@ -192,7 +192,7 @@ "license": "MIT", "links": null, "name": "bootstrap-library", - "rust_version": null, + "rust_version": "1.95", "targets": [ { "kind": [ diff --git a/examples/upgrades/service/rollback-plan.json b/examples/upgrades/service/rollback-plan.json index cff9e50..a6286a0 100644 --- a/examples/upgrades/service/rollback-plan.json +++ b/examples/upgrades/service/rollback-plan.json @@ -3,11 +3,11 @@ "changes": [ { "after_sha256": null, - "before_content": "{\n \"schema_version\": 1,\n \"runtime_version\": \"0.1.0\",\n \"authority\": {\n \"id\": \"bootstrap-v1\",\n \"revision\": 1,\n \"workflow_repository\": \"brianluby/armorer-workflows\",\n \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"runtime_version\": \"0.1.0\",\n \"config_schema_version\": 1,\n \"policy_schema_version\": 1\n },\n \"last_plan_sha256\": \"3cd943a1ca0fe7a548c2e9f3373d2722ab739ade7fc43de29a57a2f802aab372\",\n \"config_sha256\": \"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\",\n \"toolchain\": \"1.95.0\",\n \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\",\n \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n semantic_contracts:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo retained\\n\",\n \"applied_sha256\": \"e22b94aefccbbe6909b74080a033479dabb408ca0815b1509fedd8ebbffe91da\"\n },\n \"armorer.lock\": {\n \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"generated_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\",\n \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"applied_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\"\n },\n \"rust-toolchain.toml\": {\n \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", - "before_sha256": "6ec5eb592c3c2f902070c02766e7a9d7afbcc86dcb3c348aa525c595e52fd56c", + "before_content": "{\n \"schema_version\": 1,\n \"runtime_version\": \"0.1.0\",\n \"authority\": {\n \"id\": \"bootstrap-v1\",\n \"revision\": 1,\n \"workflow_repository\": \"brianluby/armorer-workflows\",\n \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n \"runtime_version\": \"0.1.0\",\n \"config_schema_version\": 1,\n \"policy_schema_version\": 1\n },\n \"last_plan_sha256\": \"c1ed06d1d40b3ebd71914f7bc00bcb2cb51c3bd18cd7d2b895d319eac01f8569\",\n \"config_sha256\": \"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\",\n \"toolchain\": \"1.95.0\",\n \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"managed\": {\n \".armorer/ci-policy.toml\": {\n \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n },\n \".github/workflows/armorer-build.yml\": {\n \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n },\n \".github/workflows/armorer-ci.yml\": {\n \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n \"generated_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\",\n \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n semantic_contracts:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo retained\\n\",\n \"applied_sha256\": \"953064051df4d90b9728448f8d3d4aa2b7d1cf15e7d91622076b6612662014bd\"\n },\n \"armorer.lock\": {\n \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"generated_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\",\n \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n \"applied_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\"\n },\n \"rust-toolchain.toml\": {\n \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n }\n }\n}", + "before_sha256": "2dbe91e39cc2b06943769df5eaf781d85b9b88e994afdf5998b5b834d671f45b", "path": ".armorer/upgrade-state-v1.json", "proposed_content": null, - "unified_diff": "--- a/.armorer/upgrade-state-v1.json\n+++ /dev/null\n@@ -1,50 +0,0 @@\n-{\n- \"schema_version\": 1,\n- \"runtime_version\": \"0.1.0\",\n- \"authority\": {\n- \"id\": \"bootstrap-v1\",\n- \"revision\": 1,\n- \"workflow_repository\": \"brianluby/armorer-workflows\",\n- \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n- \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n- \"runtime_version\": \"0.1.0\",\n- \"config_schema_version\": 1,\n- \"policy_schema_version\": 1\n- },\n- \"last_plan_sha256\": \"3cd943a1ca0fe7a548c2e9f3373d2722ab739ade7fc43de29a57a2f802aab372\",\n- \"config_sha256\": \"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\",\n- \"toolchain\": \"1.95.0\",\n- \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"managed\": {\n- \".armorer/ci-policy.toml\": {\n- \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n- \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n- },\n- \".github/workflows/armorer-build.yml\": {\n- \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n- \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n- },\n- \".github/workflows/armorer-ci.yml\": {\n- \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47\",\n- \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: true\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n semantic_contracts:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo retained\\n\",\n- \"applied_sha256\": \"e22b94aefccbbe6909b74080a033479dabb408ca0815b1509fedd8ebbffe91da\"\n- },\n- \"armorer.lock\": {\n- \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"generated_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\",\n- \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"applied_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\"\n- },\n- \"rust-toolchain.toml\": {\n- \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n- \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n- }\n- }\n-}\n\\ No newline at end of file\n" + "unified_diff": "--- a/.armorer/upgrade-state-v1.json\n+++ /dev/null\n@@ -1,50 +0,0 @@\n-{\n- \"schema_version\": 1,\n- \"runtime_version\": \"0.1.0\",\n- \"authority\": {\n- \"id\": \"bootstrap-v1\",\n- \"revision\": 1,\n- \"workflow_repository\": \"brianluby/armorer-workflows\",\n- \"workflow_commit\": \"772ca83e386c883c88cc3b936d69f8cb3216c91e\",\n- \"tools_sha256\": \"e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13\",\n- \"runtime_version\": \"0.1.0\",\n- \"config_schema_version\": 1,\n- \"policy_schema_version\": 1\n- },\n- \"last_plan_sha256\": \"c1ed06d1d40b3ebd71914f7bc00bcb2cb51c3bd18cd7d2b895d319eac01f8569\",\n- \"config_sha256\": \"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\",\n- \"toolchain\": \"1.95.0\",\n- \"generated_policy\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"managed\": {\n- \".armorer/ci-policy.toml\": {\n- \"generated\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"generated_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\",\n- \"applied\": \"# Fixture-only decision for this dependency-free MIT example.\\n# Replace with the consuming owner's reviewed dependency policy.\\nschema_version = 1\\n\\n[licenses]\\nallow = [\\\"MIT\\\"]\\n\\n[advisories]\\nexceptions = []\\n\\n[sources]\\nallow_git = []\\n\\n[bans]\\nmultiple_versions = \\\"warn\\\"\\ndeny = []\\n\",\n- \"applied_sha256\": \"6affe9f9586ede46a67b6e569ccb851d24bf2bf34c62fd9df23c690bf17a4805\"\n- },\n- \".github/workflows/armorer-build.yml\": {\n- \"generated\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\",\n- \"applied\": \"name: Armorer unsigned build\\n\\non:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: false\\n\\njobs:\\n build:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"applied_sha256\": \"d54919c9b41be91ffb665eb631a27aeed4ebb482339a64977a968798645f1ed1\"\n- },\n- \".github/workflows/armorer-ci.yml\": {\n- \"generated\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n\",\n- \"generated_sha256\": \"2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8\",\n- \"applied\": \"name: Armorer CI\\n\\non:\\n pull_request:\\n push:\\n workflow_dispatch:\\n\\npermissions:\\n contents: read\\n\\nconcurrency:\\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\\n\\njobs:\\n verify:\\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\\n semantic_contracts:\\n runs-on: ubuntu-latest\\n steps:\\n - run: echo retained\\n\",\n- \"applied_sha256\": \"953064051df4d90b9728448f8d3d4aa2b7d1cf15e7d91622076b6612662014bd\"\n- },\n- \"armorer.lock\": {\n- \"generated\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"generated_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\",\n- \"applied\": \"schema_version = 1\\nconfig_sha256 = \\\"7cc49b48e0565119e6681b0456556146c5291968d95e514cdf1aa8751f48df18\\\"\\nruntime_version = \\\"0.1.0\\\"\\n\\n[workflows]\\nrepository = \\\"brianluby/armorer-workflows\\\"\\ncommit = \\\"772ca83e386c883c88cc3b936d69f8cb3216c91e\\\"\\n\\n[tools.actionlint--aarch64-apple-darwin]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\\\"\\n\\n[tools.actionlint--aarch64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\\\"\\n\\n[tools.actionlint--x86_64-unknown-linux-gnu]\\nversion = \\\"1.7.12\\\"\\nsha256 = \\\"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\\\"\\n\\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\\\"\\n\\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.5.9\\\"\\nsha256 = \\\"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\\\"\\n\\n[tools.cargo-deny--aarch64-apple-darwin]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\\\"\\n\\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\\\"\\n\\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\\nversion = \\\"0.20.2\\\"\\nsha256 = \\\"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\\\"\\n\\n[tools.cyclonedx--aarch64-apple-darwin]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\\\"\\n\\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\\\"\\n\\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\\nversion = \\\"0.33.1\\\"\\nsha256 = \\\"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\\\"\\n\\n[tools.gitleaks--aarch64-apple-darwin]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\\\"\\n\\n[tools.gitleaks--aarch64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\\\"\\n\\n[tools.gitleaks--x86_64-unknown-linux-gnu]\\nversion = \\\"8.30.1\\\"\\nsha256 = \\\"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\\\"\\n\\n[tools.zizmor--aarch64-apple-darwin]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\\\"\\n\\n[tools.zizmor--aarch64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\\\"\\n\\n[tools.zizmor--x86_64-unknown-linux-gnu]\\nversion = \\\"1.30.1\\\"\\nsha256 = \\\"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\\\"\\n\",\n- \"applied_sha256\": \"15b01fb0ddd0d3d16bfe95c9afae1a1ecdd78e8cefc0630f61ed65b21906cefa\"\n- },\n- \"rust-toolchain.toml\": {\n- \"generated\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"generated_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\",\n- \"applied\": \"[toolchain]\\nchannel = \\\"1.95.0\\\"\\nprofile = \\\"minimal\\\"\\ncomponents = [\\\"clippy\\\", \\\"rustfmt\\\"]\\n\",\n- \"applied_sha256\": \"24ef3b9d3edbd850aa386cb0a98e10450b0030991a4537cb359f54d49dbbb33a\"\n- }\n- }\n-}\n\\ No newline at end of file\n" }, { "after_sha256": "38215b1f9b488c6a0a40ad5668d4b2a484805d17dccd9291eece133fb93ca1e4", @@ -82,18 +82,18 @@ "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { - "after_sha256": "e22b94aefccbbe6909b74080a033479dabb408ca0815b1509fedd8ebbffe91da", + "after_sha256": "953064051df4d90b9728448f8d3d4aa2b7d1cf15e7d91622076b6612662014bd", "base_content": null, "base_sha256": null, - "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", - "before_sha256": "e22b94aefccbbe6909b74080a033479dabb408ca0815b1509fedd8ebbffe91da", - "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: true\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- semantic_contracts:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo retained\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", + "before_sha256": "953064051df4d90b9728448f8d3d4aa2b7d1cf15e7d91622076b6612662014bd", + "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- semantic_contracts:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo retained\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "decision": "import", "imported": true, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", "proposed_diff": "" }, { @@ -334,9 +334,9 @@ "name": "zizmor--x86_64-unknown-linux-gnu" } ], - "plan_sha256": "3cd943a1ca0fe7a548c2e9f3373d2722ab739ade7fc43de29a57a2f802aab372", + "plan_sha256": "c1ed06d1d40b3ebd71914f7bc00bcb2cb51c3bd18cd7d2b895d319eac01f8569", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", - "policy_review_day": 20728, + "policy_review_day": 20773, "recovery_required": false, "runtime_version": "0.1.0", "schema_version": 1, @@ -367,7 +367,7 @@ "cargo_lock_present": true, "inputs": { "Cargo.lock": "91e8cc4ef6dfe88da8fba4e9269797c4a50e9e67e96ced9165fcd61f9c665f58", - "Cargo.toml": "48fba6ac9de16a218b8c4039e0fa0aeb517e0d391762a490fd786c6d0f607ffc", + "Cargo.toml": "3500f71740fdf8886ccbbcabceca8ad73c758eb5c6e275b3335d783d0ab58a74", "build.rs": "target-path-present", "src/main.rs": "target-path-present" }, @@ -399,7 +399,7 @@ ] } }, - "plan_sha256": "d0e082a3ecd2dce7e7a9dcebabcf19e82af55e943222aef74439467a0d4c3050", + "plan_sha256": "0bef4682c93c50a60829b5e0ad16c4fe46ab777cb7548778e88b072c115eb9a2", "runtime_version": "0.1.0", "schema_version": 1 } diff --git a/examples/upgrades/service/upgrade-plan.json b/examples/upgrades/service/upgrade-plan.json index b7f86de..aaf34d3 100644 --- a/examples/upgrades/service/upgrade-plan.json +++ b/examples/upgrades/service/upgrade-plan.json @@ -32,18 +32,18 @@ "proposed_diff": "--- /dev/null\n+++ b/.github/workflows/armorer-build.yml\n@@ -0,0 +1,15 @@\n+name: Armorer unsigned build\n+\n+on:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: false\n+\n+jobs:\n+ build:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n" }, { - "after_sha256": "e22b94aefccbbe6909b74080a033479dabb408ca0815b1509fedd8ebbffe91da", + "after_sha256": "953064051df4d90b9728448f8d3d4aa2b7d1cf15e7d91622076b6612662014bd", "base_content": null, "base_sha256": null, - "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", - "before_sha256": "e22b94aefccbbe6909b74080a033479dabb408ca0815b1509fedd8ebbffe91da", - "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: true\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- semantic_contracts:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo retained\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: true\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", - "candidate_sha256": "a21d50bad4351d48e7dfb251cd78cc217deff02a513938e70653805bf3a7de47", + "before_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", + "before_sha256": "953064051df4d90b9728448f8d3d4aa2b7d1cf15e7d91622076b6612662014bd", + "candidate_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_diff": "--- a/.github/workflows/armorer-ci.yml\n+++ b/.github/workflows/armorer-ci.yml\n@@ -1,21 +1,17 @@\n-name: Armorer CI\n-\n-on:\n- pull_request:\n- push:\n- workflow_dispatch:\n-\n-permissions:\n- contents: read\n-\n-concurrency:\n- group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n- cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n-\n-jobs:\n- verify:\n- uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n- semantic_contracts:\n- runs-on: ubuntu-latest\n- steps:\n- - run: echo retained\n+name: Armorer CI\n+\n+on:\n+ pull_request:\n+ push:\n+ workflow_dispatch:\n+\n+permissions:\n+ contents: read\n+\n+concurrency:\n+ group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n+\n+jobs:\n+ verify:\n+ uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n", + "candidate_sha256": "2478570952c760df003bd956521b126d936bfc28098797082b2ad30767c005e8", "decision": "import", "imported": true, "path": ".github/workflows/armorer-ci.yml", - "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", + "proposed_content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@772ca83e386c883c88cc3b936d69f8cb3216c91e\n semantic_contracts:\n runs-on: ubuntu-latest\n steps:\n - run: echo retained\n", "proposed_diff": "" }, { @@ -284,9 +284,9 @@ "name": "zizmor--x86_64-unknown-linux-gnu" } ], - "plan_sha256": "3cd943a1ca0fe7a548c2e9f3373d2722ab739ade7fc43de29a57a2f802aab372", + "plan_sha256": "c1ed06d1d40b3ebd71914f7bc00bcb2cb51c3bd18cd7d2b895d319eac01f8569", "policy_content": "# Fixture-only decision for this dependency-free MIT example.\n# Replace with the consuming owner's reviewed dependency policy.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n", - "policy_review_day": 20728, + "policy_review_day": 20773, "recovery_required": false, "runtime_version": "0.1.0", "schema_version": 1, @@ -317,7 +317,7 @@ "cargo_lock_present": true, "inputs": { "Cargo.lock": "91e8cc4ef6dfe88da8fba4e9269797c4a50e9e67e96ced9165fcd61f9c665f58", - "Cargo.toml": "48fba6ac9de16a218b8c4039e0fa0aeb517e0d391762a490fd786c6d0f607ffc", + "Cargo.toml": "3500f71740fdf8886ccbbcabceca8ad73c758eb5c6e275b3335d783d0ab58a74", "build.rs": "target-path-present", "src/main.rs": "target-path-present" }, diff --git a/reviews/2026-11-16-architecture-security-roadmap-review.md b/reviews/2026-11-16-architecture-security-roadmap-review.md new file mode 100644 index 0000000..139c469 --- /dev/null +++ b/reviews/2026-11-16-architecture-security-roadmap-review.md @@ -0,0 +1,408 @@ +# Armorer review: architecture, security, and roadmap — 2026-11-16 + +Reviewed at `caf7b89` (branch `claude/rust-setup-architecture-review-c722d8`). +This is guidance for continued development, not a release qualification. + +## Follow-up status (same branch, uncommitted as of 2026-11-16) + +- **S1 addressed locally:** `rustix` 1.1.6; Armorer bootstrapped onto itself + (`armorer.toml`, `armorer.lock`, `.armorer/`, `armorer-ci.yml`, + `armorer-build.yml`). The hosted workflow has not run yet. +- **S2 addressed locally:** `SECURITY.md`, `.github/CODEOWNERS`, + `.github/dependabot.yml`. Private vulnerability reporting and Dependabot + security updates still need enabling in repository settings. +- **S3 addressed locally:** locks and ownership state follow a patch-line rule + (`src/runtime.rs`); catalogs record the frozen contract `0.1.0`. Release + contexts and the native catalog accept an approved runtime that is a later + patch of the locked contract. Plans and + journals stay exact. Committed example packets must be regenerated at each + version bump. +- **S7 addressed locally for `bootstrap check`:** exit 0 when provisioning is in + sync, exit 2 with reasons on stderr for drift, and `--release-ready` for the + strict release gate. Top-level version-one `check` still always exits 2; it + is scheduled for replacement under ADR 0012. +- **S8 (CI cancellation) addressed:** the catalog template now cancels + superseded `armorer-ci.yml` runs only for pull requests. It was changed in + place under ADR 0012; example packets were regenerated and this repository + was re-bootstrapped. +- **A4 decided:** the owner accepted removal of superseded contracts before + 0.1.0; see [ADR 0012](../docs/adr/0012-pre-release-contract-consolidation.md). + The removals themselves are not implemented. + +## Scope and confidence + +| Area | Depth | +| --- | --- | +| `lib.rs`, `main.rs`, `config.rs`, `discovery.rs`, `catalog.rs`, `plan.rs`, `ci_policy.rs`, `filesystem.rs`, `bootstrap/plan.rs`, `.github/workflows/development.yml` | Read in full | +| `apply.rs`, `bootstrap/transaction.rs`, `upgrade/*` | Outline, lock/replace/rollback paths, constants | +| `verification/*`, `trust/*` (about 9,000 lines) | Subprocess call sites and credential handling only | +| `armorer-workflows` repository | Not reviewed (separate repository) | + +The verification and trust code was line-reviewed two days ago (`docs/ocr-20261114/`), +with residuals tracked as Veans #27. I did not repeat that work, so this report +makes no new claim about the cryptographic verification paths. + +Checks run locally (macOS arm64, Rust 1.95.0): + +- `cargo test --locked`: 282 passed, 0 failed, 10 ignored. +- `cargo clippy --locked --all-targets`: no warnings. +- `cargo audit`: one advisory, RUSTSEC-2026-0486 (`rustix` 1.1.5, unsound xattr functions). +- `cargo deny check`: advisories and licenses fail. The licenses failure is because the repository has no `deny.toml`. + +## Summary + +The security engineering inside the tool is strong. Inputs are bounded and +hash-bound, unknown fields are rejected, subprocesses run with a cleared +environment and fixed arguments, writes are journaled, and nothing claims more +than its evidence supports. + +The main risks are elsewhere: + +1. **The product does not yet do what its purpose statement says.** There is no + `init`. A new user must hand-write `armorer.toml` and a CI policy file before + anything works, and the generated file set stops at CI callers, a lock, and a + toolchain file. +2. **The codebase is frozen around Rust and around a fixed five-file set.** Go + and Python cannot be added without first introducing an ecosystem boundary + and a general file-set transaction engine. +3. **Contract surface is far ahead of adoption.** There are 12 commands, 27 + schemas, three verification-context versions, two bootstrap catalogs, and + three transaction engines, with no external consumer and no tagged release. +4. **Armorer does not run its own gates.** Its CI has no dependency audit, + license policy, or secret scan, and a live advisory is sitting in `Cargo.lock`. + +## Security findings + +Ordered by priority. None is a confirmed exploitable bypass. + +### S1. Armorer's own CI omits the gates it provisions for consumers (high) + +`.github/workflows/development.yml` runs fmt, clippy, tests, actionlint, and +zizmor. It does not run cargo-deny, an advisory check, or gitleaks, and the +repository has no `deny.toml`. The result is visible today: `rustix` 1.1.5 +carries RUSTSEC-2026-0486 and nothing flagged it. + +The advisory itself is not reachable. Armorer calls only `rustix::fs::open` +(`src/lib.rs`) and `rustix::process::getuid`. Bump the pin to 1.1.6 anyway. + +Recommendation: adopt Armorer's own `armorer-ci.yml` caller and +`.armorer/ci-policy.toml` on this repository. That closes the gap and is the +first real dogfooding evidence. + +### S2. Missing repository security baseline (medium) + +There is no `SECURITY.md` (a draft sits in `docs/security-reporting-draft.md`), +no `CODEOWNERS` covering `.github/` and `catalogs/`, and no Dependabot or +Renovate configuration. All dependencies and action SHAs are exact-pinned, so +without an update bot they only move when someone remembers. + +### S3. Exact runtime-version equality blocks security updates (medium) + +`armorer.lock`, plans, and state all require `runtime_version == +CARGO_PKG_VERSION` (`src/config.rs:354`, `src/apply.rs:237`, +`src/bootstrap/plan.rs:287`). `upgrade` refuses to run at all unless the crate +version is exactly `0.1.0` (`src/upgrade/authority.rs`, +`BOOTSTRAP_RUNTIME_VERSION`). + +A 0.1.1 security fix would therefore reject every consumer's existing lock and +state, and the upgrade command that should migrate them would refuse. That makes +patching the tool expensive, which is a security problem in itself. Decide a +compatibility rule (for example, same minor version) before the first tag. + +### S4. Pinned tool catalog has no freshness signal (medium) + +The catalog is compiled into the binary and hash-authenticated, which is a good +trust design. But six tools (cargo-deny 0.20.2, zizmor 1.30.1, actionlint +1.7.12, gitleaks 8.30.1, cargo-cyclonedx 0.5.9, cyclonedx 0.33.1) can only +change through a CLI release, and S3 makes CLI releases costly. Nothing reports +a pinned tool as old or vulnerable. + +Recommendation: record a review date per catalog and add a finding when the +catalog is older than a set window. Script the catalog refresh so it is a +routine reviewed PR. + +### S5. Hand-written parsers have no fuzz or property tests (medium) + +The duplicate-key-rejecting JSON walker (`src/verification/io.rs`), the HTTP +response parser (`src/verification/publication/github.rs`), the unified-diff +renderer (`src/bootstrap/plan.rs`), `safe_path`, and the date parser +(`src/ci_policy.rs`) all handle untrusted bytes and are tested only by examples. +Add `cargo-fuzz` targets for the first two and `proptest` for the three-way +merge decision and diff round-trip. + +### S6. Write paths check for symlinks, then act by path (low) + +`safe_path` walks components with `symlink_metadata`, and the write follows +later by path. `lock()` (`src/apply.rs:306`) opens `.armorer/apply.lock` with +`create(true)` and no `O_NOFOLLOW`. `replace()` creates its temporary file in a +parent validated earlier. `read_small` already does this correctly with +`O_NOFOLLOW` plus an inode comparison. + +Exploiting this needs a concurrent local process with write access to the +repository, so severity is low. The durable fix is to open the repository root +once and do every managed read and write relative to that directory handle +(`openat` with `O_NOFOLLOW`, which `rustix` already provides). + +### S7. `check` always exits 2 (low, becomes medium once adopted) + +`src/main.rs` returns status 2 for every successful `check`. A consumer cannot +use it as a CI gate or drift detector, and the likely workaround is `|| true`, +which hides real failures. Split the meaning: 0 when managed files match +recorded state, 2 for drift or unmet requirements, 1 for errors. + +### S8. Smaller items + +- **Generated CI caller cancels runs on `main`.** `cancel-in-progress: true` in + `armorer-ci.yml` (`src/catalog.rs`) applies to pushes as well as pull + requests. Two quick merges leave the first commit with no completed CI run. + Armorer's own workflow already restricts cancellation to pull requests. +- **`trusted_rustup` takes the first `rustup` on `PATH` outside the repository** + (`src/discovery.rs:110`). It does not check that the directory is not + world-writable. Acceptable for a developer tool; worth a finding in output. +- **Non-Unix hosts.** Reads fall back to a plain `File::open` without symlink + protection, while writes refuse to run. Fail at startup with one clear + message instead. + +### What is done well + +Keep these as the house rules for any new ecosystem: + +- Discovery never executes repository code: manifests are copied to a private + snapshot, sources become empty placeholders, `.cargo` config is excluded, and + Cargo runs offline with a cleared environment and a 15-second limit. +- Every mutation requires a plan plus a digest supplied separately. +- Consumer input cannot choose paths, templates, URLs, or commands. +- Error messages never echo configuration values. +- `unsafe_code = "forbid"`, and type-state wrappers such as + `AuthenticatedCatalog` cannot be constructed without passing verification. + +## Architecture findings + +### A1. Three transaction engines + +`src/apply.rs` (1,025 lines), `src/bootstrap/transaction.rs` (858), and +`src/upgrade/transaction.rs` (1,069) each implement their own journal, +validation, rollback, and recovery. They share only `lock`, `replace`, and a +few helpers. Every fix to recovery logic has to be made and tested three times. + +Extract one engine: given a list of `(path, expected-before, after)` writes and +an ownership record, it journals, applies, verifies, and recovers. Bootstrap, +upgrade, and rollback become planners that produce that list. This is the +single most valuable refactor and it is a prerequisite for A2. + +### A2. The managed file set is a fixed array + +`bootstrap::TARGETS` is `[&str; 5]` (`src/bootstrap/mod.rs:17`) and is referenced +from plan validation, state validation, journal bounds, and upgrade imports. +Plans are rejected unless `changes.len() == TARGETS.len()`. Adding one file +(for example `SECURITY.md`) or a second language touches all of those sites and +changes the plan contract. + +Make the file set a property of the catalog entry, validated as "exactly the +set this catalog renders", not a compile-time constant. + +### A3. Templates are inline `format!` strings + +Workflow YAML is built in `caller_workflows` and the toolchain file is rendered +in two places (`src/catalog.rs` `bootstrap_files`, `src/plan.rs` +`toolchain_change`). Move templates to files under `catalogs/` loaded with +`include_str!`, with a small fixed-placeholder renderer. Reviewers then diff +YAML, not Rust string escapes. + +### A4. Too much frozen contract before the first release + +The repository carries v1 `apply` (toolchain only) beside v2 `bootstrap`, +`legacy-v1` / `native-v2` / `native-v3` verification contexts, and +`bootstrap-v1` / `bootstrap-v2` catalogs. No consumer depends on the old ones. +Each retained version is permanent test and review cost. + +Recommendation: before tagging 0.1.0, remove superseded versions (v1 `apply`, +`recover`, `preview --plan`, and the older contexts) and start the public +contract at one version of each document. This contradicts the "stable IDs are +immutable" rule in `upgrade/authority.rs`, so it needs an explicit ADR. The +rule is right after release and costly before it. + +### A5. One crate, one binary, 17,000 lines + +Planning, transactions, Cargo discovery, Sigstore, Apple, CycloneDX, and GitHub +publication are all in one library with a 790-line `main.rs` match. Suggested +workspace: + +| Crate | Contents | +| --- | --- | +| `armorer-core` | Paths, bounded I/O, digests, transaction engine, plan and ownership model | +| `armorer-rust` | Cargo discovery, Rust templates, Cargo graph checks | +| `armorer-verify` | Sigstore, SBOM, Apple, and historical verification | +| `armorer-publish` | Owned-draft controller and GitHub adapter | +| `armorer` (binary) | CLI wiring only | + +A separate `armorer-verify` matters most. Someone verifying a release needs a +small, auditable tool, not the provisioning and publication code. + +Also decide whether the library is public API. Exact `=` dependency pins are +right for a binary but make a published library hard to depend on. + +### A6. CLI ergonomics + +- Output is JSON only. Add a human-readable default with `--format json` for + automation; the reviewer of a plan is a person. +- `verify-release` needs seven path and digest flags, `publication` needs ten. + Accept one reviewed manifest file that names them. +- `plan` and `bootstrap plan` are different commands with different contracts. + After A4 there should be one. + +### A7. Repository hygiene + +`reviews/` holds 146 tracked files, mostly exit codes and checksums from +rehearsals, and `docs/ocr-20261114/` is a raw review dump. Move rehearsal +evidence to a dedicated branch, repository, or release asset and keep a short +index in `docs/`. The project's own completion plan already notes status drift +across the 72 documents; fewer, generated-where-possible documents would help. + +## Functionality gaps against the stated goal + +The goal is to set up a project securely from the beginning. Today Armorer +requires an existing Cargo workspace, a hand-written `armorer.toml`, and a +hand-written CI policy, and then writes five files. + +| # | Capability | Notes | +| --- | --- | --- | +| F1 | `armorer init` | Run discovery, propose `armorer.toml` and a starter CI policy, and route them through the normal plan and digest approval. The largest adoption blocker. | +| F2 | Wider managed file set | `SECURITY.md`, `CODEOWNERS` for `.github/` and Armorer files, Dependabot or Renovate config for Actions and Cargo, `[lints]` defaults. Depends on A2. | +| F3 | GitHub settings preflight | Read-only `check --online`: rulesets, secret scanning and push protection, default token permissions, immutable releases. Already recorded as the `github-capabilities-unchecked` finding. | +| F4 | Drift detection | Meaningful `check` exit codes (S7) plus a scheduled caller that fails when managed files or pins drift. | +| F5 | Catalog freshness | `armorer outdated` style report (S4). | +| F6 | Local parity | A way to run the same gates locally that CI runs, so policy failures are found before push. | +| F7 | Linux release path | Finish attest, draft, verify, publish for Linux targets first. Apple signing is the longest dependency chain and should not block a first verifiable release. | +| F8 | `armorer new` | Scaffold a new project with the hardened defaults. Lower priority than `init`. | + +The optional defenses in Veans #17–#24 (CodeQL, cargo-auditable, cargo-vet, +Scorecard) are correctly deferred. + +## Adding Go and Python + +### Where Rust is baked in + +| Location | Coupling | +| --- | --- | +| `config::Config` | `toolchain` is a Rust version, `manifest` must equal `Cargo.toml`, `TARGETS` are Rust triples, deliverables are package / binary / feature set | +| `plan::Plan`, `bootstrap::Plan` | Embed `discovery::Workspace` (Cargo packages), so the plan digest depends on Cargo's shape | +| `discovery.rs` | Entirely Cargo and rustup | +| `catalog.rs` | Renders `rust-ci.yml`, `rust-build.yml`, `rust-toolchain.toml`; one tool list | +| `bootstrap::TARGETS` | Includes `rust-toolchain.toml` | +| `ci_policy.rs` | Shaped like cargo-deny (licenses, advisories, sources, bans); concepts transfer, the enforcement tool does not | +| `verification/graph.rs`, parts of `trust/evidence.rs` | Cargo dependency graph against CycloneDX | + +Already language-neutral: path and I/O guards, transaction mechanics, three-way +merge, Sigstore bundle verification, CycloneDX validation, Apple verification, +the publication controller, and historical byte matching. + +### Proposed boundary + +Introduce an ecosystem adapter with a narrow interface: + +1. `discover(root, intent) -> ProjectModel`: static inspection only, returning a + neutral model (units, versions, buildable outputs, input digests) plus + ecosystem-specific detail in a tagged field. +2. `managed_files(intent, catalog) -> file set`: toolchain pin, CI callers, + policy files. +3. `tools(catalog) -> pins`: the subset of the catalog this ecosystem needs. +4. `validate_sbom(model, sbom)`: the dependency-graph check. + +Config becomes schema version 2 with an explicit `ecosystem` and tagged +deliverables; version 1 maps onto it as `ecosystem = "rust"`. Do A1, A2, and A3 +first. Without them every adapter would need its own transaction engine and +constants. + +Carry the discovery rule over unchanged: **never execute project code or let +the toolchain reach the network during inspection.** That rule decides most of +the design below. + +### Go (do this first) + +Go maps closely onto the existing CLI and service profiles: static binaries, +cross-compilation, checksummed modules. + +- **Discovery.** Parse `go.mod` and `go.work` directly. Avoid `go list` where + possible: it can download modules and even a different toolchain. If it must + run, set `GOTOOLCHAIN=local`, `GOFLAGS=-mod=readonly`, `GOPROXY=off`, and a + private `GOPATH` and `GOCACHE`. +- **Toolchain pin.** The `go` directive is only a minimum and `toolchain` is only + a suggestion, so neither pins the build. Record an exact Go version in Armorer + intent, have CI install exactly that version, run with `GOTOOLCHAIN=local` so + Go cannot switch or download another one, and fail unless `go version` + reports the recorded version. Require the `go.mod` directives to be no newer + than the pin. +- **Targets.** `GOOS/GOARCH` pairs, not triples; the target list must become + per-ecosystem. +- **Build defaults.** `-trimpath`, `-mod=readonly`, `CGO_ENABLED=0` unless + declared, `GOFLAGS=-buildvcs=true`. Flag `replace` directives pointing outside + the module and any `GONOSUMDB` / `GOPRIVATE` settings. +- **Gates.** `go vet`, staticcheck, govulncheck, `go mod verify`, a license + check, and gitleaks / actionlint / zizmor as today. +- **SBOM.** cyclonedx-gomod. Check it against the selected build list, not + `go.sum`: `go.sum` keeps stale versions, has no dependency edges and omits + local replacements. Under the offline settings above: + - **Components:** compare with `go list -m -json all`, which gives each + selected module version and any `replace` target. + - **Edges:** derive them from the import graph of the built targets, + `go list -deps -json` for the same packages, tags, `GOOS` and `GOARCH` as + the build, mapping each package to its module. Do not use `go mod graph` + for this: it lists module requirements at the required versions, not + imports, and an edge disappears when Go selects a newer version. + - **Cross-check:** `go version -m` on the built binary must list a subset of + the SBOM components with the same versions and replacements. It carries no + edges, so it cannot validate the graph by itself. + +### Python (second, and scope it narrowly) + +Python differs in ways that matter for the security model: + +- **Discovery must refuse dynamic metadata.** `setup.py` is arbitrary code. + Support only static `pyproject.toml` (PEP 621) and report anything dynamic as + an unsupported capability, the same way native toolchains are handled now. +- **Lockfile is mandatory.** Require a hash-pinned lock (`uv.lock`, or + requirements with `--require-hashes`). Armorer's own + `requirements-schema.txt` already follows this pattern. +- **Deliverables.** Wheels and sdists, not executables. The library profile + fits; CLI and service need a decision (container image, zipapp, or out of + scope). +- **Publication.** PyPI Trusted Publishing and PEP 740 attestations are a + different publication adapter from GitHub releases. +- **Gates.** ruff, a type checker, pip-audit, bandit, a license check. +- **SBOM.** cyclonedx-py against the lock. + +Start Python with library CI and hardening only, and add release support once +the Go adapter has proven the boundary. + +## Suggested sequence + +**Now (before tagging 0.1.0)** + +1. S1, S2: run Armorer's own gates on Armorer; bump `rustix`; add `SECURITY.md`, `CODEOWNERS`, update bot. +2. S3: define and implement the runtime compatibility rule. +3. A4: remove superseded pre-release contracts as decided in [ADR 0012](../docs/adr/0012-pre-release-contract-consolidation.md). +4. S7: meaningful `check` exit codes. + +**Next (makes the product match its purpose)** + +5. A1: single transaction engine. +6. A2, A3: catalog-defined file set and file-based templates. +7. F1: `armorer init`. +8. F2, F4, F5: wider file set, drift detection, catalog freshness. +9. S5: fuzz and property tests. +10. F7: Linux-only verifiable release, then the two pilots. + +**Later (expansion)** + +11. A5: workspace split, standalone `armorer-verify`. +12. Ecosystem adapter boundary and config schema 2. +13. Go adapter; then Python (CI and hardening first). +14. F3 online preflight, Apple signing, S6 directory-handle I/O, A6 CLI ergonomics. + +## Open decisions for the owner + +- Is the Rust library a supported public API, or is only the binary supported? +- Should Python CLI and service deliverables be in scope at all? +- Is GitHub the only forge for the foreseeable future? The publication and + capability code assumes it throughout. diff --git a/src/apply.rs b/src/apply.rs index cbd8dde..c6083ed 100644 --- a/src/apply.rs +++ b/src/apply.rs @@ -234,7 +234,7 @@ pub(crate) fn state_from_bytes(bytes: &[u8]) -> Result { /// Check ownership identities and generated bases before they can authorize a transaction. fn validate_state(state: &State) -> Result<()> { if state.schema_version != VERSION - || state.runtime_version != env!("CARGO_PKG_VERSION") + || !crate::runtime::compatible(&state.runtime_version) || !hex_digest(&state.last_plan_sha256, 64) || state.managed.len() > 1 { diff --git a/src/bootstrap/plan.rs b/src/bootstrap/plan.rs index 437435c..4864d8d 100644 --- a/src/bootstrap/plan.rs +++ b/src/bootstrap/plan.rs @@ -124,7 +124,60 @@ pub(super) fn disposition( } } +/// Findings that mean local provisioning is incomplete. Every other finding is a +/// release gate or review note and does not make the managed files drift. +const SETUP_FINDINGS: [&str; 3] = [ + "cargo-lock-missing", + "legacy-ownership-migration-required", + "license-file-missing", +]; + impl Plan { + /// Reasons the repository differs from what this plan would provision, sorted. + /// + /// Empty means every managed file already holds the generated bytes, no + /// transaction awaits recovery and no local setup finding is open. It says + /// nothing about release readiness; see [`Plan::release_blockers`]. + pub fn drift(&self) -> Vec { + let mut reasons: Vec = self + .changes + .iter() + .filter_map(|change| { + let label = match change.disposition { + Disposition::Unchanged => return None, + Disposition::Create => "create", + Disposition::Update => "update", + Disposition::Conflict => "conflict", + }; + Some(format!("{label}:{}", change.path)) + }) + .collect(); + if self.recovery_required { + reasons.push("transaction-recovery-required".into()); + } + reasons.extend( + self.findings + .iter() + .filter(|finding| SETUP_FINDINGS.contains(&finding.code.as_str())) + .map(|finding| finding.code.clone()), + ); + reasons.sort(); + reasons + } + + /// Reasons secure release readiness is not established, sorted. + /// + /// Any open finding or an unobserved capability state blocks. This version + /// ships no release runtime, so the list is never empty. + pub fn release_blockers(&self) -> Vec { + let mut reasons: Vec = self.findings.iter().map(|f| f.code.clone()).collect(); + if self.capability_state != "supported" { + reasons.push(format!("capability-state-{}", self.capability_state)); + } + reasons.sort(); + reasons + } + /// SHA-256 of compact typed JSON with only this digest field blank. /// Bounds the entire escaped view; a conflict is never truncated. pub fn digest(&self) -> Result { diff --git a/src/bootstrap/transaction.rs b/src/bootstrap/transaction.rs index c40df17..24fb5a7 100644 --- a/src/bootstrap/transaction.rs +++ b/src/bootstrap/transaction.rs @@ -85,7 +85,7 @@ fn receipt(plan: &Plan, outcome: &'static str, configured: bool) -> Receipt { /// Check ownership identities and generated bases before they can authorize a transaction. fn validate_state(state: &State) -> Result<()> { if state.schema_version != VERSION - || state.runtime_version != env!("CARGO_PKG_VERSION") + || !crate::runtime::compatible(&state.runtime_version) || state.catalog_sha256 != catalog::TOOLS_SHA256 || state.workflow.repository != catalog::WORKFLOW_REPOSITORY || catalog::id_for_commit(&state.workflow.commit).is_none() diff --git a/src/catalog.rs b/src/catalog.rs index 1a9f7b1..1f8ed8d 100644 --- a/src/catalog.rs +++ b/src/catalog.rs @@ -18,6 +18,10 @@ pub const WORKFLOW_COMMIT: &str = "772ca83e386c883c88cc3b936d69f8cb3216c91e"; /// rust-ci.yml/rust-build.yml are unchanged between them, so v2 inherits the PR #23 /// hardening. Both entries authenticate the same embedded digest; only the workflow pin moves. pub const WORKFLOW_COMMIT_V2: &str = "e5e9c0d31baff87e357046d81068b646a39a9f23"; +/// Runtime contract frozen by the reviewed bootstrap catalogs and recorded in every +/// lock they render. Patch releases keep this value, so a catalog id renders the +/// same lock bytes across a patch line; see `crate::runtime`. +pub const RUNTIME_VERSION: &str = "0.1.0"; pub const TOOLS_SHA256: &str = "e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13"; const TOOLS: &[u8] = include_bytes!("../catalogs/bootstrap-tools-v1.json"); @@ -161,7 +165,7 @@ impl AuthenticatedCatalog { let lock = Lock { schema_version: 1, config_sha256: config_sha256.into(), - runtime_version: env!("CARGO_PKG_VERSION").into(), + runtime_version: RUNTIME_VERSION.into(), workflows: self.workflow.clone(), tools, }; @@ -194,12 +198,14 @@ impl AuthenticatedCatalog { /// Fixed unprivileged callers. Existing custom workflows remain separate. /// The build caller is manual and unsigned; it has no publication capability. + /// CI cancels superseded runs only for pull requests, so every pushed commit + /// keeps a completed run. pub fn caller_workflows(&self) -> BTreeMap { let repository = &self.workflow.repository; let commit = &self.workflow.commit; let mut callers = BTreeMap::new(); callers.insert(".github/workflows/armorer-ci.yml".into(), format!( - "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{{{ github.workflow }}}}-${{{{ github.ref }}}}\n cancel-in-progress: true\n\njobs:\n verify:\n uses: {repository}/.github/workflows/rust-ci.yml@{commit}\n" + "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{{{ github.workflow }}}}-${{{{ github.ref }}}}\n cancel-in-progress: ${{{{ github.event_name == 'pull_request' }}}}\n\njobs:\n verify:\n uses: {repository}/.github/workflows/rust-ci.yml@{commit}\n" )); callers.insert(".github/workflows/armorer-build.yml".into(), format!( "name: Armorer unsigned build\n\non:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-build-${{{{ github.workflow }}}}-${{{{ github.ref }}}}\n cancel-in-progress: false\n\njobs:\n build:\n uses: {repository}/.github/workflows/rust-build.yml@{commit}\n" @@ -244,6 +250,20 @@ mod tests { assert!(authenticate_with(&bad, WORKFLOW_COMMIT_V2).is_err()); } + #[test] + /// A catalog renders the frozen runtime contract, so its lock bytes do not move + /// with patch releases of the running binary. + fn rendered_lock_records_the_frozen_runtime_contract() { + let text = reviewed_v2() + .unwrap() + .lock_for_config_sha256(&"a".repeat(64)) + .unwrap(); + let lock: Lock = toml::from_str(&text).unwrap(); + assert_eq!(lock.runtime_version, RUNTIME_VERSION); + assert_eq!(RUNTIME_VERSION, "0.1.0"); + assert!(crate::runtime::compatible(RUNTIME_VERSION)); + } + #[test] /// The shared boundary rejects non-exact toolchains before TOML interpolation. fn bootstrap_files_reject_non_exact_toolchain() { diff --git a/src/config.rs b/src/config.rs index f2f88dc..4a82087 100644 --- a/src/config.rs +++ b/src/config.rs @@ -351,7 +351,7 @@ pub fn load_lock(root: &Path, config_digest: &str) -> Result Result<(serde_json::Value, i32)> { serde_json::to_value(armorer::bootstrap::inspect(&cli.repository, &policy)?), 0, ), - BootstrapOperation::Check { policy } => ( - serde_json::to_value(armorer::bootstrap::inspect(&cli.repository, &policy)?), - 2, - ), + BootstrapOperation::Check { + policy, + release_ready, + } => { + let plan = armorer::bootstrap::inspect(&cli.repository, &policy)?; + // Reasons go to stderr; stdout stays the unchanged plan document. + let drift = plan.drift(); + // The strict gate fails only while a blocker exists. + let blockers = if release_ready { + plan.release_blockers() + } else { + Vec::new() + }; + let status = if !drift.is_empty() { + eprintln!("armorer: provisioning drift: {}", drift.join(", ")); + 2 + } else if !blockers.is_empty() { + eprintln!( + "armorer: release readiness not established: {}", + blockers.join(", ") + ); + 2 + } else { + 0 + }; + (serde_json::to_value(plan), status) + } BootstrapOperation::Apply { plan, expect_plan_sha256, diff --git a/src/runtime.rs b/src/runtime.rs new file mode 100644 index 0000000..de46d12 --- /dev/null +++ b/src/runtime.rs @@ -0,0 +1,78 @@ +//! Runtime compatibility for persisted documents. +//! +//! A lock or ownership state records the runtime contract it was written for. +//! A patch release keeps that contract, so the running binary accepts a record +//! from the same major and minor line whose patch is not newer than its own. +//! A newer patch may depend on a fix this binary lacks; a different minor or +//! major line needs a separately reviewed catalog successor and migration. +//! +//! Approval packets (plans, rollback plans and journals) are short-lived and +//! reproduce generated bytes exactly, so they still require the identical +//! runtime version and are not checked here. + +/// The version of the running binary. +pub(crate) const RUNNING: &str = env!("CARGO_PKG_VERSION"); + +/// Decide whether a record written for `recorded` is usable by `running`. +/// +/// Both must be exact stable `x.y.z` versions. Prerelease or build metadata on +/// either side is never compatible. +pub(crate) fn compatible_with(recorded: &str, running: &str) -> bool { + let stable = |value: &str| { + semver::Version::parse(value) + .ok() + .filter(|v| v.pre.is_empty() && v.build.is_empty()) + }; + match (stable(recorded), stable(running)) { + (Some(recorded), Some(running)) => { + recorded.major == running.major + && recorded.minor == running.minor + && recorded.patch <= running.patch + } + _ => false, + } +} + +/// Decide whether a persisted record is usable by the running binary. +pub(crate) fn compatible(recorded: &str) -> bool { + compatible_with(recorded, RUNNING) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + /// A patch release reads older records from its own line and nothing else. + fn patch_releases_accept_same_line_records_only() { + assert!(compatible(RUNNING)); + for (recorded, running) in [("0.1.0", "0.1.0"), ("0.1.0", "0.1.1"), ("1.4.2", "1.4.9")] { + assert!( + compatible_with(recorded, running), + "{recorded} on {running}" + ); + } + for (recorded, running) in [ + // A newer patch may rely on a fix the running binary lacks. + ("0.1.1", "0.1.0"), + // Minor and major lines never cross without a reviewed successor. + ("0.1.0", "0.2.0"), + ("0.2.0", "0.1.5"), + ("0.1.0", "1.1.0"), + ("1.0.0", "1.1.0"), + // Only exact stable versions take part. + ("0.1.0-rc.1", "0.1.0"), + ("0.1.0", "0.1.1-rc.1"), + ("0.1.0+local", "0.1.0"), + ("0.1", "0.1.0"), + ("", "0.1.0"), + ("v0.1.0", "0.1.0"), + ("0.1.0\n", "0.1.0"), + ] { + assert!( + !compatible_with(recorded, running), + "{recorded:?} on {running:?}" + ); + } + } +} diff --git a/src/trust/native.rs b/src/trust/native.rs index 80b7c95..3c49d50 100644 --- a/src/trust/native.rs +++ b/src/trust/native.rs @@ -240,7 +240,9 @@ impl NativeCatalogV2 { ) -> Result<()> { require( self.schema_version == 2 - && lock.runtime_version == inputs.runtime_version + // The lock records the runtime contract; the approved runtime may be a + // later patch of that line. The distribution itself stays exact below. + && crate::runtime::compatible_with(&lock.runtime_version, &inputs.runtime_version) && !self.adapters.is_empty() && self.adapters.len() <= 32, "invalid-native-catalog", diff --git a/src/upgrade/authority.rs b/src/upgrade/authority.rs index 599d3dd..9c14433 100644 --- a/src/upgrade/authority.rs +++ b/src/upgrade/authority.rs @@ -28,11 +28,12 @@ pub struct Authority { } /// Runtime identity frozen by the reviewed bootstrap catalogs. -pub(super) const BOOTSTRAP_RUNTIME_VERSION: &str = "0.1.0"; +pub(super) const BOOTSTRAP_RUNTIME_VERSION: &str = catalog::RUNTIME_VERSION; -/// Reject a crate bump until a separate catalog successor has been reviewed. +/// Accept patch releases of the frozen runtime line. A minor or major bump is +/// rejected until a separate catalog successor has been reviewed. fn require_bootstrap_runtime(runtime_version: &str) -> Result<()> { - if runtime_version != BOOTSTRAP_RUNTIME_VERSION { + if !crate::runtime::compatible_with(BOOTSTRAP_RUNTIME_VERSION, runtime_version) { return Err(Error::Transaction( "compiled runtime requires a separately reviewed upgrade catalog successor", )); @@ -42,6 +43,8 @@ fn require_bootstrap_runtime(runtime_version: &str) -> Result<()> { /// Stable IDs have immutable meanings. A future source update must retain these /// entries and add a separately reviewed successor, rather than moving an ID. +/// ADR 0012 applies this rule from the first tagged release; before that tag a +/// superseded entry with no adopter is removed, never reinterpreted. pub fn select(id: &str) -> Result { let revision = match id { "bootstrap-v1" => 1, @@ -90,13 +93,24 @@ mod tests { /// A future crate version must not silently redefine the immutable bootstrap-v1 authority. #[test] fn runtime_bump_requires_a_reviewed_catalog_successor() { - require_bootstrap_runtime("0.1.0").unwrap(); - for runtime in ["0.1.1", "0.2.0", "0.1.0-rc.1", "0.1.0+unreviewed"] { - assert!(require_bootstrap_runtime(runtime).is_err()); + // Patch releases keep the frozen contract and therefore the same authority. + for runtime in ["0.1.0", "0.1.1", "0.1.42"] { + require_bootstrap_runtime(runtime).unwrap(); + } + for runtime in [ + "0.0.9", + "0.2.0", + "1.1.0", + "0.1.0-rc.1", + "0.1.1-rc.1", + "0.1.0+unreviewed", + ] { + assert!(require_bootstrap_runtime(runtime).is_err(), "{runtime}"); } let authority = select("bootstrap-v1").unwrap(); + // The recorded identity is the frozen contract, never the running patch. assert_eq!(authority.runtime_version, "0.1.0"); - assert_eq!(authority.runtime_version, env!("CARGO_PKG_VERSION")); + assert!(crate::runtime::compatible(&authority.runtime_version)); } /// Verify that registry identity is independent of claims and unknown downgrades stay blocked. #[test] diff --git a/src/upgrade/state.rs b/src/upgrade/state.rs index 2d1566d..aab1502 100644 --- a/src/upgrade/state.rs +++ b/src/upgrade/state.rs @@ -45,7 +45,7 @@ pub(super) fn decode_state(bytes: &[u8]) -> Result { "invalid upgrade ownership schema version; no fallback", )); } - if state.runtime_version != env!("CARGO_PKG_VERSION") { + if !crate::runtime::compatible(&state.runtime_version) { return Err(Error::Transaction( "invalid upgrade ownership runtime version; no fallback", )); diff --git a/src/verification/context.rs b/src/verification/context.rs index 455b849..e27db9c 100644 --- a/src/verification/context.rs +++ b/src/verification/context.rs @@ -289,7 +289,12 @@ impl TrustedReleaseContext { crate::digest(&lock_bytes) == expectations.inputs.lock_sha256 && crate::digest(&io::read_bounded(&directory.join("Cargo.lock"), 1_048_576)?) == expectations.inputs.cargo_lock_sha256 - && lock.runtime_version == expectations.inputs.runtime_version + // The lock records the runtime contract; the approved runtime may be a + // later patch of that line. + && crate::runtime::compatible_with( + &lock.runtime_version, + &expectations.inputs.runtime_version, + ) && lock.workflows.repository == expectations.inputs.run.workflow.repository && lock.workflows.commit == expectations.inputs.run.workflow.commit, "approved-release-input-mismatch", diff --git a/tests/bootstrap.rs b/tests/bootstrap.rs index 305c263..a3ba7cc 100644 --- a/tests/bootstrap.rs +++ b/tests/bootstrap.rs @@ -660,3 +660,148 @@ fn new_bootstrap_defaults_to_the_v2_successor_authority() { ); } } + +/// `bootstrap check` is a drift detector: 0 only when every managed file holds the +/// generated bytes and no setup finding is open, 2 with reasons on stderr otherwise. +/// Release readiness is a separate, explicit and currently always-failing gate. +#[test] +fn cli_check_exit_status_reports_drift_separately_from_release_readiness() { + let (root, policy) = fixture("library"); + let check = |extra: &[&str]| { + let before = snapshot(root.path()); + let output = Command::new(env!("CARGO_BIN_EXE_armorer")) + .arg("--repository") + .arg(root.path()) + .args(["bootstrap", "check", "--policy"]) + .arg(policy.path()) + .args(extra) + .output() + .unwrap(); + // Check never writes, whatever it reports. + assert_eq!(snapshot(root.path()), before); + let plan: serde_json::Value = serde_json::from_slice(&output.stdout).unwrap(); + assert_eq!(plan["schema_version"], 2); + ( + output.status.code().unwrap(), + String::from_utf8(output.stderr).unwrap(), + ) + }; + + // Nothing provisioned: every missing file and the missing Cargo.lock are drift. + let (status, reasons) = check(&[]); + assert_eq!(status, 2); + assert!(reasons.contains("create:armorer.lock"), "{reasons}"); + assert!(reasons.contains("cargo-lock-missing"), "{reasons}"); + assert!(inspect(root.path(), policy.path()).unwrap().drift().len() >= 5); + + let plan = inspect(root.path(), policy.path()).unwrap(); + apply(root.path(), &plan, &plan.plan_sha256).unwrap(); + + // Provisioned files alone are not enough while a setup finding stays open. + let (status, reasons) = check(&[]); + assert_eq!(status, 2); + assert_eq!( + reasons.trim(), + "armorer: provisioning drift: cargo-lock-missing" + ); + fs::write( + root.path().join("Cargo.lock"), + "version = 4\n\n[[package]]\nname = \"pilot\"\nversion = \"0.1.0\"\n", + ) + .unwrap(); + + // In sync: open release gates are still listed in the plan but do not fail check. + let (status, reasons) = check(&[]); + assert_eq!((status, reasons.as_str()), (0, "")); + let synced = inspect(root.path(), policy.path()).unwrap(); + assert!(synced.drift().is_empty()); + assert!(!synced.findings.is_empty()); + + // The explicit release gate fails closed and names what is missing. + let (status, reasons) = check(&["--release-ready"]); + assert_eq!(status, 2); + assert!( + reasons.contains("release readiness not established") + && reasons.contains("release-runtime-unavailable") + && reasons.contains("capability-state-unknown"), + "{reasons}" + ); + assert!(!synced.release_blockers().is_empty()); + + // An edited or deleted owned file is drift; restoring the bytes clears it. + let workflow = root.path().join(".github/workflows/armorer-ci.yml"); + let original = fs::read(&workflow).unwrap(); + fs::write(&workflow, b"name: edited\n").unwrap(); + let (status, reasons) = check(&[]); + assert_eq!(status, 2); + assert!( + reasons.contains("conflict:.github/workflows/armorer-ci.yml"), + "{reasons}" + ); + fs::remove_file(&workflow).unwrap(); + assert_eq!(check(&[]).0, 2); + fs::write(&workflow, original).unwrap(); + assert_eq!(check(&[]).0, 0); +} + +/// Drift counts only file differences, pending recovery and local setup findings; +/// release readiness needs every finding closed and an observed capability state. +#[test] +fn drift_and_release_blockers_classify_each_reason_independently() { + let (root, policy) = fixture("library"); + let plan = inspect(root.path(), policy.path()).unwrap(); + apply(root.path(), &plan, &plan.plan_sha256).unwrap(); + let mut synced = inspect(root.path(), policy.path()).unwrap(); + assert_eq!(synced.drift(), ["cargo-lock-missing"]); + synced.findings.retain(|f| f.code != "cargo-lock-missing"); + assert!(synced.drift().is_empty()); + + let finding = |code: &str| plan::Finding { + code: code.into(), + detail: String::new(), + }; + // Release gates and review notes never count as drift. + for code in [ + "github-capabilities-unchecked", + "release-runtime-unavailable", + "cargo-config-excluded", + "native-build-review", + ] { + let mut value = synced.clone(); + value.findings = vec![finding(code)]; + assert!(value.drift().is_empty(), "{code}"); + assert!(value.release_blockers().contains(&code.to_owned())); + } + // Each local setup finding and a pending recovery is drift on its own. + for code in [ + "cargo-lock-missing", + "legacy-ownership-migration-required", + "license-file-missing", + ] { + let mut value = synced.clone(); + value.findings = vec![finding(code)]; + assert_eq!(value.drift(), [code]); + } + let mut value = synced.clone(); + value.recovery_required = true; + assert_eq!(value.drift(), ["transaction-recovery-required"]); + // Every non-unchanged disposition is reported with its path, sorted. + let mut value = synced.clone(); + value.changes[0].disposition = plan::Disposition::Update; + value.changes[1].disposition = plan::Disposition::Conflict; + value.changes[2].disposition = plan::Disposition::Create; + assert_eq!( + value.drift(), + [ + format!("conflict:{}", MANAGED[1]), + format!("create:{}", MANAGED[2]), + format!("update:{}", MANAGED[0]), + ] + ); + // Readiness requires no findings and an observed supported capability state. + let mut value = synced.clone(); + value.findings.clear(); + assert_eq!(value.release_blockers(), ["capability-state-unknown"]); + value.capability_state = "supported".into(); + assert!(value.release_blockers().is_empty()); +} diff --git a/tests/inspection.rs b/tests/inspection.rs index 358ab21..bd021b3 100644 --- a/tests/inspection.rs +++ b/tests/inspection.rs @@ -317,6 +317,44 @@ sha256 = "{}" assert_eq!(bytes, lock.as_bytes()); } +#[test] +/// A lock is readable by the running binary's own patch line only: never from a +/// newer patch, another minor or major line, or a prerelease. +fn lock_runtime_version_follows_the_patch_line_compatibility_rule() { + let root = fixture(); + let digest = "a".repeat(64); + let lock = |runtime: &str| { + format!( + "schema_version = 1\nconfig_sha256 = \"{digest}\"\nruntime_version = \"{runtime}\"\n[workflows]\nrepository = \"brianluby/armorer-workflows\"\ncommit = \"{}\"\n[tools.cargo-cyclonedx]\nversion = \"0.5.9\"\nsha256 = \"{}\"\n", + "b".repeat(40), + "c".repeat(64) + ) + }; + let running = semver::Version::parse(env!("CARGO_PKG_VERSION")).unwrap(); + let version = |major, minor, patch| format!("{major}.{minor}.{patch}"); + let mut accepted = vec![version(running.major, running.minor, running.patch)]; + if running.patch > 0 { + accepted.push(version(running.major, running.minor, 0)); + } + for runtime in accepted { + write(root.path(), "armorer.lock", &lock(&runtime)); + assert!( + load_lock(root.path(), &digest).unwrap().is_some(), + "{runtime}" + ); + } + for runtime in [ + version(running.major, running.minor, running.patch + 1), + version(running.major, running.minor + 1, 0), + version(running.major + 1, running.minor, running.patch), + format!("{running}-rc.1"), + format!("{running}+local"), + ] { + write(root.path(), "armorer.lock", &lock(&runtime)); + assert!(load_lock(root.path(), &digest).is_err(), "{runtime}"); + } +} + #[test] fn plan_hashes_exact_validated_lock_bytes() { use sha2::{Digest, Sha256}; diff --git a/tests/release_context.rs b/tests/release_context.rs index 22cb38e..2a01918 100644 --- a/tests/release_context.rs +++ b/tests/release_context.rs @@ -721,6 +721,43 @@ fn open_native(directory: &Path, outer: &Value) -> armorer::Result bool; + let upgrade_reads: Reader = + |root| upgrade::inspect(root, &root.join(POLICY), "bootstrap-v2", &[], false).is_ok(); + type Case = (&'static str, fn(&Path), Reader); + let cases: [Case; 3] = [ + ( + ".armorer/state.json", + |root| { + let p = armorer::plan::inspect(root, "plan").unwrap(); + armorer::apply::apply(root, &p, &p.plan_sha256).unwrap(); + }, + |root| armorer::plan::inspect(root, "plan").is_ok(), + ), + (".armorer/bootstrap-state-v2.json", bootstrap, |root| { + bootstrap::inspect(root, &root.join(POLICY)).is_ok() + }), + ( + ".armorer/upgrade-state-v1.json", + |root| { + bootstrap(root); + let p = preview(root, &[]); + upgrade::apply(root, &p, &p.plan_sha256).unwrap(); + }, + upgrade_reads, + ), + ]; + for (state, provision, reads) in cases { + let root = fixture("library"); + provision(root.path()); + let path = root.path().join(state); + let original = fs::read(&path).unwrap(); + let mut value: serde_json::Value = serde_json::from_slice(&original).unwrap(); + assert_eq!( + value["runtime_version"], + env!("CARGO_PKG_VERSION"), + "{state}" + ); + assert!(reads(root.path()), "{state} at the running version"); + for runtime in &rejected { + value["runtime_version"] = runtime.as_str().into(); + fs::write(&path, serde_json::to_vec(&value).unwrap()).unwrap(); + let before = snapshot(root.path()); + assert!(!reads(root.path()), "{state} accepted {runtime}"); + assert_eq!(snapshot(root.path()), before, "{state} {runtime}"); + } + fs::write(&path, &original).unwrap(); + assert!(reads(root.path()), "{state} restored"); + } +}