Round 19 handoff and evidence (documentation only)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-28 11:44:59 -08:00
co-authored by Claude Fable 5.2
parent f9946a027a
commit 31ae4efb13
2 changed files with 118 additions and 0 deletions
+44
View File
@@ -773,3 +773,47 @@ test and more variants in `apps/even-client/test/layout.test.ts`.
| `/v1/wake` | match with text, name alone, greeting, alias; unaddressed speech returns empty text and appears in no log line; near miss is one word; 401 / 400 / 415; failed transcription is "not matched"; 404 with no speech-to-text or no named agent; one check at a time and a per-minute budget separate from turns; no run is posted to Hermes |
| Menu | opens on it with Hands free first, microphone closed, nothing sent; one tap is hands free; double tap at Ready returns to it and closes the microphone; double tap on it requests the system exit; Agents behaves as 0.2.0 including idle exit; an untouched menu leaves, hands free does not; Agents only where hands free cannot work; a turn in flight at relaunch is shown instead of the menu |
| Hands free | one-breath question reaches the named agent as text with "Heard:" shown; microphone closed while in flight and reopened at rest; agents switch by name and keep their own conversations; name alone records and sends on a 1.2 s pause without reopening the microphone; a question finished before the name was recognised is not lost; name then silence sends nothing; a tap during a check wins; 404 from the bridge ends hands free and says so; refused or silent microphone is retried; closed on disconnect and stop |
## Round 19 (2026-11-28): live preview, on `f9946a027a92da79d9321bc7ca7e4555b8ba900f`
```
$ npm run typecheck clean
$ npm test Test Files 18 passed (18); Tests 349 passed (349)
$ npx vitest run (the Round 18 list: wake, vad, layout, integration wake) Tests 66 passed (66)
$ npm run client:build built
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack (twice)
hermeven.ehpk 105146 bytes, SHA-256
eba2103df81e0e7c35e5684fcd07915f03af1015f5f9c5acae730e25039f8d8f both times; not uploaded
$ npm run test:real-stt Tests 11 passed (11)
$ npm run test:real-hermes Tests 9 passed (9)
$ npm run test:simulator 4 runs with the ninth scenario: 9 passed (9) three times;
once 1 failed | 8 passed (see below)
$ bash -n deploy/install.sh tests/deploy/runbook-proof.sh ok
$ systemd-analyze verify deploy/hermeven-bridge.service exit 0; one message: /opt/node/bin/node
"is not executable" (it does not exist on the development desktop)
$ git diff --check origin/main...HEAD clean (run on the committed SHA)
```
Everything except the last line was run on the working tree immediately before it was committed
as the SHA above, not on a fresh checkout of it. `npm ci` was not re-run.
**The failed simulator run.** The first run after adding the ninth scenario failed in the
existing eighth scenario (idle exit with short waits), at
`waitConsole('leaving the glasses: idle on ready', 15_000)`: the line never appeared. The next
three runs passed all nine. The cause was not found. That scenario launches with
`wake=off&menu=off&preview=off`, where none of this round's client code runs
(`afterChange` and `maybePreview` return at once), but that is an argument, not a diagnosis.
**Not run:** `caddy validate` (caddy is not installed here), `tests/deploy/runbook-proof.sh`
(no file under `deploy/` changed in this round). No negative controls were run.
New tests, all in `tests/integration/wake.test.ts` (fakes: a tone, a scripted recogniser):
| | Asserted |
|---|---|
| `/v1/transcribe` | returns trimmed text; posts nothing to Hermes; the text is in no log line; 401, 400 (wrong format, odd byte count); failed transcription gives empty text; 404 without speech-to-text; one at a time per device and its own per-minute budget, separate from wake checks |
| Words while recording | the HUD shows each preview as the recording grows; after sending, the last preview stays under "Transcribing…"; "Heard:" then shows the turn's own transcript (which differs from the previews in the test); exactly one turn and one execution |
| Long text | the newest words are kept, with a leading "…", within nine measured lines |
| Stale preview | one that returns after a cancel, during the next recording, is not drawn |
| Fallbacks | without speech-to-text nothing is requested and recording works; a typed question never shows "Heard:" |
| Hands free | the question after a name alone shows its words and reaches the named agent |