Repository navigation
feat(control): tell agents of earlier review findings still open - #649
Merged
kalaspuff merged 5 commits intoNov 25, 2026
Merged
Conversation
A review that found nothing new sent nothing to the agent that opened the pull request, even when earlier reviews' findings were still open: an agent that missed one, or whose fix the review didn't find, never heard that the review had finished. Now the message from fctl lists the earlier findings still open after the review (fctl's unresolved threads it didn't fix, and those in earlier summaries' text it didn't find fixed), most severe first, with each one's comment id and replies, and asks the agent to check whether it handled each. A review that found nothing new while some are open sends those alone; one with neither still sends nothing. Such messages count towards the reviews in a row a session gets before fctl holds them back. The transcript shows them under the review's own findings, and session.follow_up webhooks carry them (review.still_open).
…longside new ones
This comment has been minimized.
This comment has been minimized.
…ng new Every review that found nothing new messaged the agent about the earlier findings still open, even ones it had already answered, and each message used up one of the reviews in a row, so a real new finding could be held back after a few of them. SessionObject now keeps what each message about a pull request told its agent (each finding, with its thread's replies then), and a review that found nothing new sends nothing, and counts as no round, when the agent heard of every finding still open as it stands. An answered finding comes up once more, its reply counted, rather than after every review. Also: the review agent's transcript and fctl review submit say fctl told the agent about the findings still open when it found nothing new, and the docs say findings in a summary's text have no thread.
kalaspuff
approved these changes
Nov 25, 2026
kalaspuff
deleted the
fctl/1671-when-a-review-agent-has-no-new-findings
branch
November 25, 2026 20:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A review that found nothing new sent nothing to the agent that opened the pull request, even when earlier reviews' findings were still open. So an agent that missed a finding, or whose fix the review didn't accept, never heard that the review had finished. Now fctl's message lists the earlier findings still open after the review, most severe first. These are fctl's unresolved threads that the review didn't fix, and findings in earlier summaries' text that it didn't find fixed. Each comes with its comment id and how many replies its thread has. The message asks the agent to check whether it handled each one: look again at one it thought it fixed, leave alone one it already answered as not a problem or intended, and decide about the rest.
--rounds), so the agent and the review agent still can't go back and forth forever.session.follow_upwebhooks carry them asreview.still_open.PassedOnReview.still_openis a new optional field, so older clients still show the message's text.Verified with unit tests for the list (threads, findings in summaries' text, findings fixed by this review, a thread marked fixed and then reopened), for when a nothing-new review stays quiet, and for every wording of the message, held-back notice, webhook and posted-review line, plus a web test for the card, and
cargo xtask check --quick. The session object's side (skipping the message and recording what was told) has no test of its own, and I didn't run a review end to end, since that needs a GitHub App.Screenshots
A review that found nothing new, while two earlier findings are still open, in the session's transcript (dark, then light):
A review with a new finding, followed by the earlier ones still open:
What the agent is told when nothing new was found:
Worth confirming
The design docs' description of the transcript card:
fctl session
Note
Medium risk. It changes when fctl resumes an agent's session after a review and adds stored session state, so a mistake could silence or repeat messages to agents; it touches no auth or stored-data migrations.
What it does. When a review agent finds nothing new but earlier findings are still open, fctl now tells the agent that opened the pull request about them, listing each with its link and reply count. If the agent already heard of every open finding as it stands, nothing is sent and no round is used. The session keeps what it last told the agent for each pull request, and the review's output, transcript, webhook, web UI and docs show the open findings.
New session state.
SessionObjectstores areviews_toldmeta entry, andPassedOnReviewand thesession.follow_upwebhook gain astill_openlist; both default to empty for older data.fctl review's first look at
053439e· 19 files, +1047 −89 · Review agent settings