b503f7d86b
- Added `review_pr` task that checks out PR head in a detached worktree, classifies rank/type/area, and posts a batched GitHub review as `event=COMMENT`. - Added four new host tools: `fetch_pr`, `classify_pr`, `pr_review_comment`, and `submit_pr_review`; review tools self-gate on `review_mode`, push/open-PR tools refuse when `review_mode` is set. - Added sqlite staging table `pr_review_comments` with `stage_review_comment`, `list_staged_review_comments`, and `clear_staged_review_comments` DAOs. - Routed `pull_request.opened/reopened/ready_for_review` to `review_pr` and extended `pull_request.closed` cleanup to any tracked PR regardless of author.
897 B
897 B
You ended your turn before finishing the PR review.
PR: {{repo.full_name}}#{{issue.number}} — {{issue.title}}
Review workspace: {{workspace.branch}}
You already started the review, but you did NOT reach the terminal action. The acceptable terminal actions for an incoming PR review are exactly one of:
submit_pr_review— submit the batched review summary plus any staged inline comments.abort_task— unrecoverable environment failure.
Review the staged comments, your TodoList, and the prior tool calls, then continue from where you stopped. Do NOT re-classify unless the earlier classify call failed. Do NOT post standalone inline findings. If you already staged comments, call submit_pr_review now. If you found no inline issues, still call submit_pr_review with the summary-only verdict.
You MUST end this turn by calling one of the two terminal tools listed above.