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:
Dan
2026-11-18 18:21:49 -08:00
co-authored by Claude Fable 5.2
commit 4687cc0114
79 changed files with 11685 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# 0003: Gesture binding for the first slice
Status: provisional until device-tested. Date: 2026-11-18.
The product contract is the set of semantic actions (activate, stop/submit, cancel/back,
next/previous page, new conversation). Gestures are a replaceable binding.
| Action | Binding | Why |
|---|---|---|
| activate, stop/submit | tap | The only gesture every source agrees reaches the app. Tap to start and tap to stop makes the end of capture explicit and deterministic. |
| cancel / back | double tap | Even's submission rules require double tap on the root page to open the OS exit dialog. Treating double tap as "back one level" everywhere makes that the natural end of the same gesture. |
| next / previous page | swipe down / swipe up | Matches Even's text-heavy template. |
| new conversation, cancel request | OS contextual menu items | Keeps a destructive-feeling action off a single accidental gesture. |
Rejected for now:
- **Hold to talk** (long press, release to send). Attractive, but the OS claims tap-then-long-press
for its menu, and the two official sources disagree about how long-press events are routed.
- **End-of-speech detection.** Not attempted. Capture ends on tap, cancel, or the visible cap.
Open for device testing: whether Even treats a double tap that cancels a request (not on the root
page) as acceptable under its exit rule, accidental double-tap rate, and ring behaviour.