From d8da66d34f80ea6a9d419bbc2c37b78fb4691f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lomig=20Me=CC=81gard?= Date: Sun, 27 Sep 2026 14:55:21 +0200 Subject: [PATCH] fix: rite verify and rite report help name evidence bundles Both commands accept a bundle or a disclosure; their help said only a transcript file or a run directory. --- crates/rite/src/main.rs | 8 +++++--- crates/rite/src/report.rs | 7 ++++--- crates/rite/src/verify.rs | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/crates/rite/src/main.rs b/crates/rite/src/main.rs index 6a1edcd..d4f2a35 100644 --- a/crates/rite/src/main.rs +++ b/crates/rite/src/main.rs @@ -83,9 +83,11 @@ enum Commands { /// Verify a ceremony transcript's integrity /// /// Re-checks the append-only hash chain, re-derives the recorded entropy, - /// and, for a run directory, re-hashes the artifacts against their recorded - /// digests and reads each wrapped key back to confirm it was produced the - /// way the transcript says. + /// and, for a run directory or a bundle, re-hashes the artifacts against + /// their recorded digests and reads each wrapped key back to confirm it was + /// produced the way the transcript says. For a bundle, it also checks the + /// index and the ceremony definition, and for a disclosure, that exactly + /// the facts above its level are withheld. Verify(verify::Args), /// Create and derive evidence bundles /// diff --git a/crates/rite/src/report.rs b/crates/rite/src/report.rs index 2ed904e..9b11973 100644 --- a/crates/rite/src/report.rs +++ b/crates/rite/src/report.rs @@ -9,10 +9,11 @@ use rite_runtime::read_verified_transcript; #[derive(ClapArgs, Debug)] pub struct Args { - /// Transcript file or run output directory + /// Transcript file, run output directory, or evidence bundle /// - /// Accepts a `transcript.jsonl` file or the output directory produced by - /// `rite run` (which contains `transcript.jsonl`). + /// Accepts a `transcript.jsonl` file, or a directory that contains one: the + /// output directory of `rite run`, a bundle from `rite bundle create`, or a + /// disclosure from `rite bundle disclose`. pub transcript: PathBuf, /// Output path (`-` for stdout) /// diff --git a/crates/rite/src/verify.rs b/crates/rite/src/verify.rs index a59e4ef..74e32b9 100644 --- a/crates/rite/src/verify.rs +++ b/crates/rite/src/verify.rs @@ -14,7 +14,7 @@ const DRY_RUN_SOURCE: &str = "dry-run"; #[derive(ClapArgs, Debug)] pub struct Args { - /// Transcript file or run output directory + /// Transcript file, run output directory, or evidence bundle pub file: PathBuf, /// Accept a transcript with no terminal fact (an interrupted run) ///