Files
hermeven/docs/device-test-plan.md
T
DanandClaude Fable 5.2 4687cc0114 First vertical slice: Even client, bridge, contract v1, tests, docs
Client (apps/even-client): pure interaction reducer with generation-based
stale-result rejection, HUD renderer, measured pagination, Even Hub SDK
0.0.16 adapter, bridge HTTP client, phone pairing/status/diagnostics page.

Bridge (services/bridge): device pairing and revocable expiring credentials,
turn engine with idempotent submit, cancel, deadlines and restart recovery,
Hermes Runs API adapter, OpenAI-compatible STT adapter, operator CLI.

Contract (packages/contracts): versioned schemas, types and error codes.

Tests: 122 unit/integration (fakes), 6 simulator scenarios (Even Hub
simulator 0.9.5), 9 scenarios against a real Hermes v0.23.1 gateway with a
stub model. No real STT, real model or physical device has been exercised;
see docs/test-evidence.md and docs/device-test-plan.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 18:21:49 -08:00

81 lines
6.1 KiB
Markdown

# Physical-device test plan
**Status: not started. No step below has been run.** Only Dan, or someone holding the G2, can run
these and sign them off. A passing simulator or test suite does not count toward any item here.
Record results in a copy of this file under `docs/evidence/device/<date>.md`: for every step
write pass, fail or not run, plus what you saw. Record failures as carefully as passes.
## Before you start: write these down
| Item | Value |
|---|---|
| Date and tester | |
| Hermeven commit | |
| G2 firmware version | |
| R1 ring firmware (if used) | |
| Even phone app version (needs 2.2.10+) | |
| Phone model and OS version | |
| Install method | QR sideload / private test / **beta channel** |
| Bridge host, how the phone reaches it | |
| Hermes version and profile (read-only or test profile) | |
| STT provider and model | |
Lock-screen steps are only meaningful on a **beta-channel build**: Even's docs say sideloaded
apps stop when the phone locks.
## A. Feasibility checks (do these first; each answers an open question)
| # | Step | What to record | Open question it answers |
|---|---|---|---|
| A1 | Open the phone page, Diagnostics. | The exact "Page origin" value. Put it in `HERMEVEN_ALLOWED_ORIGINS`. | WebView origin is undocumented. |
| A2 | Pair with a code from `bridge:cli -- pair`. | Does pairing succeed? If not, the error text. | Whitelist and CORS on a real phone. |
| A3 | Look at the HUD at rest. | Is "Hermeven / Ready." and the status line fully readable in your fitted position? Photo if possible. | Legibility, layout. |
| A4 | Tap once on the right temple. | Does the HUD show `● REC` with a running timer? Was there a permission prompt? | Tap delivery; mic permission. |
| A5 | Speak for about 5 seconds, tap again. | The timer value when you tapped, and "captured N s" in Diagnostics. Do they agree within a second? | Real frame pacing and size. |
| A6 | Wait for the answer. | Was the transcript (phone page, "Sent to the agent") what you said? Time from tap to answer. | Real STT and Hermes path. |
| A7 | Ask something with a long answer. Swipe down, then up. | Does each swipe turn exactly one page? Does any page scroll inside itself or cut a line? | Whether measurement matches firmware. |
| A8 | Double tap on an answer, then double tap again at "Ready". | First returns to Ready; second shows the system exit dialog. | Double-tap delivery; exit rule. |
| A9 | Tap, then long-press. | Does the OS menu show "New conversation" and "Cancel request"? Choose "New conversation". | Contextual menu, never exercised. |
| A10 | Repeat A4 to A8 with the left temple, then the ring. | Any gesture that behaves differently. | Ring and left-temple parity. |
| A11 | While recording, read the phone's developer console. | Is raw audio data being printed there? | Audio echo seen in the simulator. |
| A12 | Start recording and say nothing for 35 seconds. | Does it stop by itself at 0:30 and submit? | Capture cap. |
| A13 | **Lock the phone, put it in a pocket, tap, ask, tap.** | Does `● REC` appear? Does an answer arrive? If not, what does the HUD show? | **The first outcome.** |
| A14 | With the phone locked for 5 minutes, tap. | Is the app still responsive? | Suspension. |
| A15 | Try to start native captions while Hermeven is open, and Hermeven while captions run. | Exactly what happens and how you get back. | Coexistence with captions. |
| A16 | Answer containing accents, a currency symbol, and non-Latin text. | Which characters appear, which are missing. | Glyph coverage. |
If A13 fails, stop and report it. It is a product-level blocker, not a bug to work around.
## B. Real integration (spec section 9)
| # | Step | Pass condition |
|---|---|---|
| B1 | One spoken question, real STT, real Hermes, answer on the HUD. | Answer is relevant to what was said. |
| B2 | Say "My name is <name>." then ask "What is my name?" | Second answer uses the name. |
| B3 | Choose "New conversation", ask "What is my name?" | The agent does not know. |
| B4 | With a tool that leaves a countable trace (for example appending a line to a test file), ask once, and while it is thinking pull the phone's network for 5 seconds. | The trace shows exactly one execution. |
| B5 | Ask for something that needs approval in the test profile. | HUD says approval required; nothing is approved from the glasses; approving on Hermes's own surface completes it. |
| B6 | Start a long request, double tap. | HUD says Cancelled; the phone page shows the true outcome; no late answer appears. |
## C. Acceptance (do not call the MVP usable before these)
| # | Step | Record |
|---|---|---|
| C1 | 10 consecutive question and follow-up cycles, phone locked and pocketed. | Attempts, successes, and every failure with what the HUD showed. |
| C2 | Turn Bluetooth off for 20 seconds while idle, and again while waiting for an answer. | What the HUD shows; whether the answer still arrives; that the microphone did not reopen. |
| C3 | Walk out of range while recording, come back. | Recording stopped; nothing was sent; no automatic recording on return. |
| C4 | Switch to another phone app for a minute and back, idle and mid-request. | State on return. |
| C5 | Take a phone call mid-recording and mid-request. | State afterwards; no unintended recording. |
| C6 | Restart the bridge mid-request. | The answer still arrives once; no duplicate tool run. |
| C7 | Revoke the device on the bridge host, then tap and ask. | HUD says to pair again; nothing reaches the agent. |
| C8 | Over the whole session: any unintended recording, any answer from the wrong conversation, any stale answer, any duplicate execution? | Each as yes or no with detail. |
| C9 | Read a five-page answer in your normal fitted position. | Comfortable or not; what would change. |
| C10 | Battery: glasses and phone percentage at start and after a stated duration and number of questions. | The four numbers and the duration. Do not extrapolate. |
| C11 | Per question: seconds from second tap to answer, noted for at least 10 questions. | The raw list. The phone page shows the STT and agent split for each. |
## Reporting
Anything that fails in A13, A14, A15 or C1 is a blocker or a stated limitation of the product, to
be written into the README as such.