Skip to content

simulate: hyperlink the <ref> tags and add jump hotkeys - #939

Merged
u9g merged 3 commits into
mainfrom
jason/simulate-refs-dev-mode
Aug 14, 2026
Merged

simulate: hyperlink the <ref> tags and add jump hotkeys#939
u9g merged 3 commits into
mainfrom
jason/simulate-refs-dev-mode

Conversation

@u9g

@u9g u9g commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

A run summary cites the conversation turns behind each finding, but the raw
<ref> tags printed verbatim and led nowhere. Each citation now reads as its
quoted text — hyperlinked to the dashboard, and numbered so pressing that digit
opens the cited turn in the TUI.

…turn

The summarization model cites the conversation turns behind a finding with
<ref job="..." item="...">quoted text</ref>. In the TUI those become OSC 8
hyperlinks to the item in the dashboard; in reports and CI logs, which cannot
carry a link, the tag is reduced to the quoted text.
@u9g u9g changed the title simulate: <ref> citations as dashboard links, and deployed defaults for the agent under test simulate: follow a summary citation to the turn it cites, and give the agent under test its deployed defaults Aug 14, 2026
u9g added 2 commits August 14, 2026 11:25
A summary citation could only be followed out of the terminal, by
ctrl+clicking its OSC 8 link into the dashboard. The turn it cites is
already in the run, so the TUI can open it directly.

Each citation now carries a number, and pressing that digit on the list
view opens the cited job. Numbering follows render order through one
index shared by every block of the summary, so the digit a reader presses
selects the citation whose label shows it. Only the first nine are
numbered: a number is an invitation to press that digit, and there is no
tenth digit.

A jump lands at the top of the printed job, which scrollback cannot be
scrolled past, so the cited turn is marked where it prints. The mark
rides the message text rather than the speaker header, which a message
continuing an open agent block never prints.

Numbering keys off a citation naming a job, not off a dashboard URL
resolving: the jump is local, so it works where the link does not.
… there

Marking only ran over chat messages, so a citation naming a tool call
went to a transcript with nothing marked in it. A function call carries
an id like the messages do, so it marks the same way; the mark rides
outside writeToolItem's dimming, which the payload it annotates is under.

A summary also cites items that are not in the history it summarized. The
jump still lands on the job it named, so the transcript now says the
cited turn is not in it rather than leaving a reader scanning for a mark
that was never coming.
@u9g
u9g force-pushed the jason/simulate-refs-dev-mode branch from 17b310f to 89a2965 Compare August 14, 2026 15:26
@u9g u9g changed the title simulate: follow a summary citation to the turn it cites, and give the agent under test its deployed defaults simulate: follow a summary citation to the turn it cites Aug 14, 2026
@u9g u9g changed the title simulate: follow a summary citation to the turn it cites simulate: hyperlink the <ref> tags and add jump hotkeys Aug 14, 2026
@u9g
u9g merged commit 036fd19 into main Aug 14, 2026
22 checks passed
@u9g
u9g deleted the jason/simulate-refs-dev-mode branch August 14, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants