Document reader fixes for Remote speech stalls

This commit is contained in:
ak47 committed 2026-11-06 22:11:49 -05:00
1 parent 52dd1627e3
commit 8f51511801
2 files changed
+37 -3

No files matched your search

+4 -1
View File
@@ -14,7 +14,10 @@ on ARM64 hardware.
## Install and test 0.1.3
Use the matching experimental Cthulhu reader from `testing` revision
`6867d90` or a compatible later revision.
`19b789e` or a compatible later revision. This reader revision fixes remote
speech remaining silent after pause and a race that lost speech-completion
events. Remote 0.1.3 works with the fix; rebuilding or updating the Tentacle
alone cannot repair the older reader. See [speech reliability](speech.md#speech-stops-while-keyboard-control-remains-connected).
It must support Remote browser/media keys, optional grants and polling form transitions; see the
reader's `docs/testing/remote-ui.md`. Older readers cannot run this workflow.
Keyboard control requires its `cthulhu-input-helper`; Braille requires
+33 -2
View File
@@ -17,14 +17,45 @@ pending; a private SSIP fixture does not prove actual server scheduling.
The incoming stream handles remote cancel, cancel-on-pause and limited NEXT/NOW
ordering while retaining mailbox budgets through cleanup. Idle voices close with
their original lease. Interrupted speech is discarded rather than resumed, and
pause false accepts future speech only. See [the production owner and local-priority
their original lease. Interrupted speech is discarded rather than resumed.
Pause true interrupts current and pending speech; fresh speech is accepted without
an explicit pause false, matching NVDA's reset on new speech or cancellation.
See [the production owner and local-priority
contract](../../cthulhu/docs/tentacle-remote-speech.md#production-incoming-owner-and-local-priority).
The source-command/private-relay checks now exercise the actual runtime owner
with long literal multilingual text, spelling/language metadata and active
cancellation on Disconnect, lock, handoff and disable. These use synthetic local
form submissions and a private speech server, without audio or physical input.
### Speech stops while keyboard control remains connected
Two reader defects can leave remote speech silent on an otherwise live
connection. The original playback owner treated pause as a persistent mute,
including after cancellation or fresh speech. Its shared Speech Dispatcher
client also discarded BEGIN/END/CANCEL notifications received before the SPEAK
queue acknowledgement, potentially waiting indefinitely for completion that
had already arrived. Both fixes are in Cthulhu; updating the Tentacle alone
does not fix an older reader.
Chase's simpler Tentacle avoids these paths by converting remote speech to
ordinary SpeakText calls and treating pause as cancellation. Our isolated
renderer preserves remote spelling/language and keeps remote cancellation
from cancelling local status. It now accepts fresh speech after pause and
handles completion notifications during queue acknowledgement as well as
afterward. Private regressions cover both notification orders, successive
remote utterances, pause recovery, and separate local cancellation ownership.
The existing failure log does not contain relay pause frames or SSIP events,
so these reproductions do not identify which defect caused that live failure.
For live acceptance, connect with speech and keyboard access, switch control,
and navigate repeatedly for at least a minute. While remote speech is active,
tap Shift to pause NVDA, then navigate again; fresh remote speech must return
without reconnecting. Return locally with F11, check local reading, switch back,
and repeat. Disconnect must restore local keyboard operation. If Braille access
is selected, verify remote cells and return to the local display too. Record
actual speech, focus, keyboard and Braille results separately from automated
checks.
The coordinator and assembly increments were based on Tentacles `703d440` (`master`) and reader
`9e15f86` (`testing`), both confirmed current with `git pull --ff-only` on
2026-11-04. The assembly increment changes reader wire/host code and both SDKs