import type { Result } from "@tff/core"; import type { DomainError } from "../../infrastructure/errors/generic-domain-error.js"; export type AuditVerdict = "ready" | "not_ready"; export interface MilestoneAuditRecord { milestoneId: string; verdict: AuditVerdict; auditedAt: string; notes?: string; } export interface MilestoneAuditStore { upsertAudit(record: MilestoneAuditRecord): Result; getAudit(milestoneId: string): Result; }