Record exact-build device evidence and the bridge update (documentation only)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -16,13 +16,13 @@ small bridge between the two.
|
||||
| Client in Even's official simulator | Passing (7 scenarios). Simulator only. |
|
||||
| Bridge against a real Hermes gateway | Passing (9 scenarios) with a **stub model**. |
|
||||
| Built-in speech-to-text (Whisper, in the bridge) | Passing (11 scenarios) on a real speech recording, including with no network. Not yet on audio from the glasses. |
|
||||
| Running on a droplet | Commit `f02715fb6487f4e2ff0adeccfaad2403e1724aa5` was deployed on 2026-11-21 and received only the bounded server-side checks in `docs/evidence/droplet/2026-11-21.md` (service start, file modes, transcription timing, two typed questions answered by a real model, HTTPS from outside). Later commits are **not deployed**, with one stated exception: the static phone page on that server was rebuilt from later, unreviewed client commits (see the evidence file). |
|
||||
| Running on a droplet | Since 2026-11-21 21:50 UTC the server runs commit `d90cd8972af0ed26a1c4c25a6acdbda775fcf8a7` (bridge and static page). That commit was reviewed by Cody without code findings but does not hold a SHIP; `f02715f` does. Checks performed are in `docs/evidence/droplet/2026-11-21.md`. |
|
||||
| Phone page in an ordinary phone browser | Paired and answered one typed question (Chrome on Android, reported by Dan). This is **not** the Even app: a browser cannot reach the glasses. |
|
||||
| Phone page inside the Even app, physical G2 | First runs on 2026-11-21, QR-sideloaded, phone unlocked: paired, four spoken questions answered on the glasses. See `docs/evidence/device/2026-11-21.md` for exactly which builds and what was and was not observed. |
|
||||
| Installed as an Even Hub private build ("Pepper", `xylo.hermeven`) | Installs and opens; **cannot reach the bridge yet**: it is served from `http://127.0.0.1:<port>` with a new port each launch, which needs the loopback any-port setting that is in this branch but not deployed. |
|
||||
| Ring, paging, contextual menu, hold-to-talk on the device | **Not run.** |
|
||||
| Installed as an Even Hub private build ("Pepper", `xylo.hermeven` 0.1.0) | Runs from the Even app with no QR code: paired, and four spoken questions answered on the glasses, including hold-to-talk and one that had the agent send a Telegram message (Dan's report plus the bridge log, 2026-11-21). Needs `HERMEVEN_ALLOWED_ORIGINS=http://127.0.0.1:*` on the bridge. |
|
||||
| Ring, paging, contextual menu, cancel on the device | **Not run.** |
|
||||
| Locked-phone and background capture | **Not run.** |
|
||||
| Real tools and approval flow | **Not run.** The two real-model questions used no tools. |
|
||||
| Real tools and approval flow | One tool use seen (a Telegram message, reported by Dan). The approval path has **not** been exercised against a real agent. |
|
||||
| Sustained load, backups, monitoring, upgrades on the server | **Not verified.** |
|
||||
| Clean-host install (`deploy/install.sh`) | Proven on a disposable Ubuntu 24.04 container with systemd (`tests/deploy/runbook-proof.sh`), not on a second real server. |
|
||||
|
||||
@@ -75,7 +75,7 @@ Cancelling stops the agent as soon as Hermes can; it does not undo anything the
|
||||
If the agent needs an approval, the display says so and you approve it where you normally manage
|
||||
the agent. Hermeven never approves anything for you.
|
||||
|
||||
Tap, quick tap and the long-press events have been seen on a real G2 (2026-11-21). Hold-to-talk itself, paging, the menu and the ring have not.
|
||||
Tap, hold-to-talk and a quickly released press have been used on a real G2 (2026-11-21, Dan's report). Paging, the menu, cancel and the ring have not.
|
||||
|
||||
## Tests
|
||||
|
||||
|
||||
@@ -102,3 +102,63 @@ Hold-to-talk on the device (the build that implements it, `9cb34b3` and later, w
|
||||
page at 21:18 UTC and is inside the private build, but Dan did not report using it), paging, the
|
||||
contextual menu, cancel, locked phone, voice launch through Even's assistant, and whether phone
|
||||
notifications reach the lenses while the app is open.
|
||||
|
||||
## Third session, 21:52 to 21:56 UTC: the installed app, on the build Cody reviewed
|
||||
|
||||
### Exactly what was running
|
||||
|
||||
| Piece | Identity |
|
||||
|---|---|
|
||||
| Commit under review | `d90cd8972af0ed26a1c4c25a6acdbda775fcf8a7` |
|
||||
| Bridge on the server | That commit, installed 21:50 UTC with `deploy/install.sh` (`/opt/hermeven/app/DEPLOYED_SHA`), on Dan's go-ahead ("yes, go ahead") |
|
||||
| Client on the phone | Private build "Pepper", `xylo.hermeven` 0.1.0: package `hermeven.ehpk`, 98,716 bytes, SHA-256 `dadb9d1160b81d2f307344d86bb36f78fd805da764bfe5b822dccfa429d6c285`, uploaded 21:22 UTC |
|
||||
| Is that package the reviewed client? | It was packed at `fd99255`. No file under `apps/even-client` or `packages/` differs between `fd99255` and `d90cd89` (`git diff --stat` is empty), and a fresh build of `d90cd89` produces the same script, `assets/index-DMY0MM6P.js`, SHA-256 `1eb2c95824b5f24b8dd0ce8b8eafde33d49d680f0a3abb0ec1235cc2badc5145`. So the client code is the reviewed code; the package file itself was produced one commit of documentation earlier. |
|
||||
| Server setting | `HERMEVEN_ALLOWED_ORIGINS=http://127.0.0.1:*` |
|
||||
| How it was opened | From the Even app's installed apps, not by QR. Phone unlocked. |
|
||||
|
||||
### What Dan reported (one message, about 21:57 UTC)
|
||||
|
||||
> "1 - We need to chill out with the runtime/hud checks. They are annoying to transpose. 0.0.16
|
||||
> and created / 2 - Works. / 3 - Yes, works."
|
||||
|
||||
in answer to these three requests:
|
||||
|
||||
1. Read the Runtime and HUD page lines from Diagnostics.
|
||||
2. Hold a temple, ask a short question while holding, release.
|
||||
3. Press and let go almost at once (it should stay recording), ask a short question, then tap once to send.
|
||||
|
||||
| Check | Dan's report | Establishes |
|
||||
|---|---|---|
|
||||
| 1 | "0.0.16 and created" | Inside the Even app the installed build reports the Even app host with SDK 0.0.16, and the HUD page was created. He did not read out the "found after N ms" figure. |
|
||||
| 2 | "Works." | Hold, speak, release: the question was sent on release and answered. |
|
||||
| 3 | "Yes, works." | A quickly released press left the recording running, and a following tap sent it. |
|
||||
|
||||
He also reported: "I asked pepper to say hello in telegram, and she did." That is the first turn
|
||||
through Hermeven in which the agent used a tool with an effect outside the conversation.
|
||||
|
||||
### What the server recorded
|
||||
|
||||
| Time (UTC) | Event | Transcription | Agent | Total |
|
||||
|---|---|---|---|---|
|
||||
| 21:52:01 | device paired (from an origin of the form `http://127.0.0.1:<port>`; pairing needs the allowed-origin rule) | | | |
|
||||
| 21:53:25 | conversation created | | | |
|
||||
| 21:53:25 to 21:53:29 | audio turn `ad1717fa`, succeeded | 1.2 s | 2.7 s | 3.9 s |
|
||||
| 21:53:41 to 21:54:02 | audio turn `75b23fce`, succeeded | 1.1 s | 19.8 s | 21.0 s |
|
||||
| 21:54:25 to 21:54:28 | audio turn `887da3c4`, succeeded | 1.2 s | 2.1 s | 3.3 s |
|
||||
| 21:55:27 to 21:56:12 | audio turn `8721c17a`, succeeded | 1.1 s | 43.5 s | 44.7 s |
|
||||
|
||||
Four recordings, four turns, four answers: no recording produced two turns and none was lost.
|
||||
Each has its own request id and exactly one `turn.accepted` and one `turn.done`.
|
||||
|
||||
### Limits of this evidence
|
||||
|
||||
- The server cannot tell a hold from a tap: both arrive as one audio upload. That checks 2 and 3
|
||||
were a hold-and-release and a quick-press-then-tap is Dan's statement. Which of the four turns
|
||||
was which was not recorded.
|
||||
- "Exactly one question sent" for the hold is supported by the count above (no extra turn appears
|
||||
anywhere in the session), not by a per-gesture trace.
|
||||
- The 19.8 s and 43.5 s turns are presumably the ones where the agent did more work (one of them
|
||||
the Telegram message); the log does not say which.
|
||||
- Still not tried: locked phone, relaunching and finding the pairing still present, paging, the
|
||||
contextual menu, cancel, the ring, voice launch, notifications over the app, the glasses' own
|
||||
app menu.
|
||||
|
||||
@@ -214,3 +214,24 @@ Outside the server: at 21:22 UTC the package `hermeven.ehpk` (app "Pepper", `xyl
|
||||
beta and not submitted for review.
|
||||
|
||||
**Not deployed:** `bc00ae9` (loopback any-port origins). Dan chose review first: "send to cody".
|
||||
|
||||
## 21:50 UTC: the bridge was updated to the commit under review
|
||||
|
||||
On Dan's go-ahead ("yes, go ahead", after being told the change had been reviewed without
|
||||
findings but not given a SHIP):
|
||||
|
||||
| Step | Result |
|
||||
|---|---|
|
||||
| `git archive d90cd89` to `/root/hermeven-src`, then `deploy/install.sh --bridge-url https://hermeven.xylo.gg` | All seven steps completed. `DEPLOYED_SHA` is `d90cd8972af0ed26a1c4c25a6acdbda775fcf8a7`. |
|
||||
| Application tree | `root:root`, 0 files not root-owned, 0 group/other-writable |
|
||||
| Untouched by the script | `/etc/hermeven/bridge.env` (hermeven, 600), `/var/lib/hermeven` (hermeven, 700), `/opt/hermeven/models` (root); `verify-model`: 7 files verified |
|
||||
| Static page after the script rebuilt it | Same three SHA-256 values as before and as a local build of `d90cd89` |
|
||||
| `HERMEVEN_ALLOWED_ORIGINS` | `http://127.0.0.1:*` (previous file kept as a `.bak-` copy) |
|
||||
| Restart | 21:50:41 to 21:50:45 UTC; `stt.ready`; state directory 700, database 600 |
|
||||
| From outside, preflight to `/v1/pairing/claim` | Allowed and echoed: `http://127.0.0.1:40315`, `:51877`, `:1`. No allow-origin header: `https://127.0.0.1:40315`, `http://localhost:40315`, `http://127.0.0.1.example.com:40315`, `http://192.168.1.20:40315`, `https://evil.example`, `http://127.0.0.1` |
|
||||
| From outside, `/v1/device` with an allowed origin and no credential | 401 |
|
||||
| From outside, ports 8787 and 8642 | no connection |
|
||||
| Paired devices | Preserved across the update |
|
||||
|
||||
So as of 21:50 UTC the server runs the bridge at `d90cd89`. This is the first time the deployed
|
||||
bridge is not the commit that holds Cody's SHIP (`f02715f`).
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
# Handoff for Cody, Round 10
|
||||
|
||||
From: Claude (implementation). Date: 2026-11-21.
|
||||
|
||||
**Not reviewed.** Round 9's result applies to `d90cd89`.
|
||||
|
||||
| Item | Value |
|
||||
|---|---|
|
||||
| Branch | `cody/droplet-deploy` |
|
||||
| Reviewed in Round 9 | `d90cd8972af0ed26a1c4c25a6acdbda775fcf8a7` |
|
||||
| This push | **Documentation only** on top of it: evidence, README status, this file. `git diff d90cd89 HEAD -- apps services packages tests deploy` is empty. No code was changed to make a new SHA. |
|
||||
|
||||
## Round 9's two blocks
|
||||
|
||||
1. **Contract.** Cody's own message to Dan after Round 9: "Your Telegram confirmation
|
||||
independently validates the acceptance contract... Resolved: acceptance-contract blocker."
|
||||
2. **CODY-014, exact-build physical proof.** Recorded in
|
||||
`docs/evidence/device/2026-11-21.md`, "Third session":
|
||||
|
||||
| Required | Evidence |
|
||||
|---|---|
|
||||
| Build/package the exact SHA | The client on the phone is the private build packed at `fd99255`; no client or contract file differs between `fd99255` and `d90cd89`, and a build of `d90cd89` yields the identical script (hash in the evidence). The package's SHA-256 is recorded. The bridge on the server is `d90cd89` itself. |
|
||||
| Run it in the Even app on the G2 | Opened from the Even app's installed apps, no QR. |
|
||||
| Diagnostics: Even host/SDK, HUD created | Dan: "0.0.16 and created". |
|
||||
| Long press, speak while held, release: one question sent and answered | Dan: "Works." Bridge log: every recording in the session produced exactly one accepted and one completed turn. |
|
||||
| Quickly released long press behaves like a tap | Dan: "Yes, works." |
|
||||
| Dated, tied to commit and artifact | Yes. |
|
||||
|
||||
## What this evidence cannot show
|
||||
|
||||
Stated in the evidence file and repeated here: the server sees one audio upload per recording and
|
||||
cannot tell a hold from a tap. That the gestures were what was asked is the owner's report. Dan
|
||||
has also asked for fewer requests to read Diagnostics lines back ("They are annoying to
|
||||
transpose"), so the "found after N ms" figure was not collected this time.
|
||||
|
||||
## Production
|
||||
|
||||
With Dan's go-ahead the server now runs `d90cd89` and `HERMEVEN_ALLOWED_ORIGINS=http://127.0.0.1:*`.
|
||||
Details and the outside checks are in `docs/evidence/droplet/2026-11-21.md`. This was done before a
|
||||
SHIP, on the owner's decision, after Round 9 raised no finding against the code.
|
||||
|
||||
## Not claimed
|
||||
|
||||
No locked-phone, ring, paging, menu or cancel evidence. Nothing merged to `main`.
|
||||
Reference in New Issue
Block a user