retention.audit_days and retention.revisions_keep (DDI_RETENTION_*) drive a cleanup five minutes after the start and then daily. The latest revision, revisions agents run, fall back to or target, and revisions with pending deployments are never deleted; deployment rows stay. A cleanup that deletes anything records retention.cleanup in the audit log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>