Resolves intermittent "completed without agent_message output" errors
when Claude CLI exits before all stdout data is read.
- internal/executor/executor.go:43
- internal/app/app.go:27
- Add benchmark script for stability testing
Generated with SWE-Agent.ai
Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
- Change env var from ANTHROPIC_API_KEY to ANTHROPIC_AUTH_TOKEN
- Add Backend field propagation in taskSpec (cli.go)
- Add stderr logging for injected env vars with API key masking
- Add comprehensive tests for env injection flow
Generated with SWE-Agent.ai
Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
Return exit code 1 when backend returns empty result.Message with exit_code=0.
Prevents silent failures where no output is produced.
Generated with SWE-Agent.ai
Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>