Repository navigation
feat: show review findings in a few lines in the transcript - #233
Merged
kalaspuff merged 5 commits intoOct 23, 2026
Merged
Conversation
fctl's message that passes a review's findings on to the agent that opened the pull request now carries the review (UserMessage.review: the pull request, the commit, and each finding's severity, title, lines and comment on GitHub). The transcript shows it as a line for each finding, with the message itself a click away, instead of the whole message. Long messages from fctl without a view of their own (findings passed on before this) show their first lines, with the rest a click away.
…ranscript Also describe in the architecture how the transcript shows the review that a findings message carries.
…on-viewer-when-a-review-from # Conflicts: # web/src/components/session/transcript.tsx
…on-viewer-when-a-review-from
kalaspuff
approved these changes
Oct 23, 2026
kalaspuff
deleted the
fctl/175-in-the-session-viewer-when-a-review-from
branch
October 23, 2026 14:07
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.
When fctl's review agent posts findings on a pull request that one of fctl's agents opened, fctl passes them on to that agent in a message (#225). The session's transcript showed that message whole: each finding's explanation, then the instructions for the agent and the
gh apicommand it answers with. A single finding took most of a page, and several took more. People rarely need to read all of that, so the transcript now shows the review in a few lines, with the whole message a click away.What changed
UserMessage.review, a newPassedOnReview), as follow-ups carry theirs (UserMessage.follow_up, feat: let comments, failed checks and merges bring agents back #228). It holds the pull request, the commit, the review's summary and session, and for each finding its severity, title, file and lines, and its comment on GitHub.fctl_domain::reviews::passed_on_reviewbuilds it from the sameFoundas the message's text, in the same order (most severe first, through a sharedorder). The agent gets the same text as before.path:lines). Each finding's title opens its comment on GitHub, or the review's summary for a finding on lines the diff doesn't show. What fctl told the agent opens the whole message. The agent's name opens the review's session, the pull request opens the review's summary, and the commit opens the commit.passed_onstarts them with. Other messages from fctl stay whole, including a scheduled run's task (feat: start sessions on a schedule, or when another tool asks #229, which sends it as a message from fctl), and so do people's messages.Compatibility
All additive, no migration.
UserMessage.reviewis optional, and clients without it show the message's text as before. The internal/review-findingsbody's newshownfield defaults to nothing. Neither hosts nor agents read the field.How I verified it
passed_on_reviewlists findings in the message's order and links each by where it is on GitHub: its comment, the summary, or nothing known. Web tests check the findings view (lines, links, one issue, no summary, the message a click away), the transcript (a review goes to the new view, old findings messages get cut, and a short task, a long scheduled task and people's long messages stay whole), and that the builder keeps the review on its item.cargo xtask checkpasses. One run failed in xtask'sruns_a_throttled_command_again, an intermittent race in tests from fix(xtask): run wrangler again when Cloudflare's API throttles it #230 that this branch doesn't touch (An xtask test fails now and then with Text file busy #232); the rerun passed.cargo xtask dev, through a temporary route I didn't commit. It hands made-up findings to SessionObject's/review-findingsaspass_ondoes: the realpassed_on,held_backandpassed_on_review, the internal call, and the stored event. A session got the finding from the screenshot in the request, and the message's text came out identical to it. fake-claude answered it, and the page showed the review in a few lines. The stored event carried the review (GET …/events). Anfctlbinary built from main printed the same event withfctl logs --json, without the field, so older clients read it as before. A message sent without the review, like one from before this change, showed its first lines and opened with Show all. I didn't run posting on GitHub,spotsorpass_on's choice of session against a GitHub stand-in. This change leaves them as they were, and their tests cover them.Screenshots
From
cargo xtask devat 444dfee (the views haven't changed since), with fake-claude's answer after each message. The pull request and finding are the ones from the screenshot in the request.The message from the request, light, 1440 px wide:
On a phone (390 px):
Dark:
Three findings, most severe first: one on lines the pull request deletes ("old version"), and one in the review's summary:
What fctl told the agent, opened:
A findings message sent before this change, which has no review in it:
Session: https://app.fctl.sh/s/ses_01M5MFGRENHK8PHRFQXJ53360Z