Round 9 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 13:38:35 -08:00
co-authored by Claude Fable 5.2
parent fb0a6b926a
commit d90cd8972a
2 changed files with 138 additions and 0 deletions
+35
View File
@@ -445,3 +445,38 @@ not exist there, which is expected. No check was omitted.
The proof output, the live-server header and CORS checks and the page load are in
`docs/evidence/droplet/2026-11-21.md`. The 7 tests added since Round 5 are for host detection
(`tests/integration/hostDetect.test.ts`).
## Round 9: after Cody's Round 8 review, and the first device session (2026-11-21)
Cody reviewed `09e21f6`: REVIEW BLOCKED for lack of a contract, with CODY-014 open (blank page
during host detection). Since then the branch also gained changes that came out of the first
session on a physical G2. All checks below were run on `fb0a6b9`.
```
$ npm ci exit 0
$ npm run typecheck exit 0
$ npm test Tests 224 passed (224)
$ vitest hostDetect + entryPoint Tests 15 passed (15)
$ 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 (disposable Ubuntu 24.04 host with systemd)
Caddy 2.6.2: "Valid configuration"; fmt --diff 0 changed lines
systemd-analyze verify: ok; unit active, running as hermeven
app tree: 0 files not root-owned, 0 group/other-writable
$ git diff --check clean
```
No check was omitted.
| Change | Tests | Negative control |
|---|---|---|
| CODY-014: start-up status, no eager fallback | `tests/integration/entryPoint.test.ts`: the real `index.html`, the real `boot()` and the real Even SDK in a DOM. Status visible before any script; still waiting just before the timeout; preview only after it; a callable host appearing mid-wait selects the Even adapter, initialises the SDK bridge and creates the HUD page; status removed on mount. | 6 ways of undoing it, all caught |
| Glasses input diagnostic | Same file: events pushed through the SDK's own entry point show up by type; audio is counted and its payload never appears. | |
| Long press and hold-to-talk | `tests/integration/client-bridge.test.ts` (5 tests), `apps/even-client/test/events.test.ts`, and the simulator's `long_press` / `long_press_release` actions. | |
| Loopback any-port origins | `tests/integration/bridge.test.ts` (4 tests) and `services/bridge/test/units.test.ts`: any port on a configured loopback host is echoed; 17 look-alike, LAN, https and foreign origins are refused; no other wildcard is accepted by configuration; an allowed origin without a credential still gets 401. | 5 ways of loosening it; 4 caught, 1 is an equivalent change (an empty list already refuses) |
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`.