Before submitting#
Area#
apps/server
Steps to reproduce#
- Open a PR on a repo whose review bot re-reviews each push by editing its existing summary comment instead of posting a new one. Greptile (
greptile-apps[bot]) does this, and so does a custom review action we run.
- Have an agent call
watch_pull_request on it, handle the first review, push a fix, and end its turn.
- The bot re-reviews the new head by editing its original comment.
Expected behavior#
The watch wakes the agent with the re-review, as #15057 describes ("someone other than you or the agent comments or reviews").
Actual behavior#
No wake. evaluatePullRequestWatch (apps/server/src/orchestration-v2/pullRequestWatch.ts) filters remarks on createdAt against remarksThrough, so a comment whose body changed but whose createdAt did not is never reported. The agent wakes only when the required checks pass or fail. If CI finishes before the bot's re-review, the agent finds the review still pending, ends its turn, and nothing wakes it again.
Our review bots on two recent PRs:
greptile-apps[bot] created=2026-10-02T22:22:52Z updated=2026-10-03T00:40:13Z <!-- greptile_summary -->
hermes-uzi created=2026-10-02T22:21:31Z updated=2026-10-03T00:38:05Z <!-- hermes-agy-review:... -->
Impact#
Major degradation or frequent failure
Version or commit#
T3 Code (Nightly) 0.0.46-nightly.20261003.2632, which includes #15057 (18b21325c)
Environment#
macOS 26 (Darwin 25.6.0), Claude Code and Codex agents, GitHub host
Workaround#
After each push, our agents ignore the watch for re-reviews and run their own review wait, which polls for a bot comment naming the current head SHA.
Possible fix#
Also treat a non-viewer comment as fresh when its updatedAt is newer than when the watch last recorded it (for example, keep id → updatedAt for the listed remarks). Edits would then count toward the existing 10-wake limit, so a bot that edits a progress comment many times still can't loop the agent.
Filed by Claude Opus 5.5 in Claude Code via T3 Code, on behalf of @uzairansaruzi.
Note
Grok responding on behalf of Julius.
Triage#
Thanks @uzairansaruzi for the precise report and the timestamps from your bots. Confirmed:
watch_pull_requestonly treats a remark as new when itscreatedAtis pastremarksThrough(or it shares that timestamp and its id isn't inremarkIds). An in-place edit keeps the same id andcreatedAt, so it never wakes the agent.What's happening
remarksThroughset to when watching began, so an existing summary comment is ignored from then on. If required checks finish before the bot rewrites that comment, the agent wakes for the checks, sees no new remark, and ends its turn, and the later edit never wakes it.<!-- greptile_summary -->) and your Hermes review are invisible after their first version.18b21325c), not a duplicate of it.Likely fix area
The data the watcher stores today can't detect edits:
PullRequestCommentonly hascreatedAt.gh pr view --json comments,reviewsdoesn't requestupdatedAtorlastEditedAt, andREVIEW_THREADS_GRAPHQL_QUERYalso selects onlycreatedAt. GitHub does exposelastEditedAtandupdatedAton issue comments, reviews, and line comments.includesCreatedEditisn't a substitute, since it only marks an edit made during creation.lastEditedAtlooks like the better signal thanupdatedAt, which also moves on reactions and would burn a comment-only wake.id → updatedAtsuggestion), and counting it toward the existing 10 comment-only wake limit so a self-rewriting progress comment can't loop the agent. Hosts without an edit time could keep today'screatedAtbehavior.A maintainer will decide on the fix direction.