Round 20 handoff and evidence (documentation only)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-28 12:07:12 -08:00
co-authored by Claude Fable 5.2
parent 2a63b7796a
commit e4c102a539
2 changed files with 109 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
# Handoff for Cody, Round 20
From: Claude (implementation). Date: 2026-11-28 (UTC).
**Not reviewed.** Round 19: `31ae4efb136abfe0dc7cfc564bbb30389fce8956`, SHIP / SHIP FOR TRIAL,
with CODY-023 non-blocking. `31ae4ef` was **not** deployed or uploaded: Dan changed the contract
before a rollout (below), and chose "one more review round".
| Item | Value |
|---|---|
| Branch | `cody/droplet-deploy` |
| `main` | `f02715fb6487f4e2ff0adeccfaad2403e1724aa5` (unchanged) |
| Code change | `2a63b7796a41280a27491039fcaa95e49ada5630` |
| New head | the tip after this push (this file and evidence only on top of the code change) |
## 1. Contract change: the live preview is for Agents only
Dan, 2026-11-28, on being told what a paid recogniser would and would not offload:
> "I'd only invoke the live transciption when in agent sub-app. The main menu listener I would
> not want it shipped like you imply."
and, of the resulting split (preview in Agents only; hands-free audio never to a paid service):
"Right on all points. agreed. we're aligned. one more review round."
This narrows Round 19's first acceptance criterion: previews during tap and hold recordings **in
Agents**; none in hands free, whether the recording was started by a name or by a tap.
The change is one guard in `Controller.maybePreview` (`state.mode !== 'agents'` returns). The
hands-free test that asserted a preview now asserts the opposite: a name-started and a tapped
recording in hands free make zero `/v1/transcribe` requests, show the ordinary instructions, and
still reach the agent with the turn's own transcript. Nothing else in the client or bridge
changed. No paid service is used, configured or designed.
Note for the reducer's two entry modes: without the `menu` option and with `wake`, the mode is
`handsfree` from the start, so in that configuration there is no preview at all. The shipped
configuration has the menu.
## 2. CODY-023
Confirmed. The README status table now has a first row, "What is where today", with one SHA or
version per surface: server `44ea114`; Even beta channel 0.3.0 built from it; this repository's
client 0.4.0, a candidate. The droplet row names `44ea114` and its evidence file. The simulator
row says nine scenarios, which eight run with the new features off, what the ninth covers, that
live preview is not exercised there, and that the runs are the implementer's. The 0.3.0 and
0.4.0 rows each state their evidence level separately for fakes, simulator and device.
## 3. Simulator flake: one cause found, one not
Five runs before any change: four passed, one failed two scenarios. The failure was in "the
answer is drawn": the screenshot taken a fixed 800 ms after the answer arrived had 790 lit pixels
in the body, not over 2000, and the page-turn scenario then compared against that unfinished
picture. The app had dispatched the answer; the simulator had not finished drawing it. From
0.4.0 a spoken question draws one more frame before the answer ("Heard: ..."), so there is more
queued in front of it than when the 800 ms was chosen. Those two scenarios now poll screenshots
until the expected change appears (8 s limit). Six consecutive runs then passed all nine.
The Round 19 failure (idle exit never logging "leaving the glasses: idle on ready" within 15 s)
did **not** recur in eleven runs and is still unexplained. It is not the same failure.
## State
Server: bridge `44ea114`. Even account: 0.3.0 on beta. Unchanged. Nothing deployed, uploaded or
installed for Rounds 19 or 20.
## Checks
`docs/test-evidence.md`, "Round 20".
+41
View File
@@ -817,3 +817,44 @@ New tests, all in `tests/integration/wake.test.ts` (fakes: a tone, a scripted re
| Stale preview | one that returns after a cancel, during the next recording, is not drawn | | Stale preview | one that returns after a cancel, during the next recording, is not drawn |
| Fallbacks | without speech-to-text nothing is requested and recording works; a typed question never shows "Heard:" | | Fallbacks | without speech-to-text nothing is requested and recording works; a typed question never shows "Heard:" |
| Hands free | the question after a name alone shows its words and reaches the named agent | | Hands free | the question after a name alone shows its words and reaches the named agent |
## Round 20 (2026-11-28): preview for Agents only, CODY-023, on `2a63b7796a41280a27491039fcaa95e49ada5630`
```
$ npm run typecheck clean
$ npm test Test Files 18 passed (18); Tests 349 passed (349)
$ npx vitest run (the Round 18 list) Tests 66 passed (66)
$ npm run client:build built (as part of pack)
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack (twice)
hermeven.ehpk 105155 bytes, SHA-256
311078550ed1a176b9a1530cced0c81a322b40e83ecdc9b21402fb08b1ebe58d both times; not uploaded
$ npm run test:real-stt Tests 11 passed (11)
$ npm run test:real-hermes Tests 9 passed (9)
$ npm run test:simulator 11 runs, see below
$ bash -n deploy/install.sh tests/deploy/runbook-proof.sh ok
$ git diff --check origin/main...HEAD ; git diff --check 31ae4ef HEAD clean (on the committed SHA)
```
Simulator runs, in order. Runs 1 to 5 were on the tree with the Agents-only guard and the README
change but before the screenshot-polling change; runs 6 to 11 after it (the committed tree).
| Run | Result |
|---|---|
| 1, 2 | 9 passed |
| 3 | 2 failed, 7 passed: "the answer is drawn" (`expected 790 to be greater than 2000` lit pixels, 800 ms after the answer) and, following from it, the page-turn comparison |
| 4, 5 | 9 passed |
| 6 to 11 | 9 passed, six times |
real-stt, real-hermes, `npm test` and the first five simulator runs were made before the
screenshot-polling change to `tests/simulator/simulator.test.ts`, which touches no other file;
`npm test`, typecheck and the two packs were repeated after it. `npm ci` was not re-run.
**Not run:** `caddy validate` (not installed here), `systemd-analyze verify` and
`tests/deploy/runbook-proof.sh` (no file under `deploy/` changed since Round 18). No negative
control was run for the Agents-only guard beyond the test having asserted the opposite, and
passed, on the previous commit.
Negative coverage kept from Round 19, all still in `tests/integration/wake.test.ts`: stale
preview completion; final transcript differing from the previews; old-bridge and no-STT
fallback; per-device busy and rate limits for both routes; no transcript in any log line;
exactly one turn and one execution. Added: zero preview requests in hands free.