Client (apps/even-client): pure interaction reducer with generation-based stale-result rejection, HUD renderer, measured pagination, Even Hub SDK 0.0.16 adapter, bridge HTTP client, phone pairing/status/diagnostics page. Bridge (services/bridge): device pairing and revocable expiring credentials, turn engine with idempotent submit, cancel, deadlines and restart recovery, Hermes Runs API adapter, OpenAI-compatible STT adapter, operator CLI. Contract (packages/contracts): versioned schemas, types and error codes. Tests: 122 unit/integration (fakes), 6 simulator scenarios (Even Hub simulator 0.9.5), 9 scenarios against a real Hermes v0.23.1 gateway with a stub model. No real STT, real model or physical device has been exercised; see docs/test-evidence.md and docs/device-test-plan.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
20 KiB
Feasibility report
Prepared 2026-11-18 for the first vertical slice. It answers the questions in section 2 of the kickoff specification.
How to read this
Each finding carries one status:
| Status | Meaning |
|---|---|
| documented | Stated by an official Even or Hermes source, or by the published package's own types. Not exercised by us. |
| simulator-tested | We ran it in the official Even Hub simulator 0.9.5 (see docs/test-evidence.md). |
| hermes-tested | We ran it against a real hermes gateway v0.23.1 with a stub model. |
| device-tested | Run on a physical G2. Nothing in this report has this status. |
| unsupported | The public SDK does not offer it. |
| unknown | Not documented and not something we could exercise. |
Simulator evidence is not device evidence. Even's own simulator README says the simulator "is a supplement to, not a replacement for, hardware testing".
Sources
| Source | Version read |
|---|---|
@evenrealities/even_hub_sdk (npm) |
0.0.16, README and dist/index.d.ts |
@evenrealities/evenhub-simulator (npm) |
0.9.5 |
@evenrealities/evenhub-cli (npm) |
0.2.0 |
@evenrealities/pretext (npm) |
0.1.4 |
even-realities/everything-evenhub (GitHub) |
commit cb8321f (2026-10-21), all 13 skills |
even-realities/evenhub-templates (GitHub) |
commit 8cb0135 (2026-08-07) |
| hub.evenrealities.com/docs | all 48 sidebar pages, fetched 2026-11-18 |
| hermes-agent (local install) | v0.23.1, commit 3b42157, docs and gateway/platforms/api_server*.py |
Citations use docs:<path> for https://hub.evenrealities.com/docs/<path>, skill:<name> for
everything-evenhub/plugins/everything-evenhub/skills/<name>/SKILL.md, templates:<path> for
the templates repository, and sdk: for the published SDK package.
The official sources contradict each other in several places (they were written against different SDK versions). Where they do, both positions are given and the item is marked for device verification.
Summary of what matters most
- The first outcome's hardest requirement, voice capture with the phone locked in a pocket, is not established. The docs say microphone capture "Stops if the WebView is suspended". This needs a device test before anything else is built on it.
- The public SDK provides raw PCM only. There is no transcription API. STT has to be a server-side provider.
- Every deployment needs its own app build. Even Hub blocks network requests to any origin
not listed in the packaged
app.json. The bridge hostname therefore cannot be chosen at run time by the user of a store build. This affects distribution and is escalated below. - Hub apps are foreground-only on the glasses. Running alongside native captions is not something the public SDK offers.
- Everything else the slice needs (text HUD, gestures, an OS menu, app storage, HTTPS fetch) is documented and works in the simulator.
Findings
1. Microphone format and callbacks
| Finding | Status | Source |
|---|---|---|
Audio arrives through bridge.onEvenHubEvent as event.audioEvent.audioPcm (Uint8Array). |
documented, simulator-tested | sdk: README "MIC Source" |
| Format is 16 kHz, signed 16-bit little-endian, mono, on both glasses and phone sources. | documented, simulator-tested | docs:build/device-apis, "Format on both sources: PCM 16 kHz, signed 16-bit little-endian, mono." |
| Frames are 100 ms (3,200 bytes). | documented for the simulator, simulator-tested; unknown on device | docs:test/simulator says payloads "match what the device emits". No page states the device frame size independently. |
audioEvent also carries source, direction and speakerRole. speakerRole is "the App audio algorithm result, not a firmware identity assertion". |
documented | sdk: README |
What we did about it: the client accepts frames of any size and only requires the total to be
whole 16-bit samples. The bridge accepts exactly one declared format (pcm_s16le, 16000 Hz,
1 channel) and refuses anything else with unsupported_media.
Observed in the simulator, source not determined: every hub event, including each raw PCM
frame, is echoed to the WebView console with an [EvenAppBridge] prefix. We could not tell
whether the SDK or the simulator's host shim prints it (the SDK bundle is minified and contains
no such literal string). Whether the phone's developer console receives audio the same way is
unknown and is on the device checklist, because the docs call console output
"reviewer-visible".
2. Start/stop lifecycle
| Finding | Status | Source |
|---|---|---|
audioControl(true, AudioInputSource.Glasses) starts, audioControl(false) stops. |
documented, simulator-tested | sdk: README |
The glasses microphone requires createStartUpPageContainer to have succeeded first. |
documented | docs:build/device-apis; skill:sdk-reference |
Permission g2-microphone must be declared; "Permission prompts fire on first invocation, not at launch." |
documented | docs:test/private-testing |
audioControl returns false on failure. |
documented | sdk: audioControl(...): Promise<boolean> |
| Maximum capture duration imposed by the platform. | unknown | not documented |
| The microphone may be left running if the app does not stop it on exit. | documented | skill:device-features |
What we did about it: the microphone opens only on a tap, closes on send, cancel, the capture cap (default 30 s), glasses disconnect, app exit and page unload. If no audio frame arrives for 3 seconds while recording, the capture is ended with an error, which covers permission loss and a suspended stream. The microphone is never reopened without a new tap.
3. SDK-provided ASR versus raw audio
| Finding | Status | Source |
|---|---|---|
| The public SDK has no speech-to-text API. | unsupported | No ASR in sdk: types, docs or skills. The official asr template says "The STT client itself is a blank stub... You pick your own provider". |
Decision: one server-side adapter for any service that implements the OpenAI
POST /audio/transcriptions contract (hosted or self-hosted Whisper). It is exercised only
against a test fake so far. No real STT provider has been run; none was available on the
development machine and choosing a paid one is Dan's decision (see "Decisions needed").
4. Input events
| Finding | Status | Source |
|---|---|---|
| G2 temples and the R1 ring give press, double press, swipe up, swipe down, long press and release. The ring has the "Same gesture set as Even G2, distinguishable by source". | documented | docs:build/device-apis |
Event type values 0 to 10 (CLICK, SCROLL_TOP, SCROLL_BOTTOM, DOUBLE_CLICK, lifecycle, LONG_PRESS, LONG_PRESS_RELEASE). |
documented, verified against the SDK enum in tests | sdk: OsEventTypeList |
A tap arrives with no eventType because CLICK_EVENT is 0 and protobuf omits zero values. |
documented, verified against the SDK parser in tests | templates:README.md |
Which envelope carries a tap on a text container: docs say textEvent, the skills and templates say sysEvent. |
conflicting; simulator delivers gestures that our both-envelope reader handles | docs:build/device-apis vs skill:handle-input |
| Tap, double tap, swipe up and swipe down reach the app. | simulator-tested | automation actions click, double_click, up, down |
Tap followed by long press is claimed by the OS and opens the contextual menu. App items are declared with menuObject (up to 10, names up to 32 UTF-8 bytes); a selection arrives as menuItemClickEvent. |
documented; our menu declaration was accepted by the simulator; selecting an item is not yet exercised | docs:build/contextual-menu |
Double tap on the root page must call shutDownPageContainer(1). Apps that do nothing or exit silently "are rejected". |
documented | docs:ship/app-submission |
FOREGROUND_ENTER/FOREGROUND_EXIT also fire when the OS menu opens and closes. |
documented | docs:build/contextual-menu |
| Ring gestures behave the same as temple gestures in practice. | unknown; the simulator hard-codes the right-temple source | simulator README |
Mapping used by this slice (semantic action, then the gesture bound to it today):
| Semantic action | Gesture | Notes |
|---|---|---|
| activate | tap | at rest, on an answer (follow-up), or to resend an undelivered request |
| stop and submit | tap | while recording |
| cancel / back | double tap | cancels capture or request; at rest returns to the root page; on the root page asks the OS to exit |
| next / previous page | swipe down / swipe up | on an answer |
| new conversation | OS menu item | also available on the phone |
| cancel request | OS menu item | duplicate path to double tap |
The product contract is the left-hand column. The gestures are one binding of it and are held
in two small files (device/events.ts, the controller's event switch), so they can change
after device testing without touching the state machine. A glasses-only path exists for every
action except new conversation, which uses the OS menu (glasses) or the phone.
5. HUD layout and text constraints
| Finding | Status | Source |
|---|---|---|
| Canvas is 576 x 288 px per eye, origin top-left, 4-bit greyscale shown as green. | documented, simulator-tested (screenshots are 576 x 288) | docs:build/display |
| One firmware font, not monospaced, no size or weight control. "Characters outside the font set are silently dropped." | documented | docs:build/display |
| Line height is a fixed 27 px. | documented | skill:font-measurement |
Text limits: 1,000 characters for create and rebuild, 2,000 for textContainerUpgrade; byte-denominated elsewhere (999 / 1,999). |
documented, units conflict | docs:build/display; docs:reference/changelog (simulator "999-byte text container limit") |
| If content overflows a capturing text container "the firmware scrolls it". | documented | docs:build/display |
Even publishes @evenrealities/pretext for "pixel-accurate" wrapping measurement, and the text-heavy template paginates with it. |
documented | templates:text-heavy |
textContainerUpgrade updates in place without flicker; rebuildPageContainer "flashes the full page". |
documented | templates:text-heavy |
| No numeric rate limit for text updates; guidance is to serialise all bridge calls and debounce. | documented as guidance only | skill:glasses-ui |
| Emoji do not render. Full glyph coverage is not officially tabulated. | documented / unknown | docs:reference/faq |
What we did about it: two text containers tile the canvas, a 9-line body (which takes the
gestures) and a 1-line status bar that always shows the state and, while recording, a
● REC m:ss / m:ss indicator. Answers are paginated with pretext to at most 9 measured lines
and at most 900 UTF-8 bytes per page, so a page never overflows and the firmware never
scrolls it. Nothing is truncated: every page is reachable by swiping, and the phone shows the
complete original. Markdown and HTML markup are removed for the HUD; the wording is not changed.
Simulator-tested: page 2 of a long answer fills exactly 9 lines with the status bar beneath
(docs/evidence/simulator/05-answer-page-2.png), and swiping down then up returns a
pixel-identical page 1. Unknown until a device test: whether pretext agrees with the real
firmware for the text Dan actually reads, legibility at his fitted position, and behaviour for
characters missing from the firmware font.
6. Networking
| Finding | Status | Source |
|---|---|---|
The WebView can only reach origins listed in the network permission's whitelist in app.json. "Use the full origin... bare hostnames and wildcards aren't supported." |
documented | docs:build/networking |
| The whitelist "is not a CORS bypass"; the WebView enforces normal CORS. | documented | docs:build/networking |
| The WebView's own origin is not specified. | unknown | docs say "the WebView origin if you can identify it" |
| "HTTPS in production. Plain http:// is only useful for local dev against a LAN dev server." | documented | docs:build/networking |
fetch with a JSON body and with a binary body, with an Authorization header and a CORS preflight, works. |
simulator-tested | this slice's simulator run |
| WebSockets are allowed under the same whitelist; "Expect drops when the WebView backgrounds." | documented | docs:reference/faq |
SSE and streaming fetch. |
unknown | not documented |
| "WebView is suspended on background; in-flight requests stall." | documented | docs:reference/faq |
| Whether the whitelist is enforced during QR sideloading. | unknown | not stated |
What we did about it: polling over plain fetch only, which is the fallback the specification
allows. No SSE or WebSocket is used. Because the request is idempotent on the bridge and the
client re-attaches by request id, a stalled or dropped request cannot run a turn twice.
Two consequences need Dan's attention:
- The bridge origin is baked into each packaged build. The repository contains no hostname:
app.jsonis generated at build time fromHERMEVEN_BRIDGE_ORIGIN. But a single store build cannot serve users with different bridges unless Even adds user-configurable origins or the product routes through one fixed relay origin. This is a distribution question, not an MVP blocker. - The bridge's CORS allow-list needs the WebView's origin, which is not documented. The
phone page's diagnostics panel prints
location.originso it can be read on the device and put intoHERMEVEN_ALLOWED_ORIGINS. Until that is done on a real phone, CORS configuration for a packaged build is unverified.
7. Storage
| Finding | Status | Source |
|---|---|---|
bridge.setLocalStorage / getLocalStorage store strings and survive app restarts. |
documented, simulator-tested within one run | sdk: README; skill:device-features |
Browser localStorage reliability: the docs FAQ says it survives; the skill says it does "NOT reliably persist". |
conflicting | docs:reference/faq vs skill:device-features |
Storage is sandboxed per package_id. |
documented | docs |
| Any secure or encrypted storage. | unsupported / not offered | nothing in the SDK or docs is described as secure |
What we did about it: the device credential is kept in the Even app storage and the phone page says plainly that this is not an encrypted vault. The credential is scoped to one device and one configured profile, expires after 7 days (renewable up to a 90-day pairing lifetime), is revocable from the phone or the bridge host, and is stored on the bridge only as a hash. It cannot reach the Hermes API directly and cannot choose a profile or session.
8. Lock screen, suspension and background restore
| Finding | Status | Source |
|---|---|---|
| iOS: "The WebView keeps running." Android: "May be suspended under memory pressure... Treat Android suspend as 'the app starts cold.'" | documented | docs:build/background-lifecycle |
| Microphone capture "Stops if the WebView is suspended... don't assume the stream is still live." | documented | docs:build/background-lifecycle |
| QR-sideloaded apps do not survive the lock screen at all; private-testing builds "don't pass the 5-minute lock test"; beta builds do. | documented | docs:test/index |
| Store review requires the app to stay alive with the phone locked for 5 minutes. | documented | docs:ship/app-submission |
The background-state skill describes a headless-WebView migration with setBackgroundState / onBackgroundRestore exported from the SDK. |
not present: SDK 0.0.16 exports neither function and its bundle has no __getStateSnapshot string |
skill:background-state vs sdk: dist/index.d.ts |
| Whether a voice question can be captured and answered with the phone locked and pocketed. | unknown | no source addresses it; this is the first outcome |
Stated plainly, as the specification asks: a state-persistence helper does not prove background microphone execution, and in SDK 0.0.16 even the helper is not there. We did not invent it. Instead the app persists the one thing that matters, the id of a turn in flight, to app storage. A page that is killed and restarted re-attaches to that turn by polling and never resubmits it or reopens the microphone (covered by an automated test with fakes).
Whether capture works while locked can only be answered on the device, and it must be tested with a beta-channel build, since the docs say sideloaded builds die on lock.
9. Coexistence with native captions
| Finding | Status | Source |
|---|---|---|
| "Plugins are foreground-only on the glasses." | documented | docs:reference/faq |
| "After exit, glasses can launch other apps and first-party apps (Conversate, Navigate)". | documented | docs:ship/app-submission |
| Any API to read native captions or run beside them. | unsupported | none in the SDK |
| What happens to a Hub app when a native feature or notification interrupts it. | unknown | not documented |
Conclusion: assume the user must switch between Hermeven and native captions. This is reported as a limitation, not hidden. It is on the device checklist to record exactly what the switch looks like.
10. Hermes API (the other half of feasibility)
| Finding | Status | Source |
|---|---|---|
Bearer auth with API_SERVER_KEY; the server refuses to start without one. |
documented, hermes-tested (401 without it) | hermes docs; _check_auth |
POST /v1/runs returns 202 with a run_id; GET /v1/runs/{id} is pollable; POST /v1/runs/{id}/stop interrupts. |
documented, hermes-tested | hermes docs "Runs API" |
Idempotency-Key on /v1/runs: an identical retry returns the original run_id with Idempotency-Replayed: true; a different body returns 409 idempotency_key_conflict; durable, retained 24 hours. |
documented, hermes-tested | hermes docs; /v1/capabilities reported {"supported":true,"durable":true,"retention_seconds":86400} |
A session_id in the run body continues that API-created session: Hermes loads its transcript. |
documented, hermes-tested (the model received both user turns) | _handle_runs |
/v1/responses has no cancel endpoint; a turn is interrupted only by dropping a streaming connection. |
source-verified | _write_sse_responses |
Run statuses include waiting_for_approval, unknown (owner restarted mid-turn) and interrupted (gateway shutdown). |
documented; not hermes-tested (the stub model calls no tools) | hermes docs |
A run that stops short (iteration budget) reports failed with completed: false and usable output. |
source-verified; not hermes-tested | terminal_run_status |
instructions is layered on the agent's prompt per request, without changing stored history. |
documented, hermes-tested | hermes docs "System Prompt Handling" |
Decision recorded in docs/decisions/0002-hermes-runs-api.md: the adapter uses the Runs API,
not /v1/responses. The specification said "normally /v1/responses" and also asked us to
verify cancellation and idempotency; Responses cannot cancel or be polled in flight, and Runs
can. No conversation_id field is sent to Hermes.
Not verified: Dan's actual target deployment. The specification mentions a Hermes
reachable from "Pepper's environment"; we had no access to it. All Hermes evidence here is from
the hermes-agent v0.23.1 installed on the development machine, run in a throwaway home
directory with a stub model. The target's version, profile routing (/p/<profile>/), tool
permissions and approval policy are unverified.
Decisions needed from Dan
- Device access. Nothing here is device-tested. The checklist is
docs/device-test-plan.md. Lock-screen capture comes first because it can invalidate the product's first outcome. - STT provider. Hosted (per-minute cost, audio leaves your network) or self-hosted Whisper (free, needs a machine). The adapter is the same either way.
- Target Hermes. Which deployment and profile the bridge should point at, and a safe read-only test profile for the first real run.
- Distribution model, given the per-build network whitelist: one build per deployment, or a relay origin. Not needed for the single-user slice.
What was escalated rather than worked around
- No background-microphone guarantee was assumed.
- No SDK function was invented; the two background helpers named by an official skill but absent from the published SDK are not called.
- No native Android/iOS app was started. Nothing measured so far requires one, but item 8 could.