NorskManager.pruneAuditLog() method
Operator-initiated retention prune of the audit log. Clears entries strictly older than beforeTimestampMs (0 = clear everything). The daemon front-prunes, records a checkpoint so the kept chain still verifies, and appends an audit-pruned marker. Returns how many entries were removed and the checkpoint boundary seq.
Signature:
pruneAuditLog(beforeTimestampMs?: number): Promise<{
removed: number;
throughSeq: number;
}>;