Skip to content

feat(rpc): let a host report a delegated turn it ran elsewhere - #55

Merged
yaacovcorcos merged 2 commits into
mainfrom
claude/live-host-reports-20261114
Nov 14, 2026
Merged

yaacovcorcos merged 2 commits into
mainfrom
claude/live-host-reports-20261114

Conversation

@yaacovcorcos

Copy link
Copy Markdown
Contributor

What

live_report ({ text, final? }): a host that ran a delegated request's turn somewhere else reports it to the live voice session. Progress goes in as commentary; with final, the answer goes in and ends the delegation. A report without an active delegation is dropped.

This extends SA-LIVE-HOST-DELEGATION, in its own marker blocks: controller.reportHostWork, RpcLiveBridge.report, the live_report command in rpc-mode.ts, rpc-types.ts and the wire spec. The RPC clients are regenerated in their own (generated) commit. The ledger contract and the SCIENT.md row are updated.

Why

With hostDelegation, the host sends each spoken request as the user's message, but the call still had to run inside the conversation's own agent session to hear that turn's progress and answer. So there was no call before a conversation's first message, nor after its agent stopped (restart, 30 idle minutes). Scient Desktop will run the call in a separate agent process and report the conversation's turns with live_report, so a call can start from the first message.

Platforms: the same on macOS, Windows and Linux; RPC routing only.

Testing

  • test/scient/live-host-delegation.test.ts: a report before any delegation is dropped; progress goes in as commentary and the final answer is spoken; a report after the final one is dropped; the call leaves "working".
  • test/scient, rpc-live, rpc-wire and cli-command-metadata suites: 95 pass. check:types passes. The divergence check reports "Every divergence is accounted for".

  • bun check passes (package check:types; oxfmt on the changed files)
  • Tested locally
  • CHANGELOG updated: not applicable, a Scient-only RPC addition recorded in SCIENT.md

🤖 Generated with Claude Code

yaacovcorcos and others added 2 commits November 14, 2026 14:34
With hostDelegation the host sends each spoken request as the user's
message, and the live session read that turn's progress and answer from
its own session. That ties a call to the conversation's agent: no call
before the conversation has one, or after it stopped.

live_report ({ text, final? }) lets the host run the turn anywhere and
report it instead: progress as commentary, and with final the answer,
which ends the delegation. A report without an active delegation is
dropped.

Scient-Divergence: SA-LIVE-HOST-DELEGATION

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scient-Generator: rpc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yaacovcorcos
yaacovcorcos merged commit d2a9aa8 into main Nov 14, 2026
38 of 40 checks passed
@yaacovcorcos
yaacovcorcos deleted the claude/live-host-reports-20261114 branch November 14, 2026 13:58
yaacovcorcos added a commit that referenced this pull request Nov 14, 2026
A live voice host can report a delegated turn it ran elsewhere: `live_report` (#55), so Scient Desktop's calls start before a conversation's first message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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