Commit 31735c5
committed
feat(voice): conversation-guided elevation + spoken interface configuration (ADR-110 D3b)
Voice inside the immersive interface becomes the primary elevation guide and
a control surface for the interface itself — fully local (Whisper STT in,
Kokoro TTS out), per ADR-110 D3b.
- src/actors/elevation_voice.rs: pure voice-signal layer — normalised n-gram
ConceptIndex over elevatable labels (frontier stubs + working pages),
greedy longest-match mention harvesting, VoiceDemandLedger with 30-minute
half-life decay and excerpt/speaker provenance, explicit-intent parsing
('elevate X', 'formalise X', 'make X a class')
- elevation_actor: transcription stream subscription; conversational demand
is now the PRIMARY candidate ranking (degree breaks ties / carries the
queue when nobody is talking); voice-driven cases open at high priority
with mention counts and utterance excerpts in the review surface; explicit
spoken commands jump the queue and are confirmed aloud via Kokoro;
concept index rebuilt from each graph snapshot
- src/actors/voice_interface_actor.rs: spoken view/graph configuration
requests route to the SAME settings assistant the Control Center command
box drives (settings_assistant_task extracted from bots_handler for
reuse); conservative verb+noun intent gate keeps ordinary speech out;
spoken confirmations; active whenever the local speech stack is up
- per-user/room attribution slots in when the XR LiveKit voice path lands —
the ledger already models speakers
20 module tests green (7 ACSP contract, 11 elevation+voice, 2 interface
intent); clippy clean.
Co-Authored-By: jjohare <github@thedreamlab.uk>1 parent 88499b0 commit 31735c5
7 files changed
Lines changed: 831 additions & 62 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
93 | 119 | | |
94 | 120 | | |
95 | 121 | | |
| |||
0 commit comments