feat(evalboard): show conversation transcript for simulation tasks#23
Open
CarlesUIPath wants to merge 1 commit into
Open
feat(evalboard): show conversation transcript for simulation tasks#23CarlesUIPath wants to merge 1 commit into
CarlesUIPath wants to merge 1 commit into
Conversation
Simulation runs already write a clean user<->agent transcript to conversation.log (orchestrator._log_conversation), but the evalboard never surfaced it. Add a Conversation section to the task detail page that renders the dialog as chat bubbles, below the Success criteria section. Gated on parsed turns, so single-shot tasks (which never write conversation.log) are unaffected. - lib/runs.ts: readConversationLog (twin of readLogTail) + a pure parseConversation parser returning ConversationTurn[]. - _sections.tsx: ConversationSection renders turns as bubbles (user right/gray, agent left/blue). - page.tsx: fetch + parse, render below Success criteria. Tests mirror repo conventions: unit tests for parseConversation (alongside parseMessages) and a render test for ConversationSection (alongside message-timeline). readConversationLog is left untested, matching its untested twin readLogTail. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @CarlesUIPath's task in 1m 33s —— View job Code Review in Progress
|
bai-uipath
approved these changes
Jul 14, 2026
bai-uipath
left a comment
Collaborator
There was a problem hiding this comment.
Approve. Clean, well-scoped feature — parser, presentation, and page wiring live in the right seams, and it's verified against the actual writer. All the design calls here are the ones I'd make.
- Parser matches the writer exactly.
parseConversationtargets the format_log_conversationemits (orchestrator.py:1843) — header shape, the—metadata separator (both U+2014), and theheader\n{body}\n\nframing all line up. The always-present opener metadata (pinned initial_prompt/simulator-generated opener) parses correctly. - The no-simulation default is right, and better than described. Gating on parsed-turns (
conversation.length > 0) rather than file existence means single-shot tasks render nothing, and empty-file / no-header-garbage / read-error cases all collapse to[]and hide cleanly — no crash, no empty section. - Dialogue-only rendering is the correct split. Tool-use and thinking are stripped on the Python side before the log is written, so bubbles show the clean final utterance; the per-turn caption surfaces
N tool calls+ cost, and the full trajectory already lives in the message-timeline / CostExplorerSection below. Not redundant with the timeline. - Tests mirror repo conventions. Parser unit tests beside
parseMessages, render test besidemessage-timeline; two-turn / empty / metadata / multi-line all covered. Appropriately scoped.
rockymadden
approved these changes
Jul 14, 2026
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
Simulation runs already write a clean user<->agent transcript to conversation.log (orchestrator._log_conversation), but the evalboard never surfaced it. Add a Conversation section to the task detail page that renders the dialog as chat bubbles, below the Success criteria section. Gated on parsed turns, so single-shot tasks (which never write conversation.log) are unaffected.
Changes
Tests
Tests mirror repo conventions: unit tests for parseConversation (alongside parseMessages) and a render test for ConversationSection (alongside message-timeline). readConversationLog is left untested, matching its untested twin readLogTail.
Ui Example
When running a simulation task, a "conversation.log" text is generated. This is rendered in the run page after the Success criteria" as follows.
