- apps/even-client: a collapsed "Sound check" on the phone page. Finds out whether the page may play sound in the Even app, without a touch, in the background, and which outputs it can see. Plays only on a button press; sends nothing to the bridge. - services/bridge: wake.checked (every name check) and preview.done log the clip length and the duration, never the words. - tests: hands free after a recording in Agents with menu, wake and preview all on; the log lines carry only the fields above. - docs: 0.4.0 rollout and Dan's device report; security 3c, 3e, 3f; 0005 records that the Round 20 reading of "agent sub-app" was wrong (not changed here). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
133 lines
11 KiB
Markdown
133 lines
11 KiB
Markdown
# Hermeven
|
|
|
|
Hermeven makes Even Realities G2 glasses an interface to a Hermes Agent that you run yourself.
|
|
Tap, ask a question out loud, read a short answer on the display, ask a follow-up.
|
|
|
|
Even supplies the microphone, gestures and display. Hermes stays in charge of the agent: its
|
|
identity, memory, conversation, model, tools and approval rules. Hermeven is the glasses app and a
|
|
small bridge between the two.
|
|
|
|
## Status: deployed to one server; run in the Even app on one physical G2, with bounded checks
|
|
|
|
Physical testing so far is a handful of sessions on one pair of glasses on 2026-11-21 and one
|
|
report on 2026-11-28. The full
|
|
device checklist (`docs/device-test-plan.md`) has **not** been completed. Three kinds of evidence
|
|
are kept apart below and in the evidence files: what Dan observed on the device and reported, what
|
|
the implementer read from the server's log, and what Cody reproduced independently in review.
|
|
|
|
| Path | State |
|
|
|---|---|
|
|
| **What is where today** | Server (bridge and static page): `e4c102a5391464cec6f540f5a41f5557a3f61e0b`, since 2026-11-28 21:44 UTC. Even account, beta channel: client 0.4.0, built from that commit. This repository's client is **0.4.1, a candidate: not deployed, not uploaded, not on the device.** |
|
|
| Client, bridge and contract | Implemented. |
|
|
| Automated tests with fakes (351) | Passing. |
|
|
| Client in Even's official simulator | 9 scenarios, run by the implementer, simulator only. Eight run with the menu, hands free and live preview switched off (the tap path and idle exit); the ninth launches the app as shipped and covers the menu and the microphone opening and closing for hands free, with a silent microphone, so no name is ever heard. Live preview is not exercised in the simulator. One unexplained failure of the idle-exit scenario in the Round 19 runs; see `docs/test-evidence.md`. |
|
|
| 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. |
|
|
| Running on a droplet | Since 2026-11-28 19:06 UTC the server runs commit `44ea1148c34a271f4fdc565ef71a145adf459b42` (bridge and static page), which holds Cody's SHIP FOR TRIAL (Round 18). Checks performed: `docs/evidence/device/2026-11-28.md`; earlier deployments: `docs/evidence/droplet/2026-11-21.md`. |
|
|
| Phone page in an ordinary phone browser | Paired and answered one typed question (Chrome on Android, reported by Dan). This is **not** the Even app: a browser cannot reach the glasses. |
|
|
| Phone page inside the Even app, physical G2 | First runs on 2026-11-21, QR-sideloaded, phone unlocked: paired, four spoken questions answered on the glasses. See `docs/evidence/device/2026-11-21.md` for exactly which builds and what was and was not observed. |
|
|
| Installed as an Even Hub private build ("Pepper", `xylo.hermeven` 0.1.0) | Runs from the Even app with no QR code: paired, and four spoken questions answered on the glasses, including hold-to-talk and one that had the agent send a Telegram message (Dan's report plus the bridge log, 2026-11-21). Needs `HERMEVEN_ALLOWED_ORIGINS=http://127.0.0.1:*` on the bridge. |
|
|
| Ring, paging, contextual menu, cancel, relaunch with the pairing kept, the system exit dialog on the device | **Not run.** |
|
|
| 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, which is what is deployed and on beta (`44ea114`). Fakes: passing. Simulator: menu and microphone open/close only (scenario 9). Device: tried by Dan on 2026-11-28, "pretty cool"; a name reached an agent and a different name switched agent. No item-by-item report; section D of the device plan has not been run. `docs/decisions/0004-always-listening.md`, `docs/evidence/device/2026-11-28.md`. |
|
|
| Words shown while recording (Agents only); "Heard: ..." while the agent works | 0.4.0, deployed and on beta (`e4c102a`). Fakes: passing. Not in the simulator. Device, Dan, 2026-11-28: "Heard" appears; **live words did not appear**, cause unknown; and Dan wants them in hands free, not Agents (open, not built). `docs/decisions/0005-live-preview.md`, `docs/evidence/device/2026-11-28.md`. |
|
|
| Sound check on the phone page (can the page play sound, untouched, in the background; which outputs it sees) | 0.4.1 candidate. A probe for issue #1 (spoken answers), not a feature. Typechecked and built only: **no automated test, not in the simulator, not on the device.** |
|
|
| 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. |
|
|
|
|
The product's first goal needs the microphone to work while the phone is locked in a pocket.
|
|
Even's documentation says capture stops if the app's WebView is suspended. What is known so far is
|
|
one owner-reported run on 2026-11-21 with the beta build: Dan reported that a spoken question was
|
|
answered with the phone locked. Still unverified: the phone locked **in a pocket**, survival after
|
|
five minutes locked, and the specification's ten-cycle acceptance run. That one observation is not
|
|
the acceptance test.
|
|
|
|
## How it fits together
|
|
|
|
```
|
|
G2 <-Bluetooth-> Even phone app (WebView: apps/even-client)
|
|
| HTTPS + device credential
|
|
services/bridge (speech-to-text built in: Whisper on the CPU)
|
|
|
|
|
your Hermes API server
|
|
```
|
|
|
|
- `packages/contracts`: the versioned bridge contract (schemas, types, error codes).
|
|
- `services/bridge`: pairing, the turn lifecycle, the Hermes and STT adapters, the operator CLI.
|
|
- `apps/even-client`: the glasses app and its phone page.
|
|
- `tests`: fakes, integration, simulator and real-Hermes suites.
|
|
|
|
## Quick start (no glasses needed)
|
|
|
|
```sh
|
|
npm ci
|
|
cp .env.example .env # set HERMES_API_KEY; add HERMEVEN_ALLOWED_ORIGINS=http://localhost:5173
|
|
npm run bridge:cli -- fetch-model # one-time: download and verify the pinned speech model
|
|
npm run bridge # terminal 1
|
|
npm run client:dev # terminal 2, then open http://localhost:5173
|
|
npm run bridge:cli -- pair # terminal 3: prints a one-time pairing code
|
|
```
|
|
|
|
Enter `http://127.0.0.1:8787` and the code in the page, then use "Typed question". Full
|
|
instructions, including building for the glasses, are in `docs/setup.md`.
|
|
|
|
## Using it on the glasses
|
|
|
|
| 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. From 0.4.0, in Agents, the words appear as you speak, a second or two behind; "Heard: ..." shows what was sent while the agent works. |
|
|
| 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 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 | 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.
|
|
If the agent needs an approval, the display says so and you approve it where you normally manage
|
|
the agent. Hermeven never approves anything for you.
|
|
|
|
Tap, hold-to-talk and a quickly released press have been used on a real G2 (2026-11-21, Dan's report). Paging, the menu, cancel and the ring have not.
|
|
|
|
## Tests
|
|
|
|
```sh
|
|
npm run typecheck
|
|
npm test # unit and integration, fakes only
|
|
npm run test:simulator # opens Even's simulator window
|
|
npm run test:real-hermes # real `hermes gateway` in a throwaway home, stub model
|
|
npm run test:real-stt # the built-in Whisper model on a real speech recording
|
|
```
|
|
|
|
What each suite does and does not show is in `docs/test-evidence.md`.
|
|
|
|
## Documentation
|
|
|
|
| Document | Contents |
|
|
|---|---|
|
|
| `docs/feasibility.md` | What Even and Hermes actually provide, with sources and a status for each claim. |
|
|
| `docs/compatibility.md` | Versions used and tested. |
|
|
| `docs/architecture.md` | Components, state machine, how ambiguous outcomes are classified. |
|
|
| `docs/bridge-api.md` | The bridge contract. |
|
|
| `docs/security.md` | Threat model, controls, known gaps. |
|
|
| `docs/setup.md` | Running, building, operating. |
|
|
| `docs/deploy-droplet.md` | Running the bridge on a server. Run once for real (`docs/evidence/droplet/2026-11-21.md`); the current steps are proven on a disposable host. |
|
|
| `docs/device-test-plan.md` | The physical-device checklist. Partially exercised informally on 2026-11-21 (`docs/evidence/device/2026-11-21.md`); the complete checklist has not been run. |
|
|
| `docs/test-evidence.md` | Commands run and their real results. |
|
|
| `docs/decisions/` | Decision records. |
|
|
| `docs/handoff/` | Review handoffs. |
|
|
| `docs/build-in-public/` | Unpublished drafts. Nothing is published automatically. |
|
|
|
|
## Not in this slice
|
|
|
|
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).
|