affidavit 26.6.22

Provenance Layer — receipt assembly and certification (verify a witness against a format standard; never decide honesty).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2024 Sean Chatman
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Thin verb wrapper. The pack is authoritative for the CLI *interface* only;
// the body delegates to a stable consumer-implemented handler.

//! `affi doctor` verb — environment and receipt-store health checks.

use clap_noun_verb::Result;
use clap_noun_verb_macros::verb;

/// Run environment and receipt-store health checks
#[verb("doctor", "affi")]
pub fn doctor(receipts: Option<String>) -> Result<()> {
    crate::handlers::doctor(receipts)
}