Interface that defines an admin storage backend for the SboxSuperuser project. It extends IRecoverableAdminStore and adds a method to prune audit history by removing superseded audit generations while preserving current journal and recoverability.
namespace SboxSuperuser;
/// <summary>Replaceable host storage, including recovery and audit-generation retention; implement entirely with s&box-compatible APIs.</summary>
public interface IAdminStorageBackend : IRecoverableAdminStore
{
/// <summary>Removes superseded audit generations at the expected head while preserving the current journal and recoverability.</summary>
Task<StoreRetentionResult> PruneAuditHistoryAsync( long expectedRevision, CancellationToken cancellation );
}