//! Shared auto-repair hooks for regenerable storage invariants.
//!
//! Repairs regenerable storage invariants when verification fails; invoked from startup gates and
//! maintenance commands.
use FriggResult;
use Storage;
/// Initializes storage and auto-repairs regenerable invariants when verification fails.
pub
/// Verifies storage invariants and attempts one repair pass before surfacing the original error.
pub