lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

commit 1484359a3c21b91ba823eaa211f9cfa331b2497d
parent 68feb7d4a43cfcefd6c189218c141914d95aa978
Author: triesap <tyson@radroots.org>
Date:   Fri, 24 Apr 2026 08:41:39 +0000

runtime: align contract fixture paths

- update runtime distribution and manager fixtures to use current owner doc paths
- normalize Radroots app package identifiers in distribution fixture coverage
- point xtask event-boundary validation at the canonical platform matrix
- validate with targeted runtime and xtask tests in nix develop

Diffstat:
Mcrates/runtime_distribution/src/lib.rs | 18+++++++++---------
Mcrates/runtime_manager/src/lib.rs | 2+-
Mcrates/runtime_manager/src/managed.rs | 2+-
Mcrates/runtime_manager/src/paths.rs | 2+-
Mcrates/xtask/src/contract.rs | 7+++----
5 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/crates/runtime_distribution/src/lib.rs b/crates/runtime_distribution/src/lib.rs @@ -10,8 +10,8 @@ pub use model::{ RadrootsRuntimeDistributionContract, RuntimeDistributionEntry, TargetSet, TargetSpec, }; pub use resolve::{ - RUNTIME_DISTRIBUTION_SCHEMA, RadrootsRuntimeDistributionResolver, ResolvedRuntimeArtifact, - RuntimeArtifactRequest, + RadrootsRuntimeDistributionResolver, ResolvedRuntimeArtifact, RuntimeArtifactRequest, + RUNTIME_DISTRIBUTION_SCHEMA, }; #[cfg(test)] @@ -19,14 +19,14 @@ mod tests { use toml::Value; use super::{ - RUNTIME_DISTRIBUTION_SCHEMA, RadrootsRuntimeDistributionError, - RadrootsRuntimeDistributionResolver, RuntimeArtifactRequest, + RadrootsRuntimeDistributionError, RadrootsRuntimeDistributionResolver, + RuntimeArtifactRequest, RUNTIME_DISTRIBUTION_SCHEMA, }; const CONTRACT: &str = r#" schema = "radroots-runtime-distribution" schema_version = 1 -owner_doc = "docs/migration/radroots-modular-runtime-management-bootstrap-rcl.md" +owner_doc = "docs/execution/rcl/radroots-modular-runtime-management-bootstrap-rcl.md" runtime_registry = "registry.toml" [family] @@ -158,8 +158,8 @@ human_installable = true id = "community-app-desktop" distribution_state = "defined" release_unit = "community-app-desktop" -package_name = "radroots-app-desktop" -binary_name = "radroots-app-desktop" +package_name = "radroots_app" +binary_name = "radroots_app" artifact_adapter = "desktop_bundle" target_set = "desktop_default" default_channel = "stable" @@ -169,7 +169,7 @@ human_installable = true id = "community-app-ios" distribution_state = "external_platform_managed" release_unit = "community-app-ios" -package_name = "radroots-app-ios" +package_name = "radroots_app_ios" artifact_adapter = "mobile_store_package" default_channel = "stable" human_installable = false @@ -301,7 +301,7 @@ human_installable = false .expect("resolve desktop artifact"); assert_eq!(artifact.target_id, "aarch64-apple-darwin"); - assert_eq!(artifact.package_name, "radroots-app-desktop"); + assert_eq!(artifact.package_name, "radroots_app"); } #[test] diff --git a/crates/runtime_manager/src/lib.rs b/crates/runtime_manager/src/lib.rs @@ -78,7 +78,7 @@ mod tests { const CONTRACT: &str = r#" schema = "radroots-runtime-management" schema_version = 1 -owner_doc = "docs/migration/radroots-modular-runtime-management-bootstrap-rcl.md" +owner_doc = "docs/execution/rcl/radroots-modular-runtime-management-bootstrap-rcl.md" runtime_registry = "registry.toml" distribution_contract = "distribution.toml" capabilities_contract = "capabilities.toml" diff --git a/crates/runtime_manager/src/managed.rs b/crates/runtime_manager/src/managed.rs @@ -707,7 +707,7 @@ mod tests { const CONTRACT: &str = r#" schema = "radroots-runtime-management" schema_version = 1 -owner_doc = "docs/migration/radroots-modular-runtime-management-bootstrap-rcl.md" +owner_doc = "docs/execution/rcl/radroots-modular-runtime-management-bootstrap-rcl.md" runtime_registry = "registry.toml" distribution_contract = "distribution.toml" capabilities_contract = "capabilities.toml" diff --git a/crates/runtime_manager/src/paths.rs b/crates/runtime_manager/src/paths.rs @@ -171,7 +171,7 @@ mod tests { const CONTRACT: &str = r#" schema = "radroots-runtime-management" schema_version = 1 -owner_doc = "docs/migration/radroots-modular-runtime-management-bootstrap-rcl.md" +owner_doc = "docs/execution/rcl/radroots-modular-runtime-management-bootstrap-rcl.md" runtime_registry = "registry.toml" distribution_contract = "distribution.toml" capabilities_contract = "capabilities.toml" diff --git a/crates/xtask/src/contract.rs b/crates/xtask/src/contract.rs @@ -1,6 +1,6 @@ #![forbid(unsafe_code)] -use crate::coverage::{CoveragePolicyFile, CoverageThresholds, read_coverage_policy}; +use crate::coverage::{read_coverage_policy, CoveragePolicyFile, CoverageThresholds}; use serde::Deserialize; use serde_json::Value; use std::collections::{BTreeMap, BTreeSet}; @@ -14,9 +14,8 @@ const CONFORMANCE_ROOT_RELATIVE: &str = "spec/conformance"; const CONFORMANCE_SCHEMA_RELATIVE: &str = "spec/conformance/schema/vector.schema.json"; const RELEASE_POLICY_ENV: &str = "RADROOTS_MOUNTED_RUST_CRATE_PUBLISH_POLICY"; const EVENT_BOUNDARY_MATRIX_ENV: &str = "RADROOTS_EVENT_BOUNDARY_MATRIX"; -const EVENT_BOUNDARY_MATRIX_RELATIVES: [&str; 2] = [ - "dev/docs/radroots/radrootsd/spec-coverage.md", - "docs/radroots/radrootsd/spec-coverage.md", +const EVENT_BOUNDARY_MATRIX_RELATIVES: [&str; 1] = [ + "docs/platform/canonical/open_source/radroots_v1_spec/02_public_contract_and_runtime/08_event_boundary_matrix.md", ]; #[derive(Debug, Deserialize)]