ito_domain/audit/
mod.rs

1//! Audit event domain types and pure functions.
2//!
3//! This module defines the append-only audit event model, state materialization,
4//! reconciliation diff logic, and the writer trait. All types are storage-agnostic;
5//! concrete writers live in `ito-core`.
6
7pub mod context;
8pub mod event;
9pub mod materialize;
10pub mod reconcile;
11pub mod writer;
12
13pub use context::{GitContext, resolve_user_identity};
14pub use event::{
15    Actor, AuditEvent, AuditEventBuilder, EntityType, EventContext, TaggedAuditEvent, WorktreeInfo,
16    ops,
17};
18pub use materialize::{AuditState, materialize_state};
19pub use reconcile::{Drift, FileState, compute_drift, generate_compensating_events};
20pub use writer::{AuditWriter, NoopAuditWriter};