guard case to ensure approval terminates run

This commit is contained in:
Dhanji Prasanna
2025-10-16 11:01:46 +11:00
parent 52ada78151
commit 41c1363fb5

View File

@@ -1351,7 +1351,7 @@ Remember: Be thorough in your review but concise in your feedback. APPROVE if th
output.print_smart(&format!("Coach feedback:\n{}", coach_feedback_text)); output.print_smart(&format!("Coach feedback:\n{}", coach_feedback_text));
// Check if coach approved the implementation // Check if coach approved the implementation
if coach_result.is_approved() { if coach_result.is_approved() || coach_feedback_text.contains("IMPLEMENTATION_APPROVED") {
output.print("\n=== SESSION COMPLETED - IMPLEMENTATION APPROVED ==="); output.print("\n=== SESSION COMPLETED - IMPLEMENTATION APPROVED ===");
output.print("✅ Coach approved the implementation!"); output.print("✅ Coach approved the implementation!");
implementation_approved = true; implementation_approved = true;