Skip to content

Replay transcripts through think() and score what Cue does - #23

Merged
a-Fig merged 1 commit into
mainfrom
issue-10-unprompted
Nov 13, 2026
Merged

a-Fig merged 1 commit into
mainfrom
issue-10-unprompted

Conversation

@DhruvaKanna07

Copy link
Copy Markdown
Collaborator

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.mjs feeds each transcript tick by tick into agent.js's think() and carries screen state and recent actions between ticks, the way public/app.js does. 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.
  • Seven typed transcripts are in 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).
  • Transcripts run one at a time. In parallel, calls queue on the key's rate limit and a 2 s quiet tick reads as 10-30 s.
  • 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 exports CLAUDE_EFFORT=medium, and --env-file doesn't override it.

Screenshots

None: nothing visible changes.

Verified

npm run check passes. Full runs against the real API on 2026-11-13, with agent.js unchanged:

Model, effort Score (of 33) Median latency
claude-sonnet-5-5, medium 33 1.6 s
claude-opus-5-5, low 33 11.8 s (about 2 s per quiet tick when run alone)
claude-haiku-5-5, medium 30 1.9 s

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 to server.js, agent.js or the API (CLAUDE.md, Workflow).

🤖 Generated with Claude Code

#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]>
@a-Fig
a-Fig merged commit b21c775 into main Nov 13, 2026
1 check passed
@a-Fig
a-Fig deleted the issue-10-unprompted branch November 13, 2026 21:05
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.

Replay harness that scores think() on transcripts (from Opus)

2 participants