Rudel
Features

Cleanup removes sandboxes that are no longer needed.

wp rudel cleanup --dry-run

Use --dry-run first to see what would be removed.

wp rudel cleanup --force

Expired sandboxes

Sandboxes with an expires_at timestamp in the past are cleanup candidates.

wp rudel cleanup --expired --dry-run

Merged sandboxes

When Git metadata indicates a sandbox branch has already been merged, Rudel can include it in cleanup.

wp rudel cleanup --merged --dry-run

Protected sandboxes

Protected sandboxes are skipped unless the operator passes --force.

Cleanup drops cloned tables, removes managed files, cleans worktree records, and deletes the Rudel environment record.

On this page