Skip to main content

domain/
audit.rs

1//! Audit identifiers for traceable pet-resort automation events.
2//!
3//! Audit records provide the evidence trail for agent drafts, policy decisions, manager approvals,
4//! customer-message handling, and source-data repairs. They are domain facts, not log formatting.
5
6use serde::{Deserialize, Serialize};
7use uuid::Uuid;
8
9#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
10/// Stable identifier for an auditable operational event.
11///
12/// Use this id to correlate the source fact, workflow decision, review gate, and resulting staff or
13/// customer action without inventing undocumented authority after the fact.
14pub struct EventId(pub Uuid);