From ef32f95b74b4490f9a76e622eeb455ef296158d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Bene=C5=A1?= Date: Fri, 13 Nov 2026 10:30:19 +0000 Subject: [PATCH] Assistant: the wake word's record of what it tried, and the screen Co-Authored-By: Claude Fable 5.2 --- Assistant.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Assistant.md b/Assistant.md index 1fd03e6..b75aff5 100644 --- a/Assistant.md +++ b/Assistant.md @@ -182,6 +182,16 @@ what Settings › Assistant › *Wake word* turns on (off by default). the sheet opens). An activity started from the background is blocked **without an exception**, so `startActivity` succeeding proves nothing. Settings says that only the digital assistant app opens by voice over other apps. +- **What was tried is written down** (`wake/WakeLog.kt`): `wakeWay` picks the first way -- + the session (service connected, screen on), the sheet's activity started *through the + assistant service* (connected, screen off: a session's window wakes nothing, the activity has + `setTurnScreenOn`), the activity (app on screen), or the notification -- and a `WakeAttempt` + keeps the outcome: `opened` (only once a sheet says it is up, `AssistLink.shown`, within + 2.5 s), `not_connected` (`LembasAssistService.current` was null), `refused` (the exception), + `no_sheet`; with whether the role was held and when `onReady` / `onShutdown` last came. The + last five are in `Prefs.wakeLog`, logged under `LLeMbasWake`, and shown as **Last wake**. + Settings also says when LLeMbas holds the role but the service is not connected. A further + way of answering (by voice, without a sheet) would be one more `WakeWay`. - **The engine wants a pause after the phrase**: with `numTrailingBlanks = 1` it triggers once more than one blank frame follows (about 80 ms). Settings and the test row say so. - **Starts and stops**: nobody calls `stopService`. Stop (the switch, the notification's button)