Add --fix-permissions flag to cmd_doctor: kugetsu doctor --fix-permissions The fix_session_permissions() function: - Updates base session and PM agent session permissions in SQLite - Sets external_directory pattern to '*' with action 'allow' - This fixes the issue where PM agent cannot access external directories This addresses issue #36 where PM agent external_directory permission fails. Fixes #36