Skip to content

fix(realtime): omit the recap segment for a session without one - #469

Merged
dastratakos merged 1 commit into
mainfrom
luke/omit-absent-recap
Aug 23, 2026
Merged

fix(realtime): omit the recap segment for a session without one#469
dastratakos merged 1 commit into
mainfrom
luke/omit-absent-recap

Conversation

@dastratakos

@dastratakos dastratakos commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

sessionContextText rendered session.recap ?? "no recap reported" into every roster line sent to the voice conversation. Stating an absence in context invites the model to speak it — "…and no recap was reported" is pure filler the developer never asked to hear. The recap segment is now conditionally spread exactly like the line's other optional segments (workspace, applications, standing ask): a session without a recap simply omits it.

The existing bare-session test gains an assertion that a recap-less line carries no recap segment; no other roster rendering changes.

Validation

Portable-only change, validated by ./scripts/check.sh: exit 0, all checks green, packages/realtime 111/111 tests passing.

🤖 Generated with Claude Code

Automated visual evidence

Download the deterministic macOS evidence · workflow run

  • Commit: 5c6041eb1bd31f5bf28605c6a37dd860460cbc99
  • Scenario: smoke
  • Physical-notch check: not performed by CI

The roster line rendered "no recap reported" for a recap-less session,
and stating the absence in context invites the voice model to voice it
aloud as filler. The segment is now conditionally spread like branch,
error, and the standing ask, so a session without a recap simply omits
it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
luke-web Ready Ready Preview Aug 23, 2026 6:15pm

Request Review

@dastratakos
dastratakos added this pull request to the merge queue Aug 23, 2026
Merged via the queue into main with commit 9e1c485 Aug 23, 2026
10 checks passed
@dastratakos
dastratakos deleted the luke/omit-absent-recap branch August 23, 2026 18:21
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.

1 participant