91 lines
4.7 KiB
Markdown
91 lines
4.7 KiB
Markdown
# Handoff for Cody, Round 21
|
|
|
|
From: Claude (implementation). Date: 2026-11-29 (UTC).
|
|
|
|
**Not reviewed.** Round 20: `e4c102a5391464cec6f540f5a41f5557a3f61e0b`, SHIP / SHIP FOR TRIAL.
|
|
That commit **was** deployed and uploaded as 0.4.0 on 2026-11-28 (Dan: "deploy"); record in
|
|
`docs/evidence/device/2026-11-28.md`, second half.
|
|
|
|
| Item | Value |
|
|
|---|---|
|
|
| Branch | `cody/droplet-deploy` |
|
|
| `main` | `f02715fb6487f4e2ff0adeccfaad2403e1724aa5` (unchanged) |
|
|
| Code change | `b57505406b2dce9104c2fdd8c46f0f0dc2c36e64` |
|
|
| New head | the tip after this push (this file and evidence only on top of the code change) |
|
|
|
|
Dan, 2026-11-29, on being shown the plan below: "sure, send to cody - then we'll move through
|
|
testing and the short list."
|
|
|
|
## 1. What came back from the 0.4.0 trial
|
|
|
|
Quoted in full, with the bridge log beside it, in the evidence file. In short:
|
|
|
|
- Hands free works on 0.4.0 (six matched names in ten minutes) but was "incredibliy slow" with
|
|
background music; Dan attributes it to the music. The waits were not measured by anything.
|
|
- "Heard: ..." was seen. **Live words were not seen on the device, including (Dan's last report)
|
|
in Agents. Cause unknown.** I could not reproduce it with fakes, and the deployed bridge logs
|
|
nothing about previews.
|
|
- **Round 20's contract was my misreading.** Dan wanted live words when talking to an agent in
|
|
hands free and nowhere else; I built Agents only. Recorded in 0005. **Not changed in this
|
|
round**, so your Round 20 constraint "Do not allow hands-free recordings to invoke live
|
|
previews" still holds for this SHA; it will need restating when that change comes.
|
|
- Two tapped questions took 39.9 s and 24.0 s of agent time. Not investigated.
|
|
|
|
## 2. Timing logs (bridge)
|
|
|
|
`wake.checked` on every name check: `device_id`, `audio_ms`, `check_ms`, `matched`,
|
|
`near_miss` (a boolean, not the word). `preview.done` on every preview: `device_id`,
|
|
`audio_ms`, `preview_ms`, `empty`. No text. A failed name check still logs only
|
|
`wake.transcription_failed`. Purpose: tell a clip the glasses held too long from a slow check,
|
|
see whether the glasses request previews at all, and measure the delay you declined to accept a
|
|
bound for.
|
|
|
|
To judge: this is new metadata. With it the log shows when, and for how long, someone spoke near
|
|
the glasses in hands free, for speech that was not addressed to an agent. Stated in security 3c.
|
|
|
|
## 3. Sound check (client), for issue #1
|
|
|
|
Dan: "Pivot time - I'd like to get the voice thing going for the ability to get spoken replies
|
|
back in my galaxy pro ear buds when they're connected. Part of the scope in
|
|
https://git.xylo.gg/Xylo-Digital/hermeven/issues/1"
|
|
|
|
Issue #1's gate says it "does not start implementation". What is here is a probe, not the
|
|
feature: `apps/even-client/src/ui/soundCheck.ts`, a collapsed section on the phone page. My
|
|
proposal to Dan, which he has not been asked to confirm beyond the quote above, is to try the
|
|
existing page before a native companion: if the Even app's WebView may play sound, Android routes
|
|
it to the selected output by itself. The SDK (0.0.16) has no sound output call; it does report
|
|
`isWearing` for the glasses. The probe answers what cannot be known from here: sound at all;
|
|
sound with no touch on the phone; sound 20 s later with the phone locked; which outputs the page
|
|
can see; whether the phone's own voice is available.
|
|
|
|
To judge:
|
|
- It creates an `AudioContext` and calls `resume()` when the page opens, silently, to read
|
|
whether sound is allowed without a gesture. Nothing is played without a button press.
|
|
- It calls `enumerateDevices()` at open and on `devicechange`. Output labels (which may be a
|
|
device name such as the earbuds') are shown on the page only: not logged, not noted in
|
|
Diagnostics, not sent.
|
|
- No microphone use, no bridge call, no storage.
|
|
- **No automated test covers it**, and it has not run in a browser by my hand: typecheck and
|
|
build only. The nine simulator scenarios pass with it mounted, which shows it does not break
|
|
the page there and nothing more.
|
|
- No ElevenLabs key, voice or call exists anywhere in this change.
|
|
|
|
## 4. Other
|
|
|
|
- Client version 0.4.1 (an upload needs a new number).
|
|
- One new integration test file section: hands free after an Agents recording with menu, wake
|
|
and preview all enabled, and straight into hands free. Written to chase Dan's first report;
|
|
they pass, so they reproduce nothing.
|
|
- Read-only inspection of the production host beyond `journalctl`: two short `tcpdump` runs on
|
|
the loopback port, described at the end of the evidence file. Disclosed because your
|
|
constraints name production hosts; nothing was modified.
|
|
|
|
## State
|
|
|
|
Server: bridge `e4c102a`. Even account: 0.4.0 on beta. Nothing in this round is deployed,
|
|
uploaded or installed.
|
|
|
|
## Checks
|
|
|
|
`docs/test-evidence.md`, "Round 21".
|