diff --git a/crates/ironclaw_reborn_cli/Cargo.toml b/crates/ironclaw_reborn_cli/Cargo.toml index 74570c53909..755afc7f79d 100644 --- a/crates/ironclaw_reborn_cli/Cargo.toml +++ b/crates/ironclaw_reborn_cli/Cargo.toml @@ -3,7 +3,7 @@ name = "ironclaw" version = "1.0.0-rc.1" edition = "2024" rust-version.workspace = true -description = "Standalone IronClaw Reborn binary" +description = "Secure personal AI assistant that protects your data and expands its capabilities on the fly" authors = ["NEAR AI "] license = "MIT OR Apache-2.0" homepage = "https://github.com/nearai/ironclaw" diff --git a/crates/ironclaw_reborn_cli/tests/smoke.rs b/crates/ironclaw_reborn_cli/tests/smoke.rs index bd04f690016..866ddf02d8b 100644 --- a/crates/ironclaw_reborn_cli/tests/smoke.rs +++ b/crates/ironclaw_reborn_cli/tests/smoke.rs @@ -6969,6 +6969,35 @@ fn release_ci_publishes_reborn_without_enabling_legacy_or_docker_paths() { && !root.join("wix/main.wxs").exists(), "the MSI definition must install only the canonical Reborn executable" ); + let cli_package_section = cli_manifest + .split_once("[package]\n") + .map(|(_, remainder)| remainder) + .and_then(|remainder| remainder.split_once("\n[").map(|(section, _)| section)) + .expect("Reborn CLI manifest must define a [package] section"); + let cli_description = cli_package_section + .lines() + .find_map(|line| { + line.strip_prefix("description = \"") + .and_then(|value| value.strip_suffix('"')) + }) + .expect("Reborn CLI manifest must define a package description"); + let wix_package_element = wix_manifest + .split_once("").map(|(element, _)| element)) + .expect("Reborn WiX manifest must define a Package element"); + let wix_description = wix_package_element + .lines() + .find_map(|line| { + line.trim() + .strip_prefix("Description='") + .and_then(|value| value.strip_suffix('\'')) + }) + .expect("Reborn WiX Package element must define a Description attribute"); + assert_eq!( + wix_description, cli_description, + "the checked-in WiX package description must match the Cargo package metadata" + ); let reborn_cli_selector = code_style_workflow .lines() .find(|line| line.contains("grep -Eq") && line.contains("crates/ironclaw_reborn_cli/"))