- Use original user request when research_needed is empty
- Process tool_calls iteratively for multiple tool usage
- Use groq_with_tools for tool_calls on re-invocation
- Add max iteration limit to prevent infinite loops
- Research Agent: Projects 관련 작업 시 /home/ubuntu/Projects 경로 명확히 사용
- Research Agent: Kubernetes 상태 분석을 kubectl로 자유롭게 수행하도록 강화
- Code Agents: 파일 수정 후 git add, commit, push까지 자동 수행 (ArgoCD 자동 배포)
- 모든 에이전트: Projects 관련 요청 시 자동 탐색은 유지하되 /home/ubuntu/Projects 경로 사용
- Add folder/file auto-discovery guidelines to Research Agent
- Add K8s status auto-analysis and solution suggestion
- Improve Orchestrator to delegate auto-discovery to Research Agent
- Improve Planning Agent to specify research_needed for auto-discovery
- Enable automatic path finding for user requests
- execute_host가 su ubuntu -c를 사용하도록 변경 (현재 디렉토리 유지)
- 모든 에이전트 프롬프트에 /home/ubuntu/Projects 경로 하드코딩
- tool_name에 따라 올바른 도구(execute_bash/execute_host) 선택하도록 수정
- Add execute_ssh tool for accessing host system (oracle-master)
- Update all agent prompts to explain container vs host environment
- Research Agent: Guide to use SSH for kubectl, Projects, PostgreSQL
- Code Agents: Guide to use SSH for file creation and Git operations
- Infrastructure Agent: Guide to use SSH for YAML files and kubectl
- Orchestrator: Add system environment context
This fixes:
- kubectl 'Exec format error' (now uses SSH with sudo)
- /app/repos/ not found (now uses /home/ubuntu/Projects/)
- PostgreSQL connection errors (now uses correct host address)
- Git repository access issues (now uses SSH to access host repos)
Example usage:
- execute_ssh('kubectl get pods -n mas', use_sudo=True)
- execute_ssh('ls -la /home/ubuntu/Projects')
- execute_ssh('cd /home/ubuntu/Projects/mas && git status')
- Add execute_bash tool to Orchestrator for direct command execution
- Add execute_bash tool to Review agent for running tests/linters
- Fix Dockerfile to copy agents/ and tools/ directories
- Add PERMISSIONS.md documenting agent write access
Fixes ModuleNotFoundError: No module named 'agents'