From affe313b0a53b58b914aad4c23d959a97b3abc76 Mon Sep 17 00:00:00 2001 From: Angus Kola Date: Thu, 5 Nov 2026 20:39:29 -0500 Subject: [PATCH] Record Remote reading context speech sharing --- remote.md | 30 ++++++++++++++++++++++++++++++ remote/README.md | 5 +++++ remote/command.md | 21 ++++++++++++++++++++- remote/speech.md | 17 +++++++++++++++-- 4 files changed, 70 insertions(+), 3 deletions(-) diff --git a/remote.md b/remote.md index 2a02317..0ba3058 100644 --- a/remote.md +++ b/remote.md @@ -533,6 +533,36 @@ services stay open; no release gate is complete. See [the speech contract](remote/speech.md) and [live native Where Am I steps](remote/command.md#physical-keyboard-acceptance-still-pending). +Twenty-eighth implementation increment (2026-11-05): based on reader `8631c5a` +(`testing`) and Tentacles `26590c0` (`master`), synchronized with their upstreams. +Matching reader implementation: `9ac3356`. +Reading-context entry and exit announcements now export for eligible local +requests after checking every retained context and its ancestry. Navigation, +named articles, Say All and spelling retain their existing settings, counts, +deduplication, system voice and exact local label text. Cached exit labels keep +their previous context's original observation ticket while requiring current +request eligibility. Pre-consent/private labels and retired leases cannot acquire +replacement consent. Context reset clears labels and their ticket; nil context +grants no new authority. Focus, caret, application keys and local Braille retain +their existing behavior. Separate key-name echo and other unreviewed producers +remain private. See [the speech contract](remote/speech.md). + +The ordinary-context regression failed before implementation. Real SDK-process +tests cover entry/exit order, private/unknown/defunct and filtered ancestry, +Say All, repeated-letter spelling, pre-consent labels, replacement leases and +queued old/pre-consent context. Actual source-command/private-relay checks cover +ordinary transitions, private cached exits and disconnect/lock/handoff/disable. +The fixture now supplies reading settings, which were previously absent. +Focused application Remote/speech/reading/context race regressions passed, +alongside ten repetitions of the context/reconnect/source-command race cases, +the complete external Remote race suite, existing speech regression harness, +application vet, a separate reader build and Tentacles `make check`. +No full reader suite, native desktop or physical/audible acceptance was performed. +No installed or active reader was replaced. Physical approval, audible speech, +physical Braille, real Speech Dispatcher scheduling, NVDA/Orca interoperability +and the remaining desktop services stay open; no release gate is complete. +See [the live context steps](remote/command.md#physical-keyboard-acceptance-still-pending). + ## 1. Intended result and recommended approach Build a native Go Tentacle named **Remote**, with package ID `remote`, in this diff --git a/remote/README.md b/remote/README.md index 6f0dabd..ed444d0 100644 --- a/remote/README.md +++ b/remote/README.md @@ -27,6 +27,11 @@ Implemented: complete focused-source ancestry through the application. Private, unknown, defunct or incomplete sources stay local. Private GTK checks cover ancestry capture and unchanged caret; audible/physical acceptance remains pending. +- Reading-context entry/exit announcements export only for eligible local + requests with nonprivate source ancestry. Cached exit labels retain their + original consent ticket; private/pre-consent labels and retired sessions + cannot acquire later consent. Local labels, context settings, Say All and + spelling behavior are preserved. See [speech.md](speech.md). - Bounded newline JSON framing, duplicate-key and collection validation, and typed speech, keyboard, membership, clipboard and Braille decoding. - TLS with normal certificate/hostname validation or an already-approved, diff --git a/remote/command.md b/remote/command.md index 73c9695..b8bdb03 100644 --- a/remote/command.md +++ b/remote/command.md @@ -247,7 +247,26 @@ reader and personal configuration untouched while preparing the test session. until fresh and cached reports match. Change focus or lock/handoff during a slow capture: its pending report must not speak afterward. Record exact local and peer speech, focused control, caret/Braille position and unexpected keys. -10. Recheck ordinary entries/menus, secret forms, learn mode, remapped shortcuts, +10. For context announcements, connect two matching development peers to a + private relay and return both to desktop. On the controlled computer, use + browse mode in a harmless document containing a named list or table, with + the corresponding navigation and Say All context settings enabled. Navigate + into and out of the container: both peers should speak the same entry label + and "Leaving ..." label before the ordinary content, once per transition. + Repeat with Say All and current-line spelling; labels should follow their + existing settings and should not repeat for each spelled letter. Named + articles retain their entry-only behavior. Focus, caret movement, ordinary + application keys and local Braille should retain their existing behavior. + Disconnect while inside the container, reconnect explicitly, and move outside + before reading inside it again. The local exit label should still be spoken, + but the new peer must receive only the new ordinary content, without adopting + the old cached label. Repeat with a container first read while disconnected. + Password/private/unknown ancestry must export neither an entry label nor a + later cached exit label; local reading should remain available. Stop speech, + lock/handoff and disconnect during Say All: old context must not replay after + reconnection. Record exact local/peer label and content order, focused control, + caret/Braille position and keys that differ from these expectations. +11. Recheck ordinary entries/menus, secret forms, learn mode, remapped shortcuts, application key delivery and Hello World/Wormhole/Battery Status. These share the changed host interaction path. Review the diff before any submission. diff --git a/remote/speech.md b/remote/speech.md index 324dff8..1f6b83e 100644 --- a/remote/speech.md +++ b/remote/speech.md @@ -134,8 +134,16 @@ retire pending results. No native classification is cached for reuse; idle Remot retains the existing immediate local path. Missing-location status stays private. See [the exact native verification contract](../../cthulhu/docs/tentacle-remote-speech.md). Existing role chunks and pronunciation -use the speech worker's normal lease/generation admission. Context announcements, -separate key-name echo and other producers still need source review. Priority and language use +use the speech worker's normal lease/generation admission. With reader `9ac3356` +or a descendant, reading-context entry/exit announcements also export for eligible local requests after +checking every retained context and its ancestry. Existing navigation/Say All +settings, counts, panel deduplication, spelling and utterance order are retained. +Cached exit labels use their previous context's original observation ticket, +alongside current-request eligibility, so pre-consent/private labels or a retired +session cannot acquire replacement consent. Reset clears labels and their ticket; +unknown context grants no new authority. Local system voice and exact label text +are unchanged; this path does not apply pronunciation replacements. +Separate key-name echo and other producers still need source review. Priority and language use defaults; no voice/backend state is sent. A subsequent privacy review retains every visual-line fragment's original @@ -156,6 +164,11 @@ native report with private ancestry. The same source-command fixture exports ordinary object/flat review and excludes private and stale-context reports. Owned-tree regressions retain every joined zone, outer menu ancestors and the original context across tree replacement. +Context regressions compare local and exported entry/exit order, Say All and +repeated-letter spelling; private, unknown, defunct and filtered ancestry remains +excluded. Real SDK-process checks cover cached labels before consent, replacement +leases and queued old/pre-consent context. The actual source-command/private-relay +fixture exports ordinary context transitions and excludes private cached exits. The source command now offers explicit Return to desktop after reader lease open, releasing its status form and interaction slots while heartbeats continue.