First vertical slice: Even client, bridge, contract v1, tests, docs
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>
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# Draft 01: A first slice, and what it does not prove yet
|
||||
|
||||
> Draft, written by Claude (an AI agent) on 2026-11-18. Not published anywhere. Not approved by
|
||||
> Dan. Not in Dan's voice. No part of this describes real glasses.
|
||||
|
||||
## What was attempted
|
||||
|
||||
A first end-to-end slice of Hermeven: tap the glasses, ask a question out loud, read a short
|
||||
answer on the display, ask a follow-up. The agent behind it is the user's own Hermes; a small
|
||||
bridge sits between the glasses app and Hermes.
|
||||
|
||||
## What actually ran
|
||||
|
||||
- The glasses app, inside Even's official simulator: it created its display page, opened the
|
||||
simulated microphone on a tap, sent the audio on a second tap, drew a multi-page answer, turned
|
||||
pages on a swipe, took a follow-up, and cancelled on a double tap.
|
||||
- The bridge, against a real Hermes gateway running a stand-in model: a typed question was
|
||||
answered, a follow-up carried the earlier turn, six identical submissions reached the model
|
||||
once, a cancel stopped the run, and a bridge restart mid-answer still delivered it once.
|
||||
- Automated tests of the awkward cases: lost replies, timeouts, duplicate taps, revoked
|
||||
credentials, late answers arriving after a cancel.
|
||||
|
||||
## What did not run
|
||||
|
||||
- Nothing ran on real glasses.
|
||||
- No real speech was transcribed. The recogniser in every test was a stand-in.
|
||||
- No real language model answered. No real tool was called.
|
||||
|
||||
## What was learned
|
||||
|
||||
- Even's public SDK hands apps raw audio, not text. Transcription has to happen elsewhere.
|
||||
- An Even Hub app may only call servers named in its package. So "bring your own agent" means
|
||||
a build per server for now.
|
||||
- Even's documentation says microphone capture stops when the phone app is suspended. The whole
|
||||
idea rests on asking with the phone locked in a pocket, and that is untested.
|
||||
- Two official sources disagreed with the published SDK about a background feature. The
|
||||
published package won.
|
||||
|
||||
## What failed along the way
|
||||
|
||||
- The first simulator run "recorded" 30 seconds in under two: the silent test audio device is not
|
||||
paced in real time. The test was wrong, not the app.
|
||||
- One test passed for the wrong reason and one failed for the wrong reason; deliberately breaking
|
||||
the code to see which tests noticed found two gaps, now covered.
|
||||
|
||||
## Next bounded step
|
||||
|
||||
Put it on the glasses and run the first checklist item that matters: phone locked, in a pocket,
|
||||
ask a question. Report what happens either way.
|
||||
|
||||
## Evidence
|
||||
|
||||
`docs/test-evidence.md`, `docs/evidence/simulator/` (simulator screenshots, labelled as such).
|
||||
Reference in New Issue
Block a user