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:
Dan
2026-11-28 10:52:06 -08:00
co-authored by Claude Fable 5.2
parent 75b7ea1eff
commit e1d183b54d
26 changed files with 1847 additions and 48 deletions
+7 -4
View File
@@ -17,7 +17,7 @@ the implementer read from the server's log, and what Cody reproduced independent
| Path | State |
|---|---|
| Client, bridge and contract | Implemented. |
| Automated tests with fakes (299) | Passing. |
| Automated tests with fakes (341) | Passing. |
| Client in Even's official simulator | Passing (7 scenarios). Simulator only. |
| Bridge against a real Hermes gateway | Passing (9 scenarios) with a **stub model**. |
| Built-in speech-to-text (Whisper, in the bridge) | Passing (11 scenarios) on a real speech recording, including with no network. Not yet on audio from the glasses. |
@@ -29,6 +29,7 @@ the implementer read from the server's log, and what Cody reproduced independent
| Locked phone | First success on 2026-11-21 with the beta build: launched by voice ("Hey Even, open Pepper") and a spoken question answered with the phone locked (Dan's report). The specification's ten-cycle acceptance run has **not** been done. |
| Leaving the glasses when idle | 0.1.1 on the device (2026-11-21, Dan's report): after one gesture the app left by itself and Telegram notifications returned to the lenses; after a voice launch with nothing touched it did **not** leave. 0.1.2 starts the countdown however the app was opened; tested with fakes and the simulator, **not installed on the device.** |
| More than one agent (swipe at Ready to choose) | 0.2.0. Deployed on 2026-11-22 with three agents; a question sent through the bridge was answered by a second Hermes profile (`docs/evidence/droplet/2026-11-21.md`). Installed on the device and tried by Dan, who reported "All tests check out" without detail (`docs/evidence/device/2026-11-21.md`, sixth session). The agent screens have not been run in the simulator. |
| Opening menu (Hands free, Agents); hands-free mode: calling an agent by name ("Wendy, ...") | 0.3.0. Automated tests with fakes only (a tone for speech, a scripted recogniser). **Not run in the simulator, not deployed, not on the device.** The speech detector's thresholds are untested guesses. `docs/decisions/0004-always-listening.md`. |
| Real tools and approval flow | One tool use seen (a Telegram message, reported by Dan). The approval path has **not** been exercised against a real agent. |
| Sustained load, backups, monitoring, upgrades on the server | **Not verified.** |
| Clean-host install (`deploy/install.sh`) | Proven on a disposable Ubuntu 24.04 container with systemd (`tests/deploy/runbook-proof.sh`), not on a second real server. |
@@ -73,14 +74,16 @@ instructions, including building for the glasses, are in `docs/setup.md`.
| You do | It does |
|---|---|
| Open the app | From 0.3.0: a menu. Swipe to move, tap to open. **Hands free** is first, **Agents** (everything below, as before) second. |
| In Hands free: say an agent's name, then your question | The microphone is open while the app is at rest (the status line starts with `●`). "Wendy, what's on my calendar" goes to Wendy. A name alone starts a recording that is sent when you stop speaking. Tap and swipe still work. The app stays on the glasses. |
| Tap | Start recording. The display shows `● REC` and a timer the whole time. |
| Tap again | Stop and send. Recording also stops by itself after 30 seconds. |
| Hold, speak, release | Push-to-talk: recording starts when the glasses register the hold and is sent when you let go. A hold released in under 0.7 s behaves like a tap. |
| Swipe down / up | Next / previous page of the answer. |
| Tap on an answer | Ask a follow-up in the same conversation. |
| Double tap | Cancel what is in progress, or go back. At "Ready" it opens the system exit dialog. |
| Double tap | Cancel what is in progress, or go back. At "Ready" it returns to the menu (closing the microphone if it was hands free); on the menu it opens the system exit dialog. |
| Swipe at Ready | From 0.2.0, when the bridge offers more than one agent: choose who to talk to. The name is shown; on an answer a swipe still turns the page. |
| Leave it alone | From 0.1.1: Pepper leaves the glasses by herself (20 s after an answer, 30 s at Ready, 10 s after an error), so the normal screen and notifications return. Call her back from the glasses' menu or with "Hey Even, open Pepper". |
| Leave it alone | In Hands free the app stays open. On the menu and in Agents, as from 0.1.1: Pepper leaves the glasses by herself (20 s after an answer, 30 s at Ready, 10 s after an error), so the normal screen and notifications return. Call her back from the glasses' menu or with "Hey Even, open Pepper". |
| Tap, then long press | The system menu, with "New conversation" and "Cancel request". |
Cancelling stops the agent as soon as Hermes can; it does not undo anything the agent already did.
@@ -120,6 +123,6 @@ What each suite does and does not show is in `docs/test-evidence.md`.
## Not in this slice
Wake words, always-on listening, choosing an agent by saying its name, camera features,
On-device wake-word detection (names are recognised on the bridge), camera features,
text-to-speech, billing, store launch, and running alongside Even's native captions (the public
SDK does not offer it).