Opening menu and hands-free mode: call an agent by name (0.3.0)
The app now opens on a menu, which is the root page: "Hands free" first, "Agents" second. Agents is the 0.2.0 app unchanged. Hands free is the same agents, conversations and question path with one flag set: the microphone listens while the app is at rest and the app does not leave by itself. The mode is never remembered; every launch starts at the menu with the microphone closed, and double tap at Ready returns to the menu and closes it. Client: a loudness-only speech segmenter (core/vad.ts) cuts the stream into utterances; each goes to the bridge for a wake check. "Wendy, <q>" becomes a text turn to Wendy, with what was heard shown while she works. A name alone starts a recording that sends itself when the speaker stops. The status line starts with a dot for exactly as long as the microphone is open at rest. In wake mode every microphone open and close goes through one serialised reconciler; without the option the old path is untouched. Bridge: POST /v1/wake transcribes one utterance in memory and reports whether it BEGAN with an agent's name (first word of the display name, or an alias from HERMEVEN_AGENT_<ID>_WAKE). Exact match only; a near miss is reported as one word and never acted on. Creates no turn, stores nothing, returns and logs nothing that was not addressed to an agent. One check at a time per device, HERMEVEN_WAKE_CHECKS_PER_MINUTE (30). Docs: decision 0004, bridge API, security gaps 3c/3d, device plan D. The manifest's microphone description changed. Not reviewed, not deployed, not uploaded, not device-tested. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,18 @@ Stated so they are not mistaken for protections.
|
||||
sandboxed process. It no longer stalls the bridge (measured 3 ms), but a crash inside the
|
||||
native runtime could still take the bridge down; systemd restarts it and in-flight turns are
|
||||
recovered or failed honestly.
|
||||
3c. **In hands-free mode (0.3.0; chosen on the opening menu at each launch, never on by itself)
|
||||
the microphone is open whenever the app is at rest**, and every stretch of speech near the glasses is uploaded to the bridge
|
||||
and transcribed, whoever is speaking and whether or not it is meant for an agent. The bridge
|
||||
keeps and returns only speech that begins with an agent's name; the rest is dropped after the
|
||||
transcription call and is not logged. That is a promise about this code, not a technical
|
||||
barrier: whoever controls the bridge host could record it. People near the wearer are not
|
||||
told. The HUD marks the open microphone with `●`; nothing outside the lenses does.
|
||||
3d. **In hands-free mode an agent can be started without a button.** Speech that begins with an agent's name is sent
|
||||
to that agent with whatever tools its Hermes profile allows, with no confirmation. A name is
|
||||
matched exactly and only as the first word, and what was heard is shown while the agent
|
||||
works, but a mis-transcription, another person saying the name, or audio from a speaker can
|
||||
all start a turn.
|
||||
4. **In the simulator, raw audio frames are echoed to the WebView console.** Whether the phone
|
||||
does the same is unknown and is on the device checklist. If it does, recordings would be
|
||||
visible to whoever can read that console.
|
||||
|
||||
Reference in New Issue
Block a user