#!/usr/bin/env python3 import subprocess, sys, os print('SELF_OPTIMIZE_START: generating diagnosis suggestions') subprocess.run([sys.executable, os.path.join(os.path.dirname(__file__),'self_diagnose.py')], check=False) print('SELF_OPTIMIZE_DONE: suggestions generated in WebOps /optimization. Owner approval required for risky fixes.')