The code-reviewer agent should only merge when verdict is LGTM, not attempt a separate approval step first.
Problem
Currently the agent instructions say:
If verdict is LGTM: Approve with tea pulls approve <number>, then auto-merge with tea pulls merge <number> --style rebase
This causes issues:
Self-approval fails on Gitea ("approve your own pull is not allowed")
When approval fails, the agent stops without attempting the merge
The approval step is unnecessary - if the verdict is LGTM, just merge
Acceptance Criteria
Remove tea pulls approve from the LGTM flow in code-reviewer agent
LGTM verdict triggers only: post comment, then tea pulls merge <number> --style rebase
Agent continues to merge even if any intermediate step fails
Affected Files
agents/code-reviewer/AGENT.md
## Summary
The code-reviewer agent should only merge when verdict is LGTM, not attempt a separate approval step first.
## Problem
Currently the agent instructions say:
> **If verdict is LGTM**: Approve with `tea pulls approve <number>`, then auto-merge with `tea pulls merge <number> --style rebase`
This causes issues:
1. Self-approval fails on Gitea ("approve your own pull is not allowed")
2. When approval fails, the agent stops without attempting the merge
3. The approval step is unnecessary - if the verdict is LGTM, just merge
## Acceptance Criteria
- [ ] Remove `tea pulls approve` from the LGTM flow in code-reviewer agent
- [ ] LGTM verdict triggers only: post comment, then `tea pulls merge <number> --style rebase`
- [ ] Agent continues to merge even if any intermediate step fails
## Affected Files
- agents/code-reviewer/AGENT.md
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 should only merge when verdict is LGTM, not attempt a separate approval step first.
Problem
Currently the agent instructions say:
This causes issues:
Acceptance Criteria
tea pulls approvefrom the LGTM flow in code-reviewer agenttea pulls merge <number> --style rebaseAffected Files