Skip to main content

run_verify

Function run_verify 

Source
pub fn run_verify(
    args: &VerifyForensicBundleArgs,
    out: &mut CliOutput<'_>,
) -> Result<i32>
Expand description

Run ai-memory verify-forensic-bundle.

§Errors

Propagates I/O / parse errors. Verification failure (the bundle was parseable but didn’t pass integrity checks) returns Ok(non-zero exit code) rather than an error.

v0.7.0 G-PHASE-E-4 (#709) — raised the failure exit code from 1 to 2. 1 was indistinguishable from CLI argument errors / unwrap panics under shell error trapping; 2 is the conventional “verification failed” code (matches the new convention on verify-reflection-chain).