rhi

Coordinated trade for connected markets
git clone https://radroots.dev/git/rhi.git
Log | Files | Refs | README | LICENSE

commit 1335954540a7aaf6bd08e61aadfa2f9501811244
parent 10b2a7097bd698151f027f96b6d0226d95b7b092
Author: triesap <tyson@radroots.org>
Date:   Sat, 17 Oct 2026 10:28:38 +0000

build: adopt the published shared library source

- Align exact Cargo and Nix inputs with the published library revision.
- Preserve product, policy, API and historical source-lock contracts.
- Regenerate the current V4 source lock and source-bound fixture expectations.
- Verify complete native policy lanes, Linux Nix tests and committed freshness.

Diffstat:
MCargo.lock | 30+++++++++++++++---------------
MCargo.toml | 24++++++++++++------------
Mflake.lock | 8++++----
Mflake.nix | 4++--
Mradroots.service.source_lock.v4.toml | 12++++++------
Mtests/build_policy.rs | 18+++++++++---------
Mtests/services_hardening_admin_wave_qualification.rs | 2+-
Mtests/services_hardening_failure_qualification.rs | 2+-
Mtests/services_hardening_native_release.rs | 4++--
Mtests/services_hardening_process.rs | 2+-
Mtests/services_hardening_state_catalog.rs | 2+-
Mtests/services_hardening_wave_100_a.rs | 2+-
Mtests/source_guards.rs | 2+-
13 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -1833,7 +1833,7 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "radroots_blossom" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "mediatype", "serde", @@ -1845,7 +1845,7 @@ dependencies = [ [[package]] name = "radroots_core" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "rust_decimal", "serde", @@ -1854,7 +1854,7 @@ dependencies = [ [[package]] name = "radroots_event" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "hex", "jiff-tzdb", @@ -1872,7 +1872,7 @@ dependencies = [ [[package]] name = "radroots_event_codec" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "hex", "radroots_blossom", @@ -1889,7 +1889,7 @@ dependencies = [ [[package]] name = "radroots_identity" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "k256", "serde", @@ -1899,7 +1899,7 @@ dependencies = [ [[package]] name = "radroots_nostr" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "nostr 0.44.7", "radroots_event", @@ -1913,7 +1913,7 @@ dependencies = [ [[package]] name = "radroots_protocol" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "serde", ] @@ -1921,7 +1921,7 @@ dependencies = [ [[package]] name = "radroots_runtime_paths" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "rustix", "serde", @@ -1931,7 +1931,7 @@ dependencies = [ [[package]] name = "radroots_secrets" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "chacha20poly1305", "serde", @@ -1943,7 +1943,7 @@ dependencies = [ [[package]] name = "radroots_service_host" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "bytes", "fs2", @@ -1964,7 +1964,7 @@ dependencies = [ [[package]] name = "radroots_service_sqlite" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "fs2", "futures", @@ -1982,7 +1982,7 @@ dependencies = [ [[package]] name = "radroots_storage" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "radroots_event", "radroots_event_codec", @@ -1995,7 +1995,7 @@ dependencies = [ [[package]] name = "radroots_trade" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "hex", "radroots_core", @@ -2009,7 +2009,7 @@ dependencies = [ [[package]] name = "radroots_transport" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "radroots_event", "radroots_identity", @@ -2020,7 +2020,7 @@ dependencies = [ [[package]] name = "radroots_transport_nostr" version = "0.1.0-alpha" -source = "git+https://github.com/radrootslabs/lib?rev=3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f#3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +source = "git+https://github.com/radrootslabs/lib?rev=b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4#b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" dependencies = [ "async-wsocket", "futures", diff --git a/Cargo.toml b/Cargo.toml @@ -52,18 +52,18 @@ workspace = true [dependencies] base64 = "0.22" -radroots_event = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha", features = ["serde"] } -radroots_event_codec = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha", features = ["json"] } -radroots_nostr = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha", features = ["events"] } -radroots_protocol = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } -radroots_runtime_paths = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } -radroots_service_host = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } -radroots_service_sqlite = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } -radroots_storage = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha", default-features = false } -radroots_transport = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha", default-features = false, features = ["std"] } -radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } -radroots_secrets = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } -radroots_trade = { git = "https://github.com/radrootslabs/lib", rev = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", version = "=0.1.0-alpha" } +radroots_event = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", features = ["serde"] } +radroots_event_codec = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", features = ["json"] } +radroots_nostr = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", features = ["events"] } +radroots_protocol = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } +radroots_runtime_paths = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } +radroots_service_host = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } +radroots_service_sqlite = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } +radroots_storage = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", default-features = false } +radroots_transport = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha", default-features = false, features = ["std"] } +radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } +radroots_secrets = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } +radroots_trade = { git = "https://github.com/radrootslabs/lib", rev = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", version = "=0.1.0-alpha" } chacha20poly1305 = { version = "0.10" } clap = { version = "4", features = ["derive"] } diff --git a/flake.lock b/flake.lock @@ -45,17 +45,17 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1792185203, - "narHash": "sha256-cBfLxPOMFAJ7d6r1MLf1N9utwuRBe4jDCcMx/u/jk7c=", + "lastModified": 1792224313, + "narHash": "sha256-SdpBK4wv43TsvgNXgf81XoKCMNwCEAdCMSkbabWbWpo=", "owner": "radrootslabs", "repo": "lib", - "rev": "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", + "rev": "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", "type": "github" }, "original": { "owner": "radrootslabs", "repo": "lib", - "rev": "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f", + "rev": "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4", "type": "github" } }, diff --git a/flake.nix b/flake.nix @@ -8,7 +8,7 @@ # that upstream fetch defect while preserving the same locked sources. crane.url = "github:ipetkov/crane/01bc1d404a51a0a07e9d8759cd50a7903e218c82"; lib = { - url = "github:radrootslabs/lib/3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f"; + url = "github:radrootslabs/lib/b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4"; inputs.crane.follows = "crane"; }; nixpkgs.follows = "lib/nixpkgs"; @@ -130,7 +130,7 @@ buildInfo = { serviceVersion = "0.1.0"; serviceCommit = self.rev or "0000000000000000000000000000000000000000"; - libRevision = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f"; + libRevision = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4"; rustVersion = "1.99.0"; target = "x86_64-unknown-linux-gnu"; featureProfile = "service-host"; diff --git a/radroots.service.source_lock.v4.toml b/radroots.service.source_lock.v4.toml @@ -2,12 +2,12 @@ schema = "radroots.service.source_lock.v4" contract_version = 4 service = "rhi" repository = "https://github.com/radrootslabs/lib" -revision = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +revision = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" architecture = "radroots.crates.release.v2" -workspace_catalog_sha256 = "f6f0d6af573b28e5b5bf7c6862d26ba6a5583d5674149fb4e96f8a6630b51735" +workspace_catalog_sha256 = "1e679431ad70a024affc52e6c71151459aca41707429dd8015d014d27e5f40b6" version = "0.1.0-alpha" -source_archive_sha256 = "9229fcb361a54bb925ccf2737010a44f564a61e414b9aa88c28e2eb2a7f8bef3" -cargo_lock_sha256 = "97b9d174c68a51e2c690c72c5848c4d36d2f9358197f8dc7399d2bd8a9eb346e" +source_archive_sha256 = "2e301532e6baa538e94d44aaa34cc8eb8bd209ba910e687ccaf0e967d118455e" +cargo_lock_sha256 = "94b8018715f5bffc868a0d2974108ec0cd7ace5076dd3b6796ac1c4e4175384a" rust_version = "1.99.0" host_feature_profile = "service-host" @@ -33,12 +33,12 @@ trailer = "two_zero_blocks" [nix] material = "bound" -lib_revision = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f" +lib_revision = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4" supported_systems = ["aarch64-darwin", "x86_64-linux"] [nix.public_input_lock] path = "flake.lock" -sha256 = "fc3ef1298305252dbb562d8bbd67d52a4339fb51489a7187fdaf5897f9158f8d" +sha256 = "cd10fd6b3496fd7aa7f5bf2549d42752b9d5be6ad43f3c9f5f510309bc0ac6d3" binding = "exact_regular_file_bytes" mutable_reference = "forbidden" lib_input = "lib" diff --git a/tests/build_policy.rs b/tests/build_policy.rs @@ -44,7 +44,7 @@ fn source_lock_metadata_is_exact_and_nix_is_bound() { fn shared_host_packages_are_exactly_source_locked() { for dependency in ["radroots_service_host", "radroots_service_sqlite"] { assert!(MANIFEST.contains(&format!( - "{dependency} = {{ git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\", version = \"=0.1.0-alpha\" }}" + "{dependency} = {{ git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\" }}" ))); } } @@ -52,7 +52,7 @@ fn shared_host_packages_are_exactly_source_locked() { #[test] fn shared_service_sqlite_is_the_only_catalog_authority() { assert!(MANIFEST.contains( - "radroots_service_sqlite = { git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\", version = \"=0.1.0-alpha\" }" + "radroots_service_sqlite = { git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\" }" )); for forbidden in ["rusqlite", "libsqlite3-sys"] { assert!( @@ -65,17 +65,17 @@ fn shared_service_sqlite_is_the_only_catalog_authority() { #[test] fn shared_storage_generation_type_is_exactly_source_locked() { assert!(MANIFEST.contains( - "radroots_storage = { git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\", version = \"=0.1.0-alpha\", default-features = false }" + "radroots_storage = { git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\", default-features = false }" )); } #[test] fn shared_transport_spi_is_exactly_source_locked_without_serde() { assert!(MANIFEST.contains( - "radroots_transport = { git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\", version = \"=0.1.0-alpha\", default-features = false, features = [\"std\"] }" + "radroots_transport = { git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\", default-features = false, features = [\"std\"] }" )); assert!(MANIFEST.contains( - "radroots_transport_nostr = { git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\", version = \"=0.1.0-alpha\" }" + "radroots_transport_nostr = { git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\" }" )); } @@ -88,15 +88,15 @@ fn source_lock_binds_the_current_cargo_lock() { )); assert!(SOURCE_LOCK.contains(&format!("cargo_lock_sha256 = \"{digest}\""))); assert!(SOURCE_LOCK.contains(&format!("sha256 = \"{flake_digest}\""))); - assert!(SOURCE_LOCK.contains("revision = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\"")); + assert!(SOURCE_LOCK.contains("revision = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\"")); assert!(SOURCE_LOCK.contains( - "workspace_catalog_sha256 = \"f6f0d6af573b28e5b5bf7c6862d26ba6a5583d5674149fb4e96f8a6630b51735\"" + "workspace_catalog_sha256 = \"1e679431ad70a024affc52e6c71151459aca41707429dd8015d014d27e5f40b6\"" )); assert!(SOURCE_LOCK.contains( - "source_archive_sha256 = \"9229fcb361a54bb925ccf2737010a44f564a61e414b9aa88c28e2eb2a7f8bef3\"" + "source_archive_sha256 = \"2e301532e6baa538e94d44aaa34cc8eb8bd209ba910e687ccaf0e967d118455e\"" )); assert!(SOURCE_LOCK.contains( - "[nix]\nmaterial = \"bound\"\nlib_revision = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\"\nsupported_systems = [\"aarch64-darwin\", \"x86_64-linux\"]\n" + "[nix]\nmaterial = \"bound\"\nlib_revision = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\"\nsupported_systems = [\"aarch64-darwin\", \"x86_64-linux\"]\n" )); assert!(SOURCE_LOCK.ends_with( "[contract_versions]\nconfig = 1\nstate = 11\nadmin = 1\nstatus = 1\nprovider = 1\n" diff --git a/tests/services_hardening_admin_wave_qualification.rs b/tests/services_hardening_admin_wave_qualification.rs @@ -121,7 +121,7 @@ fn qualification_is_executable_source_locked_and_authority_safe() { .all(|byte| byte.is_ascii_hexdigit() && !byte.is_ascii_uppercase()) ); assert_eq!(revision, "053d0c750bf9cd683c6ea37cefe7e79617ba629f"); - assert!(MANIFEST.contains("rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\"")); + assert!(MANIFEST.contains("rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\"")); assert!( MANIFEST .contains("radroots_service_host = { git = \"https://github.com/radrootslabs/lib\"") diff --git a/tests/services_hardening_failure_qualification.rs b/tests/services_hardening_failure_qualification.rs @@ -180,7 +180,7 @@ fn historical_source_lock_binds_the_shared_sqlite_failure_corpus() { .expect("Lib revision"); assert_eq!(revision, "053d0c750bf9cd683c6ea37cefe7e79617ba629f"); assert!(MANIFEST.contains( - "radroots_service_sqlite = { git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\"" + "radroots_service_sqlite = { git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\"" )); assert_eq!( contract["source_locked_shared_sqlite_corpus"], diff --git a/tests/services_hardening_native_release.rs b/tests/services_hardening_native_release.rs @@ -20,7 +20,7 @@ const SYSTEMD_UNIT: &str = include_str!("../packaging/systemd/rhi@.service"); const RELEASE_ACCEPTANCE: &str = include_str!("../scripts/release-acceptance.sh"); const XTASK_MANIFEST: &str = include_str!("../tools/xtask/Cargo.toml"); -const LIB_REVISION: &str = "3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f"; +const LIB_REVISION: &str = "b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4"; const LIB_REPOSITORY: &str = "https://github.com/radrootslabs/lib"; #[test] @@ -266,7 +266,7 @@ fn every_radroots_dependency_is_exactly_source_locked() { assert!(source.contains(&format!("?rev={LIB_REVISION}#{LIB_REVISION}"))); for required in [ - "url = \"github:radrootslabs/lib/3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\";", + "url = \"github:radrootslabs/lib/b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\";", "systems = lib.lib.supportedSystems;", "nixosModules.default", ] { diff --git a/tests/services_hardening_process.rs b/tests/services_hardening_process.rs @@ -701,7 +701,7 @@ fn process_qualification_contract_freezes_the_exact_wave_closure() { lower_hex(&Sha256::digest(FAILURE_QUALIFICATION_CONTRACT)), contract["component_qualification"]["sha256"] ); - assert!(SOURCE_LOCK.contains("revision = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\"")); + assert!(SOURCE_LOCK.contains("revision = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\"")); } #[test] diff --git a/tests/services_hardening_state_catalog.rs b/tests/services_hardening_state_catalog.rs @@ -579,7 +579,7 @@ fn secret_object() -> SchemaObject { #[test] fn catalog_source_is_pure_pinned_and_uses_only_the_shared_authority() { assert!(MANIFEST.contains( - "radroots_service_sqlite = { git = \"https://github.com/radrootslabs/lib\", rev = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\", version = \"=0.1.0-alpha\" }" + "radroots_service_sqlite = { git = \"https://github.com/radrootslabs/lib\", rev = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\", version = \"=0.1.0-alpha\" }" )); assert!(LIB_SOURCE.contains("mod state_catalog;")); assert!(!LIB_SOURCE.contains("pub mod state_catalog;")); diff --git a/tests/services_hardening_wave_100_a.rs b/tests/services_hardening_wave_100_a.rs @@ -52,7 +52,7 @@ fn wave_one_removed_files_remain_absent_with_current_source_binding() { "schema = \"radroots.service.source_lock.v4\"\ncontract_version = 4\nservice = \"rhi\"\n" )); assert!(SOURCE_LOCK.contains("material = \"bound\"")); - assert!(SOURCE_LOCK.contains("lib_revision = \"3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f\"")); + assert!(SOURCE_LOCK.contains("lib_revision = \"b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4\"")); } #[test] diff --git a/tests/source_guards.rs b/tests/source_guards.rs @@ -43,7 +43,7 @@ fn rhi_manifest_exact_pins_radroots_contract() { ); assert_eq!( dependency.get("rev").and_then(toml::Value::as_str), - Some("3af7814ea4f76f2cca3d33d4c2bd8a854f3fb78f"), + Some("b6f927c4d484ed2f8afcf171a83f2c8f967fb4d4"), "RHI must source-lock {name} to the exact promoted Lib revision" ); assert_eq!(