{"definition_raw":"---\nid: pool-snapshot-purge\nschedule: \"0 4 * * *\"\nenabled: true\ncommand: \"mkdir -p $HOME/workspace/logs/pool-dirty && find $HOME/workspace/logs/pool-dirty -mindepth 1 -maxdepth 1 -type d -mtime +7 -exec rm -rf {} + || true\"\ndescription: \"MC-3840: purge worktree-pool dirty snapshots older than 7 days\"\ntags: [mission-control, worktree-pool, cleanup]\nruntime_profile: direct_shell\n---\n\n**OVERRIDES runtime profile:** uses direct_shell because task is a pure `find` command with no LLM call.\n\nDaily at 04:00 SAST, deletes pool-dirty forensic snapshots older than 7 days from `~/workspace/logs/pool-dirty/`.\n\nPool's `release()` writes a snapshot to that directory when a worker leaves the slot dirty (modified tracked files, untracked work). Snapshots are forensic evidence \u2014 useful for the first few days, junk after a week.\n","id":"pool-snapshot-purge","last_run":{"duration_s":0.038958,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/413498.log","output":"","started_at":"2026-06-13T04:04:40.591401+02:00","status":"completed"},"next_run":"2026-06-14 04:00","next_run_iso":"2026-06-14T04:00:00+02:00","runs":[{"duration_s":0.038958,"finished_at":"2026-06-13T04:04:40.633362+02:00","id":413498,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/413498.log","output":"","started_at":"2026-06-13T04:04:40.591401+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.025512,"finished_at":"2026-06-12T04:04:28.989403+02:00","id":409331,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/409331.log","output":"","started_at":"2026-06-12T04:04:28.961518+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.028835,"finished_at":"2026-06-11T04:10:53.459878+02:00","id":404977,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/404977.log","output":"","started_at":"2026-06-11T04:10:53.426641+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.03305,"finished_at":"2026-06-10T04:03:37.105872+02:00","id":400700,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/400700.log","output":"","started_at":"2026-06-10T04:03:37.070299+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.033921,"finished_at":"2026-06-09T04:04:31.045067+02:00","id":396465,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/396465.log","output":"","started_at":"2026-06-09T04:04:31.008519+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.031636,"finished_at":"2026-06-08T04:05:32.523506+02:00","id":392370,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/392370.log","output":"","started_at":"2026-06-08T04:05:32.489379+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.033245,"finished_at":"2026-06-07T04:03:55.199031+02:00","id":387950,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/387950.log","output":"","started_at":"2026-06-07T04:03:55.162474+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"},{"duration_s":0.043039,"finished_at":"2026-06-06T04:04:19.613829+02:00","id":383230,"log_path":"/home/lucienne/workspace/logs/task-runs/pool-snapshot-purge/383230.log","output":"","started_at":"2026-06-06T04:04:19.566959+02:00","status":"completed","task_id":"pool-snapshot-purge","task_name":"pool-snapshot-purge"}],"runs_limit":20,"schedule":"0 4 * * *","schedule_label":{"description":"Daily at 04:00","is_custom":false,"label":"Daily","sort":4,"sort_time":"04:00"},"stats":{"avg_duration":0.0335245,"completed":8,"failed":0,"timeout":0,"total":8},"task":{"_description":"**OVERRIDES runtime profile:** uses direct_shell because task is a pure `find` command with no LLM call.\n\nDaily at 04:00 SAST, deletes pool-dirty forensic snapshots older than 7 days from `~/workspace/logs/pool-dirty/`.\n\nPool's `release()` writes a snapshot to that directory when a worker leaves the slot dirty (modified tracked files, untracked work). Snapshots are forensic evidence \u2014 useful for the first few days, junk after a week.","_file":"pool-snapshot-purge.md","_path":"/home/lucienne/workspace/tasks/pool-snapshot-purge.md","command":"mkdir -p $HOME/workspace/logs/pool-dirty && find $HOME/workspace/logs/pool-dirty -mindepth 1 -maxdepth 1 -type d -mtime +7 -exec rm -rf {} + || true","description":"MC-3840: purge worktree-pool dirty snapshots older than 7 days","enabled":true,"id":"pool-snapshot-purge","runtime_profile":"direct_shell","schedule":"0 4 * * *","tags":["mission-control","worktree-pool","cleanup"]}}
