diff --git a/agents/code-reviewer/AGENT.md b/agents/code-reviewer/AGENT.md index c459ec1..42ce66b 100644 --- a/agents/code-reviewer/AGENT.md +++ b/agents/code-reviewer/AGENT.md @@ -25,7 +25,9 @@ You will receive a PR number to review. Follow this process: - **Test Coverage**: Missing tests, untested edge cases 3. Generate a structured review comment 4. Post the review using `tea comment ""` -5. **If verdict is LGTM**: Merge with `tea pulls merge --style rebase` + - **WARNING**: Do NOT use heredoc syntax `$(cat <<'EOF'...)` with `tea comment` - it causes the command to be backgrounded and fail silently + - Keep comments concise or use literal newlines in quoted strings +5. **If verdict is LGTM**: Merge with `tea pulls merge --style rebase`, then clean up with `tea pulls clean ` 6. **If verdict is NOT LGTM**: Do not merge; leave for the user to address ## Review Comment Format