You're offline — showing cached data

MC-4050

MC-4045 Lane A: Tasks/Scheduler surgical fixes
2026-06-13 06:15:10 SAST
Home Board MC-4050

MC-4045 Lane A: Tasks/Scheduler surgical fixes

Lane A child of MC-4045 (audit doc: http://100.118.207.3:3001/md-view?file=/home/lucienne/workspace/mission-control/docs/mc-4045-tasks-scheduler-audit.md). Three surgical fixes...
State Done Next Action Closed Owner Lucienne Runtime Closed Age 21d ago
MC-4050
Ticket is done; runtime is closed. · profile claude_opus_1m_medium · cwd /home/lucienne/workspace/mission-control · uptime 20d 17h · last activity 20d 13h ago

Description

MC-4050
Lane A child of MC-4045 (audit doc: http://100.118.207.3:3001/md-view?file=/home/lucienne/workspace/mission-control/docs/mc-4045-tasks-scheduler-audit.md). Three surgical fixes for the Tasks/Scheduler operator-risk surface: 1. Stuck-running reaper (A1 + C1 + C2). Scheduler-side reconcile (or new task-runs-reaper task every 5-10min) that promotes task_runs rows in 'running' with started_at older than max(task.timeout, 2x cadence) to status='timeout' + synthetic output 'reaper: orphaned at <ts> — no live scheduler entry'. /tasks Running filter splits 'live' vs 'stuck'. Admin button on /tasks to trigger reconcile manually. 2. Drop hard-coded +02:00 offset (A2). Replace both failed_24h/completed_24h SQL queries in app.py:tasks_page with datetime('now','-24 hours') against started_at. Behaviour-equivalent today; future-proof. 3. Housekeeping: move tasks/*.md.bak-* into tasks/_deleted/ (B2). 11 .bak files. load_tasks() glob is *.md so inert; pure operator clutter. Gates: tests (sqlite fixture for reaper + route test + +02:00 lint), second-opinion council on diff, Tessa QA desktop+mobile pre/post reap button, Lucienne screenshot inspection before merge. Routing note: do NOT rely on auto-dispatch — MC-4044 reclaim hardening still in_review. Use manual dev-loop worker or persistent session. Park in waiting until MC-4044 lands. Lane B (deferred): A3 runtime-profile lint UI surfacing, B3 /tasks auth symmetry, C3 manual-Run double-click guard.

Activity

done
Luci is working...
Live
No activity yet
Help