On a real G2 with build 0.1.1, a voice launch with nothing touched never
left the glasses: no glassesMenu launch source reached the app, so the
countdown was never armed. After one swipe it left as designed.
The countdown now runs however the session was opened. The launch source is
kept for Diagnostics only. Setting up on the phone stays protected: nothing
leaves while unpaired, and a touch on the phone page holds the app open for
the grace period. Dan approved the change after the trial.
Also records the 0.1.1 trial, Dan's keep/change decisions (contract
section F) and the 0.1.1 upload. Version 0.1.2. Not reviewed, not uploaded.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CODY-016. The SDK pushes the launch source once, early. The Even adapter now
subscribes in its constructor, remembers the value and replays it to a
listener that subscribes later. appMenu still does not arm idle exit.
CODY-018. exitNow() returns whether the host confirmed. The adapter keeps at
most one shutdown call in flight (through the same queue as every other host
call), lets a repeat request wait on that call, and never calls the host
again after a confirmed exit, including one confirmed late. The controller
marks itself as gone only on confirmation or on a system_exit/abnormal_exit
event; otherwise it retries after 3 s, at most 4 attempts in a row, under the
same resting-screen and phone-grace guards, and starts again after activity.
CODY-017. README: one owner-reported locked-phone success; pocketed,
five-minute and ten-cycle runs unverified.
Tests: production-adapter tests with a stand-in host, including the default
30 s under a fake clock; a simulator scenario that performs the real exit
(development-only ?idleExit=fast). Not reviewed. 0.1.1 is not uploaded.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On a real G2 the app, while open, occupied the display indefinitely and a
phone notification did not reach the lenses. The app now leaves the glasses
by itself (shutDownPageContainer(0), no dialog) after a resting screen has
been untouched: 20 s on an answer, 30 s at Ready, 10 s on an error or
"Cancelled". Any gesture restarts the countdown. It never leaves while
recording, transcribing, waiting for the agent or for an approval.
It is armed only once the glasses are in use (a gesture arrived, or the
session was opened from the glasses, which includes voice launch), and
touching the phone page holds it open for two minutes, so setting up on the
phone is not interrupted.
Because the app now closes between questions, a question more than ten
minutes after the last one starts a new conversation; sooner continues it.
Diagnostics shows how the session was opened. Version 0.1.1.
Tests: 233 unit/integration; simulator 7. Not reviewed, not deployed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
During the second device session a tap on the glasses did nothing and the
phone page could not show whether the Even app had delivered any event. The
Even adapter now counts gesture/lifecycle events, ignored events and audio
frames and records the last non-audio event by envelope and type code
(never audio or content). The phone's Diagnostics shows it and refreshes
when an event arrives, including one that changes no state.
Not reviewed. Not deployed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CODY-003 Request identity is durable before submission. Storage results are
explicit at the DevicePort boundary (storageSet resolves true only
on the host's own timely confirmation; storageGet distinguishes
unknown from empty). A request is not sent until the phone has
confirmed storing its id; a timeout or refusal holds it back,
unsent and retryable under the same id. Unreadable storage at
start is not treated as unpaired; an unsaveable pairing is revoked.
CODY-006 The state directory is set to 0700 on every open, including when
it already existed, and the bridge refuses to start with an
operator-facing error if it cannot be. Deployment guide creates
it with install -d -m 0700.
Checks: typecheck clean; npm test 194 passed; client build ok;
test:real-stt 11 passed; test:real-hermes 9 passed; test:simulator 6
passed; git diff --check clean.
Not reviewed. No physical-device, droplet or production evidence.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>