Skip to content

feat: one signal number with remote whisper and in-process fan-out - #29

Merged
daopunk merged 4 commits into
mainfrom
chore/deploy
Aug 14, 2026
Merged

feat: one signal number with remote whisper and in-process fan-out#29
daopunk merged 4 commits into
mainfrom
chore/deploy

Conversation

@daopunk

@daopunk daopunk commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Collapse Bread Bot to one Signal number (phone B) on the surviving CVM (0e82fa77-8b15-4dbd-89c4-9045ab911353): one signal-api + one signal-bot runs hub, voice, and translation. Drop pairing, PEER_PHONE, and phone A. Do not re-register phone A.
  • STT is NEAR AI Whisper Large V3 (GPU TEE). No in-CVM Whisper sidecar. After transcribe, fan spoken text in-process into in-chat auto and Language Threads (this number does not receive its own group posts). Per-message tokio::spawn keeps STT off other handlers.
  • Keep live volumes (signal-config-translation, group-prefs-translation, registry-data). In-place phala deploy --cvm-id only.

Test plan

  • npm run ci / pnpm run ci (fmt, Clippy, coverage ≥90%, commitlint)
  • BOT__ROLE=transcription fail-fasts; translation requires NEAR + WHISPER__ENABLED=true
  • One handler stack: Language Threads → voice / !transcribe* → in-chat → menus (!transcription is voice menu only) → quote !translate!verify / !help / !info / !privacy
  • Voice still default off; filenames sent to Whisper are generic (voice.ogg / voice.m4a)
  • After STT, in-chat / Language Threads see spoken text as the original speaker; bot translation replies are not re-translated
  • !verify is one reply (Bread Bot:); !privacy is one number
  • Live (after in-place deploy): phone B still registered, prefs load, menus + !transcribe + translation still work

Follow-ups

Out of scope

  • Re-registering phone A / proxy :8082
  • Migrating group-prefs-transcription
  • Dropping BOT__ROLE or putting Whisper back in this CVM

@daopunk daopunk changed the title chore: deploy feat: one signal number with remote whisper and in-process fan-out Aug 14, 2026
@daopunk
daopunk merged commit c31f8a2 into main Aug 14, 2026
2 checks passed
@daopunk
daopunk deleted the chore/deploy branch August 15, 2026 19:20
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