feat(agents): pr-review-worker should post a review started comment before beginning review #11028

Closed
opened 2026-05-08 09:20:28 +00:00 by hamza.khyari · 0 comments
Member

Summary

The pr-review-worker agent currently reads the PR, clones the repo, reviews the diff, and submits its formal review — all silently. The PR author has no visibility that a review is in progress until the final review is posted (which can take several minutes).

Add a lightweight notification comment posted immediately when the worker starts, before any reading or cloning.

Metadata

  • Commit Message: feat(agents): add review-started notification to pr-review-worker
  • Branch: feature/review-started-notification

Proposed Change

Add a Step 0 in both first_review and re_review modes — immediately after parameter validation, before any API reads or cloning. Post a comment on the PR:

> Starting review for PR #42 (`first_review`)...
>
> This may take a few minutes. I'll post a formal review when complete.

---
Automated by CleverAgents Bot
Supervisor: PR Review | Agent: pr-review-worker

For ci_flag mode, skip the notification (too lightweight — the REQUEST_CHANGES review IS the output).

Affected Files

  • .opencode/agents/pr-review-worker.md — add Step 0 to First Review Mode and Re-Review Mode sections

Subtasks

  • Add Step 0 (post 'review started' comment) to First Review Mode
  • Add Step 0 (post 'review started' comment) to Re-Review Mode
  • Verify CI Flag Mode is unchanged

Acceptance Criteria

  • PR author sees a comment within seconds of the review worker starting
  • Comment includes PR number and review type
  • Comment includes the bot signature
  • CI Flag mode does NOT post a notification comment
## Summary The `pr-review-worker` agent currently reads the PR, clones the repo, reviews the diff, and submits its formal review — all silently. The PR author has no visibility that a review is in progress until the final review is posted (which can take several minutes). Add a lightweight notification comment posted immediately when the worker starts, before any reading or cloning. ## Metadata - **Commit Message**: `feat(agents): add review-started notification to pr-review-worker` - **Branch**: `feature/review-started-notification` ## Proposed Change Add a **Step 0** in both `first_review` and `re_review` modes — immediately after parameter validation, before any API reads or cloning. Post a comment on the PR: ``` > Starting review for PR #42 (`first_review`)... > > This may take a few minutes. I'll post a formal review when complete. --- Automated by CleverAgents Bot Supervisor: PR Review | Agent: pr-review-worker ``` For `ci_flag` mode, skip the notification (too lightweight — the REQUEST_CHANGES review IS the output). ## Affected Files - `.opencode/agents/pr-review-worker.md` — add Step 0 to First Review Mode and Re-Review Mode sections ## Subtasks - [ ] Add Step 0 (post 'review started' comment) to First Review Mode - [ ] Add Step 0 (post 'review started' comment) to Re-Review Mode - [ ] Verify CI Flag Mode is unchanged ## Acceptance Criteria - PR author sees a comment within seconds of the review worker starting - Comment includes PR number and review type - Comment includes the bot signature - CI Flag mode does NOT post a notification comment
hamza.khyari added this to the v3.7.0 milestone 2026-05-08 09:34:05 +00:00
HAL9000 changed title from feat(agents): pr-review-worker should post a 'review started' comment before beginning review to feat(agents): pr-review-worker should post a review started comment before beginning review 2026-05-09 19:49:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#11028
No description provided.