Round 24 handoff and evidence (documentation only)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-29 12:11:39 -08:00
co-authored by Claude Fable 5.2
parent 9874e1bb5b
commit 958567453c
2 changed files with 170 additions and 0 deletions
+48
View File
@@ -927,3 +927,51 @@ version is the one the 6-passed line above is for.
(Docker is present; not run, no file under `deploy/` has changed since Round 18). The sound
check has not been run in any real browser. The idle-exit simulator failure from Round 19 did
not recur and remains unexplained.
## Round 24 (2026-11-29): answers read aloud, shutdown fix, 0.5.0, on `9874e1bb5b38458a6bc55159362f39234746fb67`
```
$ npm ci ok
$ npm rebuild @evenrealities/evenhub-simulator
$ npm run typecheck clean
$ npm test Test Files 20 passed (20); Tests 375 passed (375)
$ npx vitest run --project integration tests/integration/wake.test.ts tests/integration/voice.test.ts
Test Files 2 passed (2); Tests 52 passed (52) (34 + 18)
$ npx vitest run --project even-client apps/even-client/test/soundCheck.test.ts Tests 6 passed (6)
$ npm run client:build built (as part of pack)
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack (twice)
hermeven.ehpk 107879 bytes, SHA-256
19a2174360a72dedaff861bcef25b6f09c32774969540292489d8b70a4ba1b0a both times; not uploaded
$ npm run test:real-stt Tests 11 passed (11)
$ npm run test:real-hermes Tests 9 passed (9) (isolated gateway, stub model)
$ npm run test:simulator 3 runs, 9 passed each time
$ bash -n deploy/install.sh tests/deploy/runbook-proof.sh ok
$ git diff --check origin/main...HEAD ; git diff --check d65beea HEAD clean (on the committed SHA)
```
All on the code as committed, except: the README (one sentence and the test count) was edited
after the run started, and it is not an input to any test or to the package.
Every speech test uses `tests/fakes/fakeTts.ts` (an HTTP server imitating the documented
request and returning bytes that are not audio) and a fake loudspeaker. **Not run, and not
possible here:** a call to the real ElevenLabs API; MP3 decoding or playback in any browser,
the simulator, the Even app or on a phone. `apps/even-client/src/ui/speaker.ts` has no test.
The simulator's nine scenarios pass with the speaker created there; its bridge offers no voice,
so the menu has no Voice entry and nothing is fetched.
During development two voice tests failed and were corrected: one expected 400 for a malformed
id where the bridge answers 404 as it does for turns; one hung in teardown, which is section 3
of the handoff. The fake provider's `stop()` also waited on a kept-alive connection and now
closes connections first.
**Not run:** `caddy validate` (not installed here); `systemd-analyze verify` and
`tests/deploy/runbook-proof.sh` (the only file changed under `deploy/` is
`bridge.env.example`, comments only). No negative control was run on the final tree for the
shutdown fix or for any voice test. The idle-exit simulator failure from Round 19 did not recur
and remains unexplained.
Negative coverage in `tests/integration/voice.test.ts`: no speech without a key or a voice;
another device's turn, an unfinished turn, an unknown id and a voiceless agent all 404 with no
provider call; over-budget 429 while an already-made clip is still served; provider failure is
a fixed message with nothing of the provider's or the answer's text in the reply or the log; no
fetch or playback with Voice off; late audio not played; no `/v1/transcribe` in hands free.