Repository navigation
Replay transcripts through think() and score what Cue does - #23
Merged
Merged
Conversation
#10 can only be settled with a number to move: what Cue does at each point in a conversation, judged against what a person thinks it should have done. evals/replay.mjs feeds transcripts tick by tick to agent.js, carries the screen state between ticks the way the page does, and scores each tick as helpful, right-quiet, annoying or missed, with annoying counted double because the vision says a needless visual costs the room more than a missed chance. Seven transcripts cover the obvious triggers (an unanswered question, a list of action items, a described flow, a direct request) and traps (a check asked of a teammate, the team's own history, a joke, a passing mention, a two-item brainstorm, follow-ups on research already shown). The current prompt scores 33 of 33 at low effort on 2026-11-13, so nothing in agent.js changes here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #22
Why
Whether Cue acts at the right moments (#10) can't be judged by feel. It needs a number to move: what Cue does at each point in a conversation, against what a person judged right. #11 (speed, cost) and #14 (correctness, safety) need the same number to compare models, effort levels and prompt changes. This lands the tool now so those sessions can build on it. #10 stays open until a real-call transcript has been replayed through it.
Change
evals/replay.mjsfeeds each transcript tick by tick intoagent.js'sthink()and carries screen state and recent actions between ticks, the waypublic/app.jsdoes. It scores each tick as helpful, right-quiet, annoying or missed. Annoying counts double, because the vision says a needless visual costs the room more than a missed chance. It also reports latency and the model and effort that actually ran.evals/transcripts/. They cover the obvious triggers (an unanswered question, action items being listed, a described flow, a factual disagreement left hanging, direct "Cue, …" requests) and the traps (a check asked of a teammate, the team's own history, a passing mention, a joke, a two-idea brainstorm, follow-ups on research already on screen).evals/runs/(the full JSON of each run) is gitignored.Run it with
CLAUDE_EFFORT=low node --env-file=.env evals/replay.mjs [name-filter]. A full run is 33 billed think calls. Pass the effort explicitly: Claude Code exportsCLAUDE_EFFORT=medium, and--env-filedoesn't override it.Screenshots
None: nothing visible changes.
Verified
npm run checkpasses. Full runs against the real API on 2026-11-13, withagent.jsunchanged:Haiku's one annoying tick: after "Thanks Cue" it captioned the diagram already on screen. The transcripts and their judgments were written by the agent, not recorded from a call, so a perfect score shows the prompt does what was expected, not that it's right for real meetings. Not checked: a real-call transcript, which comes next under #10.
Review
Skipped: a new script and data under
evals/, with no change toserver.js,agent.jsor the API (CLAUDE.md, Workflow).🤖 Generated with Claude Code