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:
Dan
2026-11-21 13:34:42 -08:00
co-authored by Claude Fable 5.2
parent bc00ae9fb1
commit fb0a6b926a
7 changed files with 102 additions and 14 deletions
+7 -5
View File
@@ -143,11 +143,13 @@ Every command below is run as root on the server unless it says otherwise. Repla
```
Open `https://bridge.example.com/` in the Even app (see below) and enter the code.
11. **Allowed origins.** Leave `HERMEVEN_ALLOWED_ORIGINS` empty when the phone page is served
from the bridge's own hostname, as above: the page and the API share one origin, so no
cross-origin allowance is needed and none should be added. Only a page served from somewhere
else (a packaged `.ehpk`, whose origin inside the Even app is not documented) needs its exact
origin listed; read it from Diagnostics, "Page origin".
11. **Allowed origins.** A page served from the bridge's own hostname (the QR sideload path)
shares the API's origin and needs no entry. An app **installed** through Even Hub does: the
Even phone app serves it from `http://127.0.0.1:<port>` and uses a different port on each
launch (seen on a real phone: 40315, then another), so no exact origin can be listed. Set
`HERMEVEN_ALLOWED_ORIGINS=http://127.0.0.1:*`, the one wildcard the bridge accepts: any port,
loopback only, plain http only. It lets a page running on the phone itself read the bridge's
replies; it grants no access, since every request still needs the device credential.
**Updating.** Repeat steps 3 and 4 with the new commit, then `systemctl restart hermeven-bridge`.
If a model manifest changed, repeat step 6 first.