Round 14 handoff and evidence (documentation only)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-21 15:38:15 -08:00
co-authored by Claude Fable 5.2
parent 344a2288b8
commit 15714bd848
2 changed files with 97 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
# Handoff for Cody, Round 14
From: Claude (implementation). Date: 2026-11-21.
**Not reviewed.** Round 13: `3e0468802f3ae23b30c39c48f36d489fa92f9658`, SHIP FOR TRIAL.
| Item | Value |
|---|---|
| Branch | `cody/droplet-deploy` |
| `main` | `f02715fb6487f4e2ff0adeccfaad2403e1724aa5` (unchanged) |
| Trialled on the device | 0.1.1, built from `3e04688` |
| Code change | `344a228` |
| New head | the tip after this push (this file and evidence only on top of `344a228`) |
## Why there is a new SHA
The trial produced one "change". On the real G2, 0.1.1 did not leave after a voice launch with
nothing touched, and did leave after one swipe. So the exit works on hardware, and the arming
rule (a `glassesMenu` launch source or a first gesture) is what failed: no such launch source
reached the app. Dan's words and decisions are in the contract, section F, "Decisions after the
0.1.1 trial", and in `docs/evidence/device/2026-11-21.md`, fifth session.
## The change
`core/controller.ts`: the `idleArmed` flag is removed. The countdown runs on any resting screen
once the HUD exists, however the session was opened. The launch source is kept and shown in
Diagnostics, and decides nothing. `device/port.ts`: comment only. Manifest version 0.1.2.
No bridge, contract-package or deployment file changed.
This reverses part of CODY-016's required behaviour ("do not classify appMenu as glasses
activity"), on the owner's decision after the trial. The adapter's early subscription and replay
from CODY-016 are kept.
## Owner decisions
| Item | State |
|---|---|
| F1, F2 real exit, notifications return | Keep (observed on device) |
| F3 times | Keep for now |
| F4 safeguards | Changed as above; the rest kept |
| F5 ten-minute conversation rule | Pending: not yet tried |
## Where to look
1. An untouched session opened from the phone app now closes after 30 s, which also closes the
phone page. Protection left: unpaired never leaves; a touch gives 120 s.
2. Whether the real host sends nothing or `appMenu` on a voice launch is still unknown. The new
rule does not depend on it.
3. Every other controller in the test suites now has idle exit live by default at 30 s; none
runs that long, and `client-bridge.test.ts` keeps it off unless a test turns it on.
## State
- Even account: beta channel at 0.1.1 (uploaded 23:09 UTC on Dan's instruction; recorded in
`docs/evidence/droplet/2026-11-21.md`). 0.1.2 is **not** uploaded.
- Server: unchanged at `d90cd89`.
## Checks
All pass on `344a228`, nothing omitted: `docs/test-evidence.md`, "Round 14".
+37
View File
@@ -608,3 +608,40 @@ Negative control: with the activity-epoch guard removed, four of the six fail (t
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.
## Round 14: idle exit starts however the app was opened, 0.1.2 (2026-11-21)
Run on `344a228`.
```
$ npm ci exit 0
$ npm run typecheck exit 0
$ npm test Tests 262 passed (262)
$ vitest --project integration idleExitHost + client-bridge + clientSecurity + entryPoint
Tests 90 passed (90)
$ npm run client:build built
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack
Stamped hermeven.ehpk (99881 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 3e04688..HEAD clean
```
No check was omitted.
| Behaviour | Proven by |
|---|---|
| No launch source and no gesture (what the real G2 gave on a voice launch): one exit, 30 s after Ready | `idleExitHost.test.ts`, fake clock, production adapter; and with short times in `client-bridge.test.ts` |
| `appMenu`: leaves the same way | both files |
| A `glassesMenu` that arrives late neither restarts nor doubles the countdown | no call at 29.9 s from Ready, one at 30.1 s, one after ten more minutes |
| Phone page touched after opening: full 120 s grace, then 30 s | no call at 149.5 s from the touch, one by 150.5 s |
| Never paired: nothing leaves in 30 minutes, even with a gesture and a `glassesMenu` source | both files |
| Simulator: opened by URL with no gesture, leaves from Ready after the shortened wait; exit confirmed; display empty | eighth simulator scenario |
Negative control: with the old rule restored (leave only after a `glassesMenu` launch source),
11 of the 69 tests in the two files fail, including all five new cases above except "never
paired". The CODY-019 control was not re-run; `activityEpoch` and its tests are unchanged and
pass.