The code-reviewer agent has two bugs discovered during spawn-issues orchestration:
Uses heredoc syntax with tea comment which causes the command to be backgrounded and fail silently
Does not clean up branches after merging PRs
Acceptance Criteria
code-reviewer agent avoids heredoc syntax $(cat <<'EOF'...) with tea comment
code-reviewer agent calls tea pulls clean <number> after merging a PR
Agent prompt explicitly references the gitea skill warning about heredoc
Context
Discovered while running /spawn-issues 56. The reviewer:
Posted a detailed review comment using heredoc - it was backgrounded and never actually posted
Merged PR #61 successfully but left the branch on both local and remote
The gitea skill already documents this limitation:
Warning
: Do not use heredoc syntax $(cat <<'EOF'...EOF) with tea comment - it causes the command to be backgrounded and fail silently.
Technical Notes
Options for multi-line comments without heredoc:
Use simple inline strings with \n for newlines
Keep comments concise (single paragraph)
Use multiple tea comment calls if needed
## Summary
The code-reviewer agent has two bugs discovered during spawn-issues orchestration:
1. Uses heredoc syntax with `tea comment` which causes the command to be backgrounded and fail silently
2. Does not clean up branches after merging PRs
## Acceptance Criteria
- [ ] code-reviewer agent avoids heredoc syntax `$(cat <<'EOF'...)` with `tea comment`
- [ ] code-reviewer agent calls `tea pulls clean <number>` after merging a PR
- [ ] Agent prompt explicitly references the gitea skill warning about heredoc
## Context
Discovered while running `/spawn-issues 56`. The reviewer:
- Posted a detailed review comment using heredoc - it was backgrounded and never actually posted
- Merged PR #61 successfully but left the branch on both local and remote
The gitea skill already documents this limitation:
> **Warning**: Do not use heredoc syntax `$(cat <<'EOF'...EOF)` with `tea comment` - it causes the command to be backgrounded and fail silently.
## Technical Notes
Options for multi-line comments without heredoc:
- Use simple inline strings with `\n` for newlines
- Keep comments concise (single paragraph)
- Use multiple `tea comment` calls if needed
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The code-reviewer agent has two bugs discovered during spawn-issues orchestration:
tea commentwhich causes the command to be backgrounded and fail silentlyAcceptance Criteria
$(cat <<'EOF'...)withtea commenttea pulls clean <number>after merging a PRContext
Discovered while running
/spawn-issues 56. The reviewer:The gitea skill already documents this limitation:
Technical Notes
Options for multi-line comments without heredoc:
\nfor newlinestea commentcalls if needed