commit 32414ba7b441d7de9294693d2e9f59ffa49cfb33
parent b6c70997f2876ec0a71a451d19660271ff23e935
Author: triesap <tyson@radroots.org>
Date: Fri, 16 Oct 2026 14:42:57 +0000
build: bind CLI compiler inputs to the current public provider
- Adopt one exact Lib revision in Cargo, Nix and source-lock inputs.
- Preserve registry resolutions and regenerate the actual Nix input lock.
- Define current artifact preparation without inheriting historical claims.
- Verify both feature profiles, public API, dependency policy and SQLx linkage.
Diffstat:
9 files changed, 160 insertions(+), 27 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -30,6 +30,12 @@ the standalone command surfaces; checked-in Nix material is deferred and
unclaimed through RCLD-RSHR-170. The root `README` is concise public routing
material, not a substitute for a machine contract.
+Current compiler/provider preparation uses the exact V1 Lib source lock and
+`contracts/release/cli-artifact-contract.v4.json`. Current Nix execution and
+artifact qualification require separate source-scoped evidence. The original
+V3 descriptor and Step 302 replay retain their original scope and do not
+qualify new compiler or provider inputs.
+
`.env.example` is non-authoritative pre-refactor evidence. It does not describe
current runtime behavior and remains only until its owning later cleanup
checkpoint; do not use it to invent or preserve configuration behavior.
diff --git a/Cargo.lock b/Cargo.lock
@@ -935,7 +935,7 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
[[package]]
name = "radroots"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"radroots_core",
"radroots_event",
@@ -948,7 +948,7 @@ dependencies = [
[[package]]
name = "radroots_blossom"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"mediatype",
"serde",
@@ -980,7 +980,7 @@ dependencies = [
[[package]]
name = "radroots_core"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"rust_decimal",
"serde",
@@ -989,7 +989,7 @@ dependencies = [
[[package]]
name = "radroots_event"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"hex",
"jiff-tzdb",
@@ -1007,7 +1007,7 @@ dependencies = [
[[package]]
name = "radroots_event_codec"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"hex",
"radroots_blossom",
@@ -1024,7 +1024,7 @@ dependencies = [
[[package]]
name = "radroots_geonames"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"fs2",
"futures",
@@ -1038,7 +1038,7 @@ dependencies = [
[[package]]
name = "radroots_identity"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"k256",
"serde",
@@ -1048,7 +1048,7 @@ dependencies = [
[[package]]
name = "radroots_protocol"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"serde",
]
@@ -1056,7 +1056,7 @@ dependencies = [
[[package]]
name = "radroots_sdk"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"radroots_core",
"radroots_event",
@@ -1073,7 +1073,7 @@ dependencies = [
[[package]]
name = "radroots_signing"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"hex",
"radroots_event",
@@ -1086,7 +1086,7 @@ dependencies = [
[[package]]
name = "radroots_storage"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"radroots_event",
"radroots_event_codec",
@@ -1099,7 +1099,7 @@ dependencies = [
[[package]]
name = "radroots_trade"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"hex",
"radroots_core",
@@ -1113,7 +1113,7 @@ dependencies = [
[[package]]
name = "radroots_transport"
version = "0.1.0-alpha"
-source = "git+https://github.com/radrootslabs/lib.git?rev=3563f3b5a4331eb2cb3f925cafc9de524d844228#3563f3b5a4331eb2cb3f925cafc9de524d844228"
+source = "git+https://github.com/radrootslabs/lib.git?rev=386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a#386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
dependencies = [
"radroots_event",
"radroots_identity",
diff --git a/Cargo.toml b/Cargo.toml
@@ -28,7 +28,7 @@ test-fixture-geonames-asset = ["radroots/geonames"]
[dependencies]
clap = { version = "4.5", features = ["derive"] }
-radroots = { git = "https://github.com/radrootslabs/lib.git", rev = "3563f3b5a4331eb2cb3f925cafc9de524d844228", version = "=0.1.0-alpha" }
+radroots = { git = "https://github.com/radrootslabs/lib.git", rev = "386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a", version = "=0.1.0-alpha" }
serde_json = "1.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
diff --git a/README b/README
@@ -102,6 +102,11 @@ The standalone flake exposes exactly one real `radroots` package, check, and
application for `aarch64-darwin` and `x86_64-linux`. It exposes no checkout
wrapper, development shell, NixOS module, OCI artifact, or other system.
+Current source inputs select Rust 1.99.0 and the exact public Lib cohort.
+`contracts/release/cli-artifact-contract.v4.json` requires separate current
+execution evidence. The original V3 descriptor and Step 302 replay retain
+their historical scope; source binding alone does not qualify new artifacts.
+
## Copyright and license
Except as otherwise noted, all files in the `radroots_cli` distribution are
diff --git a/contracts/release/cli-artifact-contract.v4.json b/contracts/release/cli-artifact-contract.v4.json
@@ -0,0 +1,121 @@
+{
+ "artifact_policy": {
+ "checksums": "required",
+ "cyclonedx_version": "1.6",
+ "exact_tree_source_archives": "required",
+ "fresh_install": "required",
+ "git_history_bundles": "forbidden",
+ "intoto_statement": "required",
+ "notices": "required",
+ "reproducibility_build_count": 2,
+ "secret_scan": "required",
+ "unsigned_packages": "required",
+ "unsigned_slsa_provenance": "required"
+ },
+ "contract_version": 4,
+ "delivery": {
+ "candidate_class": "unsigned_nonpublishing",
+ "developer_id_signing": "forbidden",
+ "developer_team_id": "forbidden",
+ "distribution_signing": "forbidden",
+ "embedded_platform_adhoc_signing": "permitted_non_distribution_only",
+ "g2": "unauthorized",
+ "notarization": "unauthorized",
+ "production_activation": "unauthorized",
+ "publication": "unauthorized",
+ "signing": "unauthorized"
+ },
+ "output": [
+ {
+ "classification": "required_target",
+ "id": "package",
+ "platforms": [
+ "macos_aarch64",
+ "linux_x86_64"
+ ]
+ },
+ {
+ "classification": "required_target",
+ "id": "app",
+ "platforms": [
+ "macos_aarch64",
+ "linux_x86_64"
+ ]
+ },
+ {
+ "classification": "required_target",
+ "id": "check",
+ "platforms": [
+ "macos_aarch64",
+ "linux_x86_64"
+ ]
+ }
+ ],
+ "package_contract": {
+ "artifact_format": "nix_store_derivation",
+ "binary_name": "radroots",
+ "cargo_package": "radroots_cli",
+ "flake_app": "apps.<system>.default",
+ "flake_package": "packages.<system>.default",
+ "identity": "radroots_cli",
+ "package_version": "0.1.0",
+ "product_version": "0.1.0"
+ },
+ "platforms": [
+ "macos_aarch64",
+ "linux_x86_64"
+ ],
+ "producer": {
+ "command_authority": "repository_flake",
+ "kind": "nix_flake",
+ "nix_binding": "required",
+ "source_task": "nix_build_repository_outputs",
+ "execution_evidence": "separate_source_scoped_receipts"
+ },
+ "repository": "oss/cli",
+ "schema": "radroots.release.artifact-contract.v4",
+ "source_archive": {
+ "binding": "canonical_exact_source_revision_tree_archive",
+ "compression": "none",
+ "compression_timestamp": "not_applicable",
+ "content": "exact_source_revision_tree",
+ "directory_entries": "omitted",
+ "entry_order": "bytewise_git_path",
+ "file_mode": "git_index_100644_or_100755",
+ "format": "ustar",
+ "gid": 0,
+ "git_history": "forbidden",
+ "gname": "",
+ "hardlinks": "forbidden",
+ "mtime_source": "candidate_source_date_epoch",
+ "path_prefix": "none",
+ "pax_headers": "forbidden",
+ "submodules": "forbidden",
+ "symlinks": "forbidden",
+ "trailer": "two_zero_blocks",
+ "uid": 0,
+ "uname": ""
+ },
+ "source_binding": {
+ "dirty_tree": "forbidden",
+ "kind": "exact_clean_git_commit",
+ "revision_location": "aggregate_source_revision"
+ },
+ "sqlite": {
+ "high_level_authority": "sqlx_only",
+ "incremental_backup_adapter": "sealed_native_sqlx_owned_locked_handle_only",
+ "native_linkage_count": 1,
+ "second_pool_connection_query_transaction_migration_authority": "forbidden"
+ },
+ "predecessor": {
+ "filename": "cli-artifact-contract.v3.json",
+ "contract_version": 3,
+ "status": "historical"
+ },
+ "state": "active_unsigned_preparation",
+ "toolchain": {
+ "rust_version": "1.99.0",
+ "edition": "2024"
+ },
+ "qualification_posture": "bound_inputs_require_separate_current_execution_evidence"
+}
diff --git a/flake.lock b/flake.lock
@@ -45,17 +45,17 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
- "lastModified": 1787209450,
- "narHash": "sha256-9cm5/jyp5+/2KUCRdi4jynU1pYaX+23+LbXwVBiHfqs=",
+ "lastModified": 1792158226,
+ "narHash": "sha256-JuDYlQok9ujR5TAOvSHAMbi6SwPLXk1A5KOyxI53658=",
"owner": "radrootslabs",
"repo": "lib",
- "rev": "3563f3b5a4331eb2cb3f925cafc9de524d844228",
+ "rev": "386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a",
"type": "github"
},
"original": {
"owner": "radrootslabs",
"repo": "lib",
- "rev": "3563f3b5a4331eb2cb3f925cafc9de524d844228",
+ "rev": "386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a",
"type": "github"
}
},
@@ -112,16 +112,17 @@
]
},
"locked": {
- "lastModified": 1785131767,
- "narHash": "sha256-VNbQv2P0zgaNh96mT4LrnX7hdXgiC5nBH+uvyrrVX7U=",
+ "lastModified": 1792087235,
+ "narHash": "sha256-vQHkG9lwSHJI3MVnyilP50hWW3TNnBWFTbLIurWgPhI=",
"owner": "oxalica",
"repo": "rust-overlay",
- "rev": "c67ce00525464a710971351c183ce67acb6ca827",
+ "rev": "87ffb7f777aef2e2647fd8fd718a5b3cbc825588",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
+ "rev": "87ffb7f777aef2e2647fd8fd718a5b3cbc825588",
"type": "github"
}
},
diff --git a/flake.nix b/flake.nix
@@ -4,7 +4,7 @@
inputs = {
crane.url = "github:ipetkov/crane/01bc1d404a51a0a07e9d8759cd50a7903e218c82";
lib = {
- url = "github:radrootslabs/lib/3563f3b5a4331eb2cb3f925cafc9de524d844228";
+ url = "github:radrootslabs/lib/386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a";
inputs.crane.follows = "crane";
};
nixpkgs.follows = "lib/nixpkgs";
diff --git a/radroots.lib.source-lock.v1.toml b/radroots.lib.source-lock.v1.toml
@@ -1,9 +1,9 @@
schema = "radroots.lib.source-lock.v1"
repository = "https://github.com/radrootslabs/lib"
-revision = "3563f3b5a4331eb2cb3f925cafc9de524d844228"
+revision = "386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a"
architecture = "radroots.crates.release.v2"
-workspace_catalog_sha256 = "deca0c080deae187ff8186c0708903e42f41ea57f77c5f91581e23aa561164a4"
+workspace_catalog_sha256 = "f6f0d6af573b28e5b5bf7c6862d26ba6a5583d5674149fb4e96f8a6630b51735"
version = "0.1.0-alpha"
-source_archive_sha256 = "2da62bd0112d43b634ba5e87dfc09d048f7ea1836ab89d2fd18fcfce5186ad6b"
+source_archive_sha256 = "4b03e0f23608f496bf811cc4b18490798c511e7e8e6a9379846174db0047debb"
lockfile = "Cargo.lock"
-lockfile_sha256 = "e0d86121841778d6ebb802bbfb807e7f74490a03b2a9593b15a7ac39020300ac"
+lockfile_sha256 = "53e1edd820294b5e01a48da7d369f9ea595baedcf40bcf8e850f84710a4a1cf7"
diff --git a/tests/package_boundary.rs b/tests/package_boundary.rs
@@ -44,7 +44,7 @@ fn implementation_modules_are_private_and_api_is_root_only() {
#[test]
fn nix_outputs_are_real_owned_and_exactly_bounded() {
for required in [
- "github:radrootslabs/lib/3563f3b5a4331eb2cb3f925cafc9de524d844228",
+ "github:radrootslabs/lib/386e2d7e8cca95bdd0f6ce3444b5e741ea61ef8a",
"\"aarch64-darwin\"",
"\"x86_64-linux\"",
"craneLib.buildPackage",