Address Cody review round 6: executable runbook, static client install, README
CODY-011 deploy/install.sh performs the ownership-sensitive sequence: the
release is copied to app.new, that one directory is given to the
hermeven user, npm ci runs unprivileged, and the finished tree is
handed back to root:root with group/other write removed. Secrets,
state and model directories are never touched. The guide now gives
exact commands, including the C/C++ toolchain a clean host needs
(found by running it on one).
CODY-012 install.sh builds the phone page with the bridge address preset
and installs it root-owned into /opt/hermeven/www for Caddy. The
guide explains the web build versus the .ehpk package and when
each is needed.
CODY-013 README states which commit was deployed, what was checked, and
what remains unverified.
Also corrects a wrong diagnosis recorded in the previous commit: the phone
page that showed "Browser preview" had been opened in Chrome, not in the
Even app. Host detection keeps a short precautionary wait (2.5 s) and its
comments no longer claim an observed Even-app delay.
tests/deploy/runbook-proof.sh proves the guide on a disposable Ubuntu 24.04
host with systemd.
Not reviewed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -7,18 +7,22 @@ Even supplies the microphone, gestures and display. Hermes stays in charge of th
|
||||
identity, memory, conversation, model, tools and approval rules. Hermeven is the glasses app and a
|
||||
small bridge between the two.
|
||||
|
||||
## Status: first software slice, not yet run on glasses
|
||||
## Status: deployed to one server; not yet run in the Even app or on glasses
|
||||
|
||||
| Path | State |
|
||||
|---|---|
|
||||
| Client, bridge and contract | Implemented. |
|
||||
| Automated tests with fakes (198) | Passing. |
|
||||
| Automated tests with fakes (205) | Passing. |
|
||||
| Client in Even's official simulator | Passing (6 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 | **Not run.** See `docs/deploy-droplet.md`. |
|
||||
| Real model, real tools, approval flow | **Not run.** |
|
||||
| Physical G2, ring, locked-phone use, battery | **Not run.** See `docs/device-test-plan.md`. |
|
||||
| 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). |
|
||||
| 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, ring, microphone, display | **Not run.** See `docs/device-test-plan.md`. |
|
||||
| Locked-phone and background capture | **Not run.** |
|
||||
| Real tools and approval flow | **Not run.** The two real-model questions used no tools. |
|
||||
| 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. |
|
||||
|
||||
The product's first goal needs the microphone to work while the phone is locked in a pocket.
|
||||
Even's documentation says capture stops if the app's WebView is suspended. That is the first
|
||||
@@ -92,7 +96,7 @@ What each suite does and does not show is in `docs/test-evidence.md`.
|
||||
| `docs/bridge-api.md` | The bridge contract. |
|
||||
| `docs/security.md` | Threat model, controls, known gaps. |
|
||||
| `docs/setup.md` | Running, building, operating. |
|
||||
| `docs/deploy-droplet.md` | Running the bridge on a DigitalOcean droplet. Written, not yet run. |
|
||||
| `docs/deploy-droplet.md` | Running the bridge on a server. Run once for real (`docs/evidence/droplet/2026-11-21.md`); the current steps are proven on a disposable host. |
|
||||
| `docs/device-test-plan.md` | The physical-device checklist. Not yet run. |
|
||||
| `docs/test-evidence.md` | Commands run and their real results. |
|
||||
| `docs/decisions/` | Decision records. |
|
||||
|
||||
Reference in New Issue
Block a user