Skip to content

feat(live): personas speak their room lines in a call; STT chain named at every joint; pump probes summarize; the human's default picture - #3754

Merged
joelteply merged 3 commits into
canaryfrom
fix/media-pump-probes-sampled-not-per-frame
Sep 5, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fix/media-pump-probes-sampled-not-per-frame

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Joel's live test (2026-09-05): twelve animated heads, hold music, no voices, no captions, and a probe ledger that read zero for an hour.

  • Reply speaker (modules/voice_reply_speaker.rs): a chat:posted in a room with an active voice session, from a persona this node hosts, is spoken through one path — VoiceState::speak_in_room, extracted from the voice/speak-in-call verb. Receipts (💭) silent, code fences dropped, 600-char sentence cut, voices sequential. Probes live.tts.spoken/failed/bus_lagged. parse_chat_posted is now the one chat:posted parser, shared with the chat projection.
  • STT chain named: the human's audio channel WAS bound (09:03:04) and no transcription ran; the two silent returns in push_remote_human_audio now probe live.stt.audio_dropped {no_native_call|no_mixer_handle} (once per speaker/call), plus live.stt.speech_ended, live.stt.transcribed {chars,to_minds}, live.stt.refused.
  • Pump probes summarize: per-frame media.pump.* rows (≈370/s during the call) blinded the size-rotated ledger — every cognition class read zero for an hour. pump_tally.rs: one summary/s.
  • Default picture: the operator's avatar PNG seeded from the macOS account picture on first online (bounded, named outcome, never overwrites a chosen one).

Tests: 30/30 across the touched mods; cargo check clean. Cards 6e425299 (call outlives its last human) and 405d64d0 (picker / in-frame capture / stylize) carry the rest.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…hain names every silent joint; pump probes summarize; the human's default picture

Joel's live test (2026-09-05): twelve animated heads, hold music, no voices, no captions, and a
probe ledger that read zero for an hour.

- REPLY SPEAKER (modules/voice_reply_speaker.rs): every `chat:posted` in a room with an active
  voice session, from a persona THIS node hosts, is spoken through ONE path —
  `VoiceState::speak_in_room` (extracted from the `voice/speak-in-call` verb; both use it).
  Thought receipts (💭) stay silent, code fences are dropped, a long reply is cut on a sentence
  boundary at 600 chars; voices never overlap (sequential task on the bus receiver). Probes
  live.tts.spoken / failed / bus_lagged. `parse_chat_posted` + `bus_event_body` are now the one
  chat:posted parser (positron_source), shared with the chat projection.
- STT CHAIN: the human's AudioPcm channel WAS bound (ch 8, 09:03:04) and no transcription ever
  ran; the two early returns in `push_remote_human_audio` were silent. Now
  live.stt.audio_dropped {no_native_call | no_mixer_handle} (once per speaker/call, never per
  10 ms chunk), live.stt.speech_ended, live.stt.transcribed {chars, to_minds}, live.stt.refused.
- PUMP PROBES: `media.pump.enqueue`/`write` were one row PER FRAME — 12 pumps × 30 fps ≈ 370
  rows/s into the size-rotated ledger, ~34 s of history, every cognition class read zero for the
  length of the call. `live/transport/pump_tally.rs`: one summary row per second (frames, bytes,
  max write µs).
- DEFAULT PICTURE (persona/operator_avatar_seed.rs): the operator's `~/.continuum/avatars/<id>.png`
  is seeded from the macOS account picture (dscl JPEGPhoto → sips png; Picture path fallback) the
  first time the self-peer comes online — bounded, named outcome (present / seeded / not_found),
  never overwrites a chosen picture. Windows/Linux sources: honest not_found for now.

Tests: pump_tally, voice_reply_speaker, operator_avatar_seed, call_server mod, positron_source
mod — 30/30. Card 6e425299 (a call outlives its last human) and 405d64d0 (picker/capture/stylize)
carry the rest of the arc.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply and others added 2 commits September 5, 2026 06:09
…ale_dropped, never spoken (review, BigMama)

Speech is serialized (speak_in_room awaits synthesis), so twelve citizens answering one question
queue up and citizen #12's fluent answer would arrive minutes late — worse than silence because the
human cannot tell it is stale. Dropped for a STATED reason (live.tts.stale_dropped {age_ms}), unlike
the Lagged skip. Test pins the floor and that clock skew never underflows into 'infinitely fresh'.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 621a2c2 into canary Sep 5, 2026
5 checks passed
@joelteply
joelteply deleted the fix/media-pump-probes-sampled-not-per-frame branch September 5, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant