Major Changes:
- Migrated from OpenAI to Gemini 2.5 Flash API
- Fixed Explorer agent infinite loop issue
- Added comprehensive quality checks UI with test results table
- Implemented proper tool result handling for Gemini
Technical Improvements:
- gemini_client.py: Full Gemini API integration with function calling
- explorer_agent.py: Fixed loop by forcing answer after search results
- chainlit_app.py: Added analyze_code_quality() and test results table
- All agents: Updated to use GeminiClient as default
UI Enhancements (v3.8.0):
- Quality Checks table with 6 automated tests
- Syntax validation, import checks, error handling detection
- Security scan for dangerous patterns (eval, exec, etc.)
- Plan compliance and code quality assessment
- Professional test results display
Deployment Ready:
- docker-compose.yml for production deployment
- deploy.sh script for automated GCP deployment
- .env.example template for configuration
Cost Efficiency:
- Explorer queries: ~$0.01 (2 iterations…
- Display plan section after result table, before code
- Plan is shown for both new tasks and resume flows
- Helps users understand what was planned before seeing code
Add clean UI with agent progress, copyable code, and results table
- Previous fix only checked last message
- Now validates entire conversation for proper tool_use→tool_result pairs
- Skips any assistant message with tool_use that lacks following tool_result
- Create fresh orchestrator for each new task (not clarification answers)
- Prevents stale context from previous tasks being reused
- Each new message gets a clean slate
Fix max_iterations causing premature failure before Reviewer runs
- Increase max_iterations from 3 to 10
- The iteration counter was incrementing for every state transition
- With max_iterations=3, workflow failed before Reviewer could run:
EXPLORING(1) → CLARIFYING → PLANNING(2) → CODING(3) → FAILED
Fix tool_use/tool_result mismatch error when resuming after clarification
- Add validation in Claude client to remove dangling tool_use blocks
- Recreate fresh agent instances when resuming after clarification
- Prevents stale conversation state from causing API errors
v3.3.3: Simplify Coder - only receives task + plan (no exploration context)