feat(work): wire heal subcommand and auto-heal pre-flight remediation engine
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user