Round 12 handoff, evidence, section F status (documentation only)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -522,3 +522,46 @@ the countdown on a gesture, which is redundant because every gesture already pas
|
||||
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.**
|
||||
|
||||
## Round 12: CODY-016, 017, 018 (2026-11-21)
|
||||
|
||||
Run on `bbde3c8`.
|
||||
|
||||
```
|
||||
$ npm ci exit 0
|
||||
$ npm run typecheck exit 0
|
||||
$ npm test Tests 251 passed (251)
|
||||
$ vitest --project integration entryPoint + client-bridge + bridge + idleExitHost + clientSecurity
|
||||
Tests 134 passed (134)
|
||||
$ npm run client:build built
|
||||
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack
|
||||
Stamped hermeven.ehpk (99923 bytes); not uploaded
|
||||
$ npm run test:real-stt Tests 11 passed (11)
|
||||
$ npm run test:real-hermes Tests 9 passed (9)
|
||||
$ npm run test:simulator Tests 8 passed (8)
|
||||
$ bash -n deploy/install.sh tests/deploy/runbook-proof.sh ok
|
||||
$ tests/deploy/runbook-proof.sh exit 0 (Caddy "Valid configuration", fmt 0 changed lines;
|
||||
systemd-analyze verify ok; unit active as hermeven)
|
||||
$ git diff --check f02715f...HEAD ; git diff --check 1ae105e HEAD clean
|
||||
```
|
||||
|
||||
No check was omitted. The production bundle was searched for the development-only
|
||||
`?idleExit=` switch and its short timings: absent.
|
||||
|
||||
| Finding | Where | Proven by |
|
||||
|---|---|---|
|
||||
| CODY-016 | `tests/integration/idleExitHost.test.ts`, production adapter, stand-in host | `glassesMenu` pushed while start-up is parked on a stalled storage read and before the HUD exists: armed, one exit. Under a fake clock with the default times: pushed before the controller starts, and pushed after it subscribed, each gives no exit at 29.9 s, one at 30.1 s, still one after ten more minutes. `appMenu` pushed early: no exit in ten minutes; after one gesture, one exit 30 s later. A stopped controller hears nothing. |
|
||||
| CODY-018 | same file, plus `client-bridge.test.ts` and `clientSecurity.test.ts` | Host answers false, throws, or does not answer, then succeeds: retried and left exactly once. A held call is never joined by a second one (calls in flight never exceed 1), a late success after every attempt ran out is remembered and no further call is sent, a late refusal is followed by one fresh call. The exit waits behind an unfinished storage write. Bounded: a host that always refuses is asked 3 times (as configured), then again only after a gesture. A `system_exit` or `abnormal_exit` event stops both the exit and its retries. No unhandled rejection in any of these. No exit while recording, transcribing, thinking, awaiting approval, disconnected with a request outstanding, or in the phone grace period. |
|
||||
| CODY-017 | `README.md` | Read the status table and the paragraph beneath it. |
|
||||
|
||||
Deliberate breakages, each run against the new tests: launch source not replayed (6 tests
|
||||
fail), a failed exit treated as final (7), a second shutdown call issued while one is in flight
|
||||
(2), a late success forgotten (1), retries unbounded (2), the exit bypassing the host-call queue
|
||||
(first run: not caught; a test was added and it is now caught, 1).
|
||||
|
||||
Simulator (0.9.5), new eighth scenario, run with the development-only `?idleExit=fast` (5 s at
|
||||
Ready) and without idle exit disabled: opened by URL with no gesture, nothing happens for 6.5 s;
|
||||
after one swipe the app logs "leaving the glasses: idle on ready", the simulator's
|
||||
`shutDownPageContainer(0)` answers true, the app logs "left the glasses", and the display is
|
||||
empty (`docs/evidence/simulator/08-after-idle-exit.png`). This shows what the simulator does. It
|
||||
is not evidence of what the Even app or the glasses do.
|
||||
|
||||
Reference in New Issue
Block a user