Ticket #7
Dr. Healing Level 2 — safe repair powers
closed
task
normal
dr_healing
2026-05-22T03:32:51Z
2026-05-27 14:42:00
Description
Dr. Healing is currently Level 1 (observe-only). Level 2 adds safe automatic repairs: recreate missing status files, restart stale APScheduler jobs. Must never touch user data, DB, or credentials. Motto: Observe patiently. Repair safely. Escalate honestly.
Ticket Events
-
comment
—
Level 2 implemented. dr_healing.py now has a repair() function that handles two issue types: missing_status_file (writes a recovering placeholder so the dashboard stays populated) and stale (reschedules the APScheduler job to run in 10 seconds via _scheduler.reschedule_job()). Scheduler reference injected via set_scheduler() called from scheduler.py after start(). Per-session _rescheduled set prevents thrashing. Status line updated with L2 repair counts. Escalation via ntfy if repairs fail.
2026-05-27 14:42:00
-
status_change
—
closed
2026-05-27 14:42:00
Add Comment