{"definition_raw":"---\nid: pool-remote-prune\nschedule: \"0 3 1 */3 *\"\nenabled: true\ncommand: \"python3 ~/workspace/scripts/worktree_pool_remote_prune.py\"\ndescription: \"MC-3840: quarterly sweep \u2014 delete origin slotN/mc-MC-* refs for terminal-state tickets\"\ntags: [mission-control, worktree-pool, cleanup]\nruntime_profile: direct_no_llm\n---\n\n**OVERRIDES runtime profile:** uses direct_no_llm because the script only calls git + the MC API; no LLM call.\n\nQuarterly (03:00 SAST on day 1 of every third month) \u2014 enumerates `refs/heads/slot*/mc-*` on origin, joins against MC ticket status, deletes remotes belonging to tickets in terminal state (done / closed / cancelled). Safety net behind the post-DONE prune in `WorktreePool.release()`.\n","id":"pool-remote-prune","last_run":{"duration_s":1.70127,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-remote-prune/413497.log","output":"summary: deleted=0, skipped=20, total=20\n","started_at":"2026-06-13T04:04:38.863329+02:00","status":"completed"},"next_run":"2026-07-01 03:00","next_run_iso":"2026-07-01T03:00:00+02:00","runs":[{"duration_s":1.70127,"finished_at":"2026-06-13T04:04:40.567529+02:00","id":413497,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-remote-prune/413497.log","output":"summary: deleted=0, skipped=20, total=20\n","started_at":"2026-06-13T04:04:38.863329+02:00","status":"completed","task_id":"pool-remote-prune","task_name":"pool-remote-prune"}],"runs_limit":20,"schedule":"0 3 1 */3 *","schedule_label":{"description":"Every 3 months on the 1st at 03:00","is_custom":false,"label":"Every 3 months","sort":8,"sort_time":"03:00"},"stats":{"avg_duration":1.70127,"completed":1,"failed":0,"timeout":0,"total":1},"task":{"_description":"**OVERRIDES runtime profile:** uses direct_no_llm because the script only calls git + the MC API; no LLM call.\n\nQuarterly (03:00 SAST on day 1 of every third month) \u2014 enumerates `refs/heads/slot*/mc-*` on origin, joins against MC ticket status, deletes remotes belonging to tickets in terminal state (done / closed / cancelled). Safety net behind the post-DONE prune in `WorktreePool.release()`.","_file":"pool-remote-prune.md","_path":"/home/lucienne/workspace/tasks/pool-remote-prune.md","command":"python3 ~/workspace/scripts/worktree_pool_remote_prune.py","description":"MC-3840: quarterly sweep \u2014 delete origin slotN/mc-MC-* refs for terminal-state tickets","enabled":true,"id":"pool-remote-prune","runtime_profile":"direct_no_llm","schedule":"0 3 1 */3 *","tags":["mission-control","worktree-pool","cleanup"]}}
