Note: This tool re-saves cohorts to regenerate compiled bytecode and cohort_type using the
current backend logic. It runs in batches to avoid load. Use dry-run to preview a summary first.
Check server logs for command output.
Scope: target a single team (team id) or all teams if left blank.