namespace ZB.MOM.WW.Secrets.Abstractions;
///
/// A compact per-secret manifest row used for cluster anti-entropy: it carries just
/// enough state (name, revision, tombstone flag, timestamp) for two nodes to compare
/// inventories and reconcile which secrets are newer without exchanging ciphertext.
///
public record SecretManifestEntry
{
/// The normalized secret name.
public required SecretName Name { get; init; }
/// Monotonic revision number used to determine which side is newer.
public required long Revision { get; init; }
/// When the secret was last updated (UTC).
public required DateTimeOffset UpdatedUtc { get; init; }
/// Whether the secret is soft-deleted (tombstoned).
public bool IsDeleted { get; init; }
}