How agents discover reviews
There are two paths depending on whether the agent waits for curation to complete.Inline notification (default)
When an agent runsbrv curate without the --detach flag, it waits for the curation to finish. If any operations are flagged for review, the review summary is printed directly in the command output:
- The task ID
- Each flagged operation with its type, impact, reason, and before/after summaries
- The exact
brv review approveandbrv review rejectcommands
Detached mode (--detach)
When an agent runs brv curate --detach, the command queues the curation and returns immediately without waiting for completion:
brv review pending to check for unresolved reviews after the task completes:
brv-curate (which uses detached mode internally) and then follows up with brv review pending.
The agent review loop
A typical agent-driven review follows this sequence:Agent review in practice
Any agent with a ByteRover connector (skill, MCP, rules, or hook) follows the same pattern. The connector teaches the agent thebrv review commands, so it can:
- List pending reviews with
brv review pending - Approve or reject with
brv review approve/reject <taskId> - Selectively approve/reject files with
--file - Use
--format jsonfor structured parsing
OpenClaw curates and discovers a pending review
OpenClaw
I’ve curated the caching strategy update, but ByteRover flagged it as a high-impact change that needs your review.
This changes your project’s caching approach from Redis to Memcached. Should I approve or reject this change?
| Operation | UPSERT · HIGH IMPACT |
| File | infrastructure/caching/caching_strategy.md |
| Why | Update caching strategy: replacing Redis with Memcached |
| Before | Unified caching strategy with in-memory (L1) and Redis (L2) layers |
| After | Replaced Redis with Memcached, 10-minute TTL, LRU eviction |
Detach mode reference
| Scenario | How the agent discovers reviews |
|---|---|
brv curate (no flags) | Review summary printed in stdout after task completion |
brv curate --detach | Agent calls brv review pending to check after the fact |
MCP brv-curate tool | Curation is queued (detached); agent calls brv review pending |
The
--detach flag is useful when you don’t want the agent to block while curation processes. The tradeoff is that the agent must explicitly check for reviews afterward using brv review pending.Connector setup
To enable agent-driven reviews, your agent needs a ByteRover connector installed. The connector teaches the agent thebrv review commands alongside brv query and brv curate.