From 41c1363fb5833be2331209b3c7aa44ac27bc431e Mon Sep 17 00:00:00 2001 From: Dhanji Prasanna Date: Thu, 16 Oct 2025 11:01:46 +1100 Subject: [PATCH] guard case to ensure approval terminates run --- crates/g3-cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/g3-cli/src/lib.rs b/crates/g3-cli/src/lib.rs index 4730a3e..6b9d056 100644 --- a/crates/g3-cli/src/lib.rs +++ b/crates/g3-cli/src/lib.rs @@ -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)); // 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("✅ Coach approved the implementation!"); implementation_approved = true;