Pātuhitia tēnei: AI-Assisted Software Analysis and Code Repair