Sound check on the phone page (probe for issue #1); timing logs for name checks and previews; 0.4.1
- apps/even-client: a collapsed "Sound check" on the phone page. Finds out whether the page may play sound in the Even app, without a touch, in the background, and which outputs it can see. Plays only on a button press; sends nothing to the bridge. - services/bridge: wake.checked (every name check) and preview.done log the clip length and the duration, never the words. - tests: hands free after a recording in Agents with menu, wake and preview all on; the log lines carry only the fields above. - docs: 0.4.0 rollout and Dan's device report; security 3c, 3e, 3f; 0005 records that the Round 20 reading of "agent sub-app" was wrong (not changed here). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -52,3 +52,18 @@ sub-app only ("I'd only invoke the live transcription when in agent sub-app"). T
|
||||
ruled out sending the hands-free listener's audio to a paid service. So if a paid recogniser is
|
||||
adopted it serves the Agents preview (and possibly the final transcript there); hands free stays
|
||||
on the bridge's own Whisper.
|
||||
|
||||
## 2026-11-28, after 0.4.0 reached the glasses: the Round 20 reading was wrong
|
||||
|
||||
Dan, asked whether recordings he starts in hands free should also show live words:
|
||||
|
||||
> "That's honestly the only exact way it was supposed to work... LOL. That was literally the
|
||||
> only time i wanted to see live words."
|
||||
|
||||
So "agent sub-app" meant talking to an agent in hands free, and "the main menu listener" meant
|
||||
the background listening for a name. 0.4.0 does the reverse of what he wanted: previews in the
|
||||
Agents entry, none in hands free. **Not changed yet**: Dan also reported that live words did not
|
||||
appear in Agents on the device, and that has to be understood first, since the same code would
|
||||
be used. Open design point: "Wendy, what is on my calendar" in one breath is a single utterance
|
||||
checked for a name only when it ends, so there is no recording in progress to preview; showing
|
||||
words there means checking the speech so far for a name while it is being said.
|
||||
|
||||
@@ -37,3 +37,65 @@ Not reported: which agents, how many attempts or misses, any near miss in Diagno
|
||||
itself, the name-alone flow, the delay, false triggers, noise, battery, the locked phone,
|
||||
notifications while open, or Agents mode. Section D of `docs/device-test-plan.md` has not been
|
||||
run as a checklist.
|
||||
|
||||
# 0.4.0 on the server and the glasses, 2026-11-28 (later the same day)
|
||||
|
||||
Same rule: server facts are the implementer's own commands and the bridge's log; what happened
|
||||
on the glasses is Dan's report, quoted. Nothing on the device was seen by the implementer.
|
||||
|
||||
## Deployment and upload
|
||||
|
||||
Cody, Round 20: SHIP / SHIP FOR TRIAL on `e4c102a5391464cec6f540f5a41f5557a3f61e0b`. Told that a
|
||||
"go" would deploy the bridge and then build, upload and promote 0.4.0, Dan: "deploy". The
|
||||
implementer took that as covering both steps and said so in the report afterwards; Dan did not
|
||||
object.
|
||||
|
||||
| Step | Result |
|
||||
|---|---|
|
||||
| `git archive e4c102a` to `/root/hermeven-src`, `deploy/install.sh --bridge-url https://hermeven.xylo.gg` | Completed. `DEPLOYED_SHA` is `e4c102a5391464cec6f540f5a41f5557a3f61e0b` (was `44ea114`). |
|
||||
| `systemctl restart hermeven-bridge`, 21:44:53 UTC | active; `stt.ready` in 2.1 s; healthz ok at `https://hermeven.xylo.gg`. Hermes was not restarted. `/etc/hermeven/bridge.env` was not changed. |
|
||||
| Smoke test with a temporary device (`smoke-0.4.0`, revoked afterwards; 401 after revocation) | `POST /v1/transcribe` with the repository's 11 s archive speech clip: 200, the correct sentence, 2.16 s. Without a credential: 401. `POST /v1/wake` with the same clip: 200, `matched: false`. No word of the transcript in the bridge log. A first attempt failed in the implementer's own script (it could not parse the pairing code, which it then printed; that code was never claimed and was voided by the next one). |
|
||||
| Package | `hermeven.ehpk`, 105,155 bytes, SHA-256 `311078550ed1a176b9a1530cced0c81a322b40e83ecdc9b21402fb08b1ebe58d`, built twice from `e4c102a` with a clean tree; the hash recorded in Round 20. |
|
||||
| Even account | `evenhub upload` 0.4.0, `evenhub promote 0.4.0 --to beta`. `evenhub ls`: 0.4.0 Private, beta; 0.3.0 no longer on a channel. |
|
||||
|
||||
## What Dan reported, in order, and what the bridge log shows
|
||||
|
||||
1. "Looks like we broken the listener in hands-free mode. when i say "pepper" or "wendy" or
|
||||
anything, nothing happens." Then: "responses are much slower now too when I use the ring touch
|
||||
to record and send a message." Then: "it works when i'm in the agent session, but at the
|
||||
start, it didn't seem to." Then: "it was the hands-free ready screen - Where it says ,
|
||||
"Listing. Say a name... etc..." Oh, it's incredibliy slow now is all..." Asked whether there
|
||||
was more background sound than in the afternoon: "yeah, could very well be the background
|
||||
music playing... Yeah, that was it."
|
||||
2. "So, whisper isn't putting live text up really at all., I just randomly talked for 10
|
||||
secdonds, and it flashes "heard" with the text after, but nothing live." Told that live words
|
||||
are for Agents only and how to reach them: "live words don't work as you suggested." And, on
|
||||
whether recordings in hands free should show live words: "That's honestly the only exact way it
|
||||
was supposed to work... LOL. That was literally the only time i wanted to see live words."
|
||||
|
||||
Bridge log, 21:48 to 22:02 UTC (states and timings only; the deployed bridge does not log name
|
||||
checks that do not match, or previews):
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| Name checks that matched | 21:50:32, 21:52:20, 21:53:46, 21:56:41, 21:58:38 (Pepper), 21:55:50 (Cody). Each was answered 1.9 to 3.0 s after the match. |
|
||||
| Recorded (tapped) questions | Seven. Transcription 0.9 to 2.3 s. Agent time 1.9 to 8.4 s, except the first two, 39.9 s and 24.0 s. |
|
||||
| Warnings or errors | None. |
|
||||
|
||||
| Establishes | |
|
||||
|---|---|
|
||||
| Hands free still works on 0.4.0 | Yes: six matches. |
|
||||
| Background music delays the name listener | Dan's report and his own explanation. Consistent with the design (an utterance ends on 0.7 s below the level learned while nobody speaks, or at 30 s). **How long the waits were is not known**: nothing recorded it. |
|
||||
| "Heard: ..." for a tapped recording | Seen by Dan. |
|
||||
| Live words on the device | **Not seen**, in hands free (by design in 0.4.0) or, by Dan's last report, in Agents. **Cause unknown.** Whether the glasses requested any preview is not known: the implementer watched the bridge's loopback port for four minutes (22:02:30 to 22:06:55 UTC; request line and status only) but Dan made no recording in that time. |
|
||||
| What Dan meant by "agent sub-app" in Round 20 | Talking to an agent in hands free, not the Agents menu entry. Round 20 implemented the opposite reading. Not changed in this round. |
|
||||
|
||||
Not established: the cause of the two slow answers (agent time, so not transcription; not
|
||||
investigated), and anything in section D or D9/D10 of the device plan as a checklist.
|
||||
|
||||
Read-only inspection of the server made by the implementer for this, beyond `journalctl`:
|
||||
`tcpdump -i lo -s 96` on port 8787, filtered to packets starting `POST` or `HTTP`, piped to a
|
||||
filter that printed only the time, `POST /v1/<path>` and the status code; once for 240 s and once
|
||||
for 8 s (to prove it worked, with the implementer's own unauthenticated request, which showed
|
||||
`POST /v1/transcribe` then `401`). Nothing was written to disk on the server; 96 bytes per packet
|
||||
do not reach the headers.
|
||||
|
||||
@@ -76,6 +76,9 @@ Stated so they are not mistaken for protections.
|
||||
transcription call and is not logged. That is a promise about this code, not a technical
|
||||
barrier: whoever controls the bridge host could record it. People near the wearer are not
|
||||
told. The HUD marks the open microphone with `●`; nothing outside the lenses does.
|
||||
From 0.4.1 the bridge logs, for every check, the clip's length, how long the check took and
|
||||
whether it matched or nearly matched (`wake.checked`); never the words. So the log shows
|
||||
when and for how long someone spoke near the glasses in hands-free mode.
|
||||
3d. **In hands-free mode an agent can be started without a button.** Speech that begins with an agent's name is sent
|
||||
to that agent with whatever tools its Hermes profile allows, with no confirmation. A name is
|
||||
matched exactly and only as the first word, and what was heard is shown while the agent
|
||||
@@ -85,6 +88,12 @@ Stated so they are not mistaken for protections.
|
||||
so far, about twice a second) so its words can be shown. This is audio the user chose to
|
||||
record, going where the finished recording goes anyway; the text is returned to the app and
|
||||
not logged. A cancelled recording has therefore already reached the bridge, in memory only.
|
||||
From 0.4.1 each preview's length and duration are logged (`preview.done`), not its words.
|
||||
3f. **The phone page has a "Sound check" (0.4.1)**, a probe for spoken answers. It creates a
|
||||
Web Audio context when the page opens (silently, to see whether sound is allowed without a
|
||||
touch) and asks the browser which media devices exist; output names, if the browser gives
|
||||
them, are shown on the page only. It plays a tone or the phone's own voice only when a button
|
||||
on the page is pressed. It sends nothing to the bridge and records nothing.
|
||||
4. **In the simulator, raw audio frames are echoed to the WebView console.** Whether the phone
|
||||
does the same is unknown and is on the device checklist. If it does, recordings would be
|
||||
visible to whoever can read that console.
|
||||
|
||||
Reference in New Issue
Block a user