Bring README, decisions, contract and evidence up to date with the device session
Documentation only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -63,3 +63,42 @@ browser to bridge to Pepper only. The implementer first misread it as an Even-ap
|
||||
- Accuracy of transcription, legibility, battery, any latency as experienced on the glasses.
|
||||
- A beta-channel install.
|
||||
- Any build other than the one named above.
|
||||
|
||||
## Second session, about 20:56 to 21:30 UTC
|
||||
|
||||
Same glasses and phone, phone unlocked. Dan's reports are quoted; server facts are from the
|
||||
bridge log and the commands run on the server.
|
||||
|
||||
### QR-sideloaded page, build `7f055d4` (installed 20:55 UTC)
|
||||
|
||||
| Dan reported | Establishes |
|
||||
|---|---|
|
||||
| "1. Even app host (SDK 0.0.16), found after 4 ms / HUD created / 3. Hermevn Ready" | In the Even app, this build found the SDK host 4 ms after start, created the HUD page, and the glasses showed the Ready screen. The Even app provides its connection essentially at once, so the precautionary detection wait was never needed. |
|
||||
| "Tap to ask isn't working though now. It worked before." and "one tap stays on \"ready\"" | A touch on the temple did not start recording. The bridge log shows the page checked in at 20:56:13 and no turn afterwards. |
|
||||
|
||||
### QR-sideloaded page, build `b8191a7` (installed 21:06 UTC), which adds the "Glasses input" line
|
||||
|
||||
| Dan reported | Establishes |
|
||||
|---|---|
|
||||
| "event ignored in the glasses input line", "like the first one. syxEvent type 9" | The touch was delivered to the app as `sysEvent` type 9 (long press), which that build ignored. The earlier "tap not working" was this, not a regression. |
|
||||
| "left temple is 10/3", "right is 9/1" | Long-press release (type 10) is delivered as well as long-press start (type 9); event source is 1 for the right temple and 3 for the left, as Even documents. |
|
||||
| "okay, quick tap worked." | A short tap still starts recording on this build. |
|
||||
|
||||
### Installed private build "Pepper" (`xylo.hermeven` 0.1.0, built from `fd99255`, uploaded 21:22 UTC)
|
||||
|
||||
| Dan reported | Establishes |
|
||||
|---|---|
|
||||
| "Installed, looks like I had to hit \"open\" and when I do, need another pairing code" | The private build installs and opens from the Even app. Its storage is separate from the sideloaded page's. |
|
||||
| "failed, says cannot reach the bridge" | With no allowed origin configured, the installed app could not call the bridge. |
|
||||
| Page origin: "http://127.0.0.1:40315" | An installed app is served by the Even app from a loopback address on the phone. |
|
||||
| (after the bridge was set to allow exactly that origin and restarted at 21:26:57 UTC) "fucker. port changed" | The port is different on the next launch, so an exact origin cannot be listed. |
|
||||
|
||||
Not reported for the installed build: the Runtime and HUD page lines, whether the glasses showed
|
||||
anything, whether it appears in the glasses' own menu.
|
||||
|
||||
### Not tried in either session
|
||||
|
||||
Hold-to-talk on the device (the build that implements it, `9cb34b3` and later, was installed as a
|
||||
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.
|
||||
|
||||
@@ -190,3 +190,27 @@ bridge address built into the page: 1 occurrence(s) of https://localhost
|
||||
CORS for a foreign origin: 0 allow-origin header(s)
|
||||
### done: 65260911ae907846ea7febd933e8c0e37c471c22
|
||||
```
|
||||
|
||||
## Evening: further changes to the server, each approved by Dan in conversation
|
||||
|
||||
| Time (UTC) | Change | Dan's approval |
|
||||
|---|---|---|
|
||||
| 20:55:16 | Static page replaced with a build of `7f055d4` | "1 - yes" |
|
||||
| 21:06:46 | Static page replaced with a build of `b8191a7` (adds the Glasses input diagnostic) | "yes, put on droplet" |
|
||||
| 21:18:07 | Static page replaced with a build of `fd99255` (hold-to-talk; packaged as "Pepper") | "go for it" (given in reply to a message asking for both the upload and this) |
|
||||
| 21:26:57 | `HERMEVEN_ALLOWED_ORIGINS` set to `http://127.0.0.1:40315` in `/etc/hermeven/bridge.env` (previous file kept alongside as a `.bak-` copy); bridge restarted, about 4 s down | "yes, go ahead" |
|
||||
|
||||
The bridge code on the server is still `f02715f`. The allowed-origin setting turned out to be
|
||||
useless (the port changes each launch) and is still in place; it should be replaced or cleared
|
||||
when the loopback any-port change is deployed.
|
||||
|
||||
After the 21:26 change, through the public hostname: a preflight from `http://127.0.0.1:40315`
|
||||
was answered 204 with `access-control-allow-origin: http://127.0.0.1:40315`; from
|
||||
`http://127.0.0.1:40316` and from `https://evil.example` there was no allow-origin header.
|
||||
|
||||
Outside the server: at 21:22 UTC the package `hermeven.ehpk` (app "Pepper", `xylo.hermeven`,
|
||||
0.1.0, built from `fd99255`) was uploaded to Dan's Even developer account as a private build with
|
||||
`evenhub create`, on Dan's instruction ("logged in, go ahead and upload"). It was not promoted to
|
||||
beta and not submitted for review.
|
||||
|
||||
**Not deployed:** `bc00ae9` (loopback any-port origins). Dan chose review first: "send to cody".
|
||||
|
||||
Reference in New Issue
Block a user