Skip to main content

run

Function run 

Source
pub fn run(args: PurgeArgs) -> Result<(), AppError>
Expand description

Permanently delete soft-deleted memories that have exceeded the retention window.

Only memories with deleted_at IS NOT NULL AND deleted_at <= cutoff_epoch are affected. When --dry-run is set the DELETE is skipped and the response reflects candidates only.