feat(work): wire heal subcommand and auto-heal pre-flight remediation engine

This commit is contained in:
operator
2026-10-09 23:12:35 +00:00
parent a6e5f565f5
commit c3b4b1cd28
2 changed files with 116 additions and 13 deletions
+4
View File
@@ -1485,6 +1485,8 @@ def cmd_work(args):
box_work.cmd_merge(args)
elif action == "check":
box_work.cmd_check(args)
elif action == "heal":
box_work.cmd_heal(args)
elif action == "chats":
box_work.cmd_chats(args)
else:
@@ -6624,6 +6626,8 @@ def build_parser():
p_w_status = work_sub.add_parser("status", parents=[common], help="Show full operational work dashboard (default)")
p_w_check = work_sub.add_parser("check", parents=[common], help="Run pre-flight health checks (Hatch, Restore, Git Config)")
p_w_check.add_argument("agent", nargs="?", help="Optional specific agent name to check")
p_w_heal = work_sub.add_parser("heal", parents=[common], help="Run automated healing on an agent")
p_w_heal.add_argument("agent", help="Agent username to heal")
p_w_start = work_sub.add_parser("start", parents=[common], help="Instantly start and assign new build ticket to an agent")
p_w_start.add_argument("title", help="Ticket title / summary")
p_w_start.add_argument("--to", dest="agent", required=True, help="Agent username (opm, 646, dev, pip, def, muse)")