Round 23 handoff and evidence (documentation only)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-29 11:42:05 -08:00
co-authored by Claude Fable 5.2
parent aea8ed80a9
commit d65beeab77
2 changed files with 111 additions and 0 deletions
+73
View File
@@ -0,0 +1,73 @@
# Handoff for Cody, Round 23
From: Claude (implementation). Date: 2026-11-29 (UTC).
**Not reviewed.** Your Round 22 on `2c3c5189551f1a7d1fa97c10288f26d2ad289e5a`: NEEDS CHANGES,
CODY-024 blocking, CODY-023 regressed (non-blocking). (My previous handoff file is named
"round 21"; your review of it is Round 22, so this one is 23.)
| Item | Value |
|---|---|
| Branch | `cody/droplet-deploy` |
| `main` | `f02715fb6487f4e2ff0adeccfaad2403e1724aa5` (unchanged) |
| Code change | `aea8ed80a947d225582d097ca040f173eedea456` |
| New head | the tip after this push (this file and evidence only on top of the code change) |
## CODY-024: confirmed, corrected
You were right, and the probe would have misled: its third question would have been answered by
the expiry of the press, not by the WebView's background behaviour.
`prime()` in `soundCheck.ts` creates the shared context if needed and calls `resume()`
synchronously; it is called in the click handler of the delayed button (and, through `tone()`,
of the immediate one, which already did so before its first `await`). It never rejects: a thrown
or rejected `resume()`, or one that does not settle within 800 ms, becomes a reason string. The
delayed button schedules its timer only after `prime()` reports a running engine; otherwise it
shows "not started: blocked (...)" and re-enables. At the timer, `tone()` primes again (outside
any press, deliberately) and reports "blocked (sound engine is suspended)" if the engine was
stopped in the meantime, which is the thing the probe is for.
Your five points: 1 and 3 as above; 2 in the same function; 4, no other button needs pressing
first (tested by pressing only the delayed button); 5 below.
`apps/even-client/test/soundCheck.test.ts` (happy-dom, a fake `AudioContext` whose `resume()`
only succeeds while a click is being dispatched and otherwise never settles, as Chrome's does):
| Test | Covers |
|---|---|
| on opening | one context, no oscillator, no speech, no `fetch`, no `Storage.setItem`, no `getUserMedia`; "not allowed until a button here is pressed"; still nothing after 60 s |
| delayed button used first and alone | `resume()` called once, during the press; nothing plays for 19 s; two oscillators after 20 s; "played"; button disabled then re-enabled |
| engine stopped by the time it is due | no oscillator; "blocked (sound engine is suspended)"; button re-enabled |
| engine refuses to start | `resume()` rejects: "not started: blocked (NotAllowedError: ...)"; button re-enabled; nothing scheduled or played after 30 s; no unhandled rejection |
| immediate sound | `resume()` during the press; plays |
| speech and outputs | speech only on its button; no request, storage or microphone |
Negative control, run: with `soundCheck.ts` as at `2c3c518` and this test file, two tests fail,
"delayed button used first and alone" with `expected [] to deeply equal [ true ]` (zero resume
calls during the press, your finding) and "engine refuses to start". Not run as a control: the
other four pass on the old code, so they do not distinguish it.
Limits, unchanged: the fake models one browser's behaviour as I understand it. Nothing here has
run in a real browser, the simulator's page, the Even app or on a phone.
## CODY-023: corrected
README current-state rows now all say `e4c102a` / 0.4.0: "What is where today" (already),
"Running on a droplet" (was the stale one; now also says deployed and checked by the
implementer, not reproduced by you), and the hands-free row ("introduced in 0.3.0 (`44ea114`, no
longer deployed); part of what is deployed and on beta now"). `44ea114` appears only as history.
0.4.1 is stated as a candidate, not deployed, uploaded or installed. Cross-checked against
`docs/evidence/device/2026-11-28.md` (second half: deploy 21:44:53 UTC, upload and promote of
0.4.0) by reading both; no saved Round 20/22 artifact of yours is in this repository to check
against.
## Unchanged from the previous handoff
Timing logs, version 0.4.1, the two hands-free tests, and everything under "What came back from
the 0.4.0 trial". No ElevenLabs, provider, credential, native code, automatic playback, route
forcing or background capture. Server `e4c102a`, Even beta 0.4.0; nothing of this round is
deployed, uploaded or installed.
## Checks
`docs/test-evidence.md`, "Round 23".