// ═══════════════════════════════════════════════════════════
// Audit Types — from CONTRACTS.md §1.4
// ═══════════════════════════════════════════════════════════

export interface AuditEntry {
  id: string;
  actorType: "user" | "agent" | "system" | "webhook";
  actorId: string | null;
  actorName: string | null;
  action: string;
  entityType: string;
  entityId: string;
  changes: Record<string, { from: unknown; to: unknown }>;
  metadata: Record<string, unknown>;
  createdAt: string;
}
