Commit Graph
2 Commits
Author SHA1 Message Date
DanandClaude Fable 5.2 cf2cf66a35 Leave the glasses when idle; new conversation after a long silence (0.1.1)
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>
2026-11-21 14:12:58 -08:00
DanandClaude Fable 5.2 1507cea077 Address Cody review round 3: CODY-003 and CODY-006
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>
2026-11-18 20:29:05 -08:00