Round 11 handoff and evidence section (documentation only)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-21 14:17:31 -08:00
co-authored by Claude Fable 5.2
parent 8171aee75a
commit 19a9d5e22e
2 changed files with 115 additions and 0 deletions
+42
View File
@@ -480,3 +480,45 @@ No check was omitted.
What happened on the device is in `docs/evidence/device/2026-11-21.md`; what was changed on the
server, and with whose approval, is in `docs/evidence/droplet/2026-11-21.md`.
## Round 11: leaving the glasses when idle, version 0.1.1 (2026-11-21)
Run on `8171aee`.
```
$ npm ci exit 0
$ npm run typecheck exit 0
$ npm test Tests 233 passed (233)
$ vitest entryPoint + client-bridge + bridge + hostDetect Tests 111 passed (111)
$ npm run client:build built
$ npm run test:real-stt Tests 11 passed (11)
$ npm run test:real-hermes Tests 9 passed (9)
$ npm run test:simulator Tests 7 passed (7)
$ bash -n deploy/install.sh tests/deploy/runbook-proof.sh ok
$ tests/deploy/runbook-proof.sh exit 0 (Caddy 2.6.2 "Valid configuration", fmt 0 changed
lines; systemd-analyze verify ok; unit active as hermeven)
$ git diff --check clean
```
No check was omitted.
New tests, all in `tests/integration/client-bridge.test.ts` (9):
| Behaviour | Proven by |
|---|---|
| After an answer sits untouched, the app leaves once, with the immediate exit and not the confirmation dialog | exit counter 1, dialog counter 0, microphone closed |
| Any gesture restarts the countdown | six page turns, each inside the timeout, across more than three timeouts: no exit; then exit once left alone |
| Never leaves while recording, transcribing, thinking, or awaiting approval | each held for more than two timeouts: no exit |
| Leaves from Ready, and from an error screen | |
| Opened from the phone with no gesture: stays; first glasses gesture arms it | |
| Touching the phone page holds it open for the grace period | |
| Can be switched off | |
| A question soon after the last continues the conversation across a relaunch; after the gap it starts a new one | the fake agent's session count: 1, then 2 |
Six ways of breaking it were tried; five were caught. The sixth removed a line that restarts
the countdown on a gesture, which is redundant because every gesture already passes through
`dispatch()`, which restarts it.
The simulator suite runs with `?idleExit=off` (a development-only switch, compiled out of
production builds) because it drives the app for longer than the idle timeout between steps.
**The exit itself (`shutDownPageContainer(0)`) has not been run in the simulator or on a device.**