Round 13 handoff and evidence (documentation only)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -565,3 +565,46 @@ after one swipe the app logs "leaving the glasses: idle on ready", the simulator
|
||||
`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.
|
||||
|
||||
## Round 13: CODY-019 (2026-11-21)
|
||||
|
||||
Run on `d8582e9`.
|
||||
|
||||
```
|
||||
$ npm ci exit 0
|
||||
$ npm run typecheck exit 0
|
||||
$ npm test Tests 257 passed (257)
|
||||
$ vitest --project integration idleExitHost + client-bridge + clientSecurity + entryPoint
|
||||
Tests 85 passed (85)
|
||||
$ npm run client:build built
|
||||
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack
|
||||
Stamped hermeven.ehpk (99934 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"; systemd-analyze verify ok)
|
||||
$ git diff --check f02715f...HEAD ; git diff --check 3d0edeb..HEAD clean
|
||||
```
|
||||
|
||||
No check was omitted.
|
||||
|
||||
Six new tests in `tests/integration/idleExitHost.test.ts` ("activity during a pending exit
|
||||
keeps its full countdown"), production adapter, default times, fake clock. In each, the first
|
||||
exit call (30 s after Ready) is held by the stand-in host, then:
|
||||
|
||||
| Activity while held | Host then | Proven |
|
||||
|---|---|---|
|
||||
| swipe at Ready (generation asserted unchanged) | answers false | no call for 29.8 s after the swipe; then one call, which succeeds; left once |
|
||||
| swipe at Ready | call rejects | same |
|
||||
| swipe at Ready | never answers in time | no "will try again" is logged; after the full countdown the retry waits on the same call; late success: one host call ever, left once |
|
||||
| touch on the phone page | answers false | no call for 149.5 s (120 s grace plus 30 s); one call by 150.5 s; left once |
|
||||
| swipe at Ready | refuses every time | four further attempts, then "staying until the next activity", no more |
|
||||
| none (control) | answers false | retried after 3 s |
|
||||
|
||||
Calls in flight never exceed one in any of them, and no unhandled rejection is raised.
|
||||
|
||||
Negative control: with the activity-epoch guard removed, four of the six fail (the three swipe
|
||||
cases and the bounded case). The phone-activity case does **not** fail without the guard: the
|
||||
timer callback's own phone-grace check already protected it. It is kept as a regression test,
|
||||
not claimed as a control.
|
||||
|
||||
Reference in New Issue
Block a user