Record and verify reader Remote speech observation
This commit is contained in:
1 parent
c158321b40
commit
a8ca2f9cfe
6 files changed
+109
-26
No files matched your search
+7
-4
@@ -4,15 +4,18 @@ Remote will connect Cthulhu to an NVDA Remote protocol-v2 relay, as either a
|
||||
controller or a controlled computer. The first implementation increment is a
|
||||
tested Go relay library in `src/`. A subsequent increment now provides a
|
||||
source-built command with relay/role selection, reader-owned consent and connection
|
||||
controls. It has no manifest, catalog entry or desktop access and is not installable.
|
||||
controls and limited reader speech observation. It has no manifest or catalog
|
||||
entry and is not packaged as an installable release.
|
||||
See [the source command and physical-input checks](command.md).
|
||||
|
||||
Implemented:
|
||||
|
||||
- Typed speech conversion, coordinator queues, atomic reader assembly and matching reader IPC
|
||||
validators/mailbox, with both-role SDK-process/private-TLS coverage and
|
||||
Go/Python host coverage. This is transport only; production speech
|
||||
delivery/export is still pending. See [speech.md](speech.md).
|
||||
Go/Python host coverage. Limited production export now observes explicitly
|
||||
local ordinary accessibility speech after worker policy, with private-origin
|
||||
exclusion and captured-lease/generation checks. Incoming delivery, other reading
|
||||
producers and modal status detachment remain pending. 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,
|
||||
@@ -104,7 +107,7 @@ procedure](command.md) describes pending physical-input acceptance checks;
|
||||
private fixtures do not establish them.
|
||||
|
||||
Pending: actual NVDA/add-on/Orca interoperability, physical-source approval,
|
||||
reader desktop services, speech delivery/export, exclusive keyboard capture,
|
||||
incoming speech delivery, complete output export, nonmodal connection status, exclusive keyboard capture,
|
||||
injection provenance and reader-death recovery, clipboard permission,
|
||||
virtual Braille integration, audible masking, physical displays and packaging. The
|
||||
full remote-control release must not be advertised until those gates pass.
|
||||
|
||||
+9
-4
@@ -8,9 +8,13 @@ or Braille service. There is still no installable manifest or catalog entry.
|
||||
|
||||
The subsequent [speech coordinator increment](speech.md) now connects typed
|
||||
relay speech to presentation IPC and reader output events to relay writes.
|
||||
Production reader speech ownership is still pending, so these controls retain
|
||||
their relay-testing warnings. Receiving speech with no reader owner closes the
|
||||
connection and lease; it does not enable audible delivery.
|
||||
The matching reader now has limited observation of explicitly local ordinary
|
||||
accessibility speech after worker policy. Incoming speech ownership is still
|
||||
pending. These controls also hold a modal status form, capturing local keys and
|
||||
suppressing ordinary application presentation for the connection lifetime.
|
||||
They retain their relay-testing warnings until status detachment and incoming
|
||||
speech ownership are implemented and accepted. Receiving speech with no reader
|
||||
owner closes the connection and lease; it does not enable audible delivery.
|
||||
|
||||
Base revisions checked against maintained upstreams on 2026-11-04: reader
|
||||
`testing` at `4cf3335`, Tentacles `master` at `0c74038`. No installed reader or
|
||||
@@ -35,7 +39,8 @@ The host keeps its existing interaction slot and resolves the exact requesting
|
||||
process session. Install grants limit the requested role/grants. The reader's
|
||||
own local-only form starts on Cancel with every grant unchecked. This development
|
||||
command requests only `remote-present` for controller or `output-observe` for
|
||||
controlled; neither service is implemented yet. Keyboard, clipboard and Braille
|
||||
controlled. Limited ordinary-event speech observation now exists; incoming
|
||||
production presentation remains pending. Keyboard, clipboard and Braille
|
||||
permissions are not requested. A shortcut, child request or fabricated command
|
||||
argument cannot approve access.
|
||||
|
||||
|
||||
@@ -17,8 +17,11 @@ events, exercised through both SDKs. The external coordinator now joins those
|
||||
interfaces to relay speech, with ordered calls and bounded cancellable queues.
|
||||
Split utterances now reach the reader owner as one complete assembly, with
|
||||
independent reader frame/byte limits that include work in flight.
|
||||
No production reader output owner is connected; policy-resolved observation,
|
||||
remote speech delivery and live speech acceptance remain open.
|
||||
Limited production output observation now attaches the existing speech worker
|
||||
to its manager with lease-captured, explicitly local requests and delivery-time
|
||||
policy/generation checks. The main accessibility presenter opts in; other
|
||||
reading producers still need source review. Incoming speech ownership, modal
|
||||
status detachment and live speech acceptance remain open. See [speech.md](speech.md).
|
||||
|
||||
## Confirmed reader boundaries
|
||||
|
||||
@@ -67,14 +70,17 @@ must never mint consent.
|
||||
cancellation and bounded speech queues. Pending approval expiry now emits
|
||||
revocation too, cancelling setup before a lease opens. Verify these workflows
|
||||
with physical local input; synthetic submissions do not establish that gate.
|
||||
4. Add policy-resolved output observation and remote presentation with origin
|
||||
ownership, secure-input/lock/handoff exclusion and local status priority.
|
||||
4. Extend the limited policy-resolved output observer to reviewed remaining
|
||||
reading producers, detach connection status from modal desktop capture, and
|
||||
add incoming presentation with remote-only cancellation and local priority.
|
||||
Ordinary accessibility speech now has explicit origin/secret exclusion,
|
||||
original-lease tickets and delivery-time policy/generation checks.
|
||||
5. Complete keyboard recovery, explicit clipboard transfer and virtual/raw
|
||||
Braille workflows. Record physical keyboard, audible speech and physical
|
||||
display results separately from private automated checks.
|
||||
6. Add the manifest, catalog and package tooling only after required reader APIs
|
||||
and acceptance gates exist. No commit, installation or publication is part
|
||||
of this increment.
|
||||
and acceptance gates exist. Installation and release publication remain
|
||||
separate actions.
|
||||
|
||||
## Checks for this increment
|
||||
|
||||
|
||||
+38
-7
@@ -3,8 +3,11 @@
|
||||
Remote now connects NVDA protocol-v2 speech conversion to the matching
|
||||
experimental reader's typed speech IPC. Controller sessions call `remote.present`;
|
||||
controlled sessions send matching `remote.output` events to the relay. The
|
||||
production reader has no speech worker or output observer connected to these
|
||||
interfaces yet, so the command remains a relay-testing tool with no audible
|
||||
matching reader now observes a limited set of explicitly local accessibility
|
||||
speech attempts through its existing speech worker. It excludes private origins,
|
||||
passwords and local status, captures the original lease at queue admission and
|
||||
rechecks authority at export. Incoming production speech ownership remains
|
||||
pending, so the command remains a relay-testing tool with no audible
|
||||
speech-service claim. A reader without a presentation owner rejects incoming
|
||||
speech; Remote closes that connection and its lease instead of silently dropping
|
||||
the error. No installed or active reader was changed.
|
||||
@@ -12,7 +15,11 @@ the error. No installed or active reader was changed.
|
||||
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
|
||||
as well as the external coordinator. No production speech worker is enabled.
|
||||
as well as the external coordinator. The later observation increment is based
|
||||
on Tentacles `c158321` and reader `9bc74db`, confirmed current with
|
||||
`git pull --ff-only` on 2026-11-04. Incoming production speech is not enabled.
|
||||
The completed reader observation implementation is commit `b60cf5d` on `testing`;
|
||||
use that revision or a descendant containing it for these source checks.
|
||||
|
||||
`src/speech_bridge.go` converts speech, cancel and pause messages. It preserves
|
||||
text fragments and whitespace, resolved spelling/language state, end-utterance
|
||||
@@ -72,8 +79,19 @@ The matching reader adds a disabled-by-default incoming speech mailbox, typed
|
||||
Go/Python validators and `remote.output` events. See
|
||||
[its precise contract](../../cthulhu/docs/tentacle-remote-speech.md). These SDK
|
||||
additions are prerequisites for building this increment; use the matching reader
|
||||
source, not an older release. Production output ownership and origin filtering
|
||||
remain reader responsibilities.
|
||||
source, not an older release. Its limited output observer now provides explicit
|
||||
origins, private/secret exclusion, speech-mode and generation checks, UTF-8
|
||||
splitting and atomic outbound IPC reservation. Queue failures retire Remote's
|
||||
process session without blocking local speech. Only the main accessibility
|
||||
presenter currently opts into export; document/review commands, Say All,
|
||||
context announcements, separate key-name echo and other producers still need
|
||||
source review. Priority and language use defaults; no voice/backend state is sent.
|
||||
|
||||
The source command's status form remains modal and captures local keys for the
|
||||
connection lifetime. Ordinary application presentation is suppressed while it
|
||||
is open. This observer increment therefore supplies a reader integration path,
|
||||
not a usable desktop speech session. Status detachment and incoming speech with
|
||||
separate cancellation ownership remain next steps. Existing UI warnings stay.
|
||||
|
||||
Verification:
|
||||
|
||||
@@ -101,12 +119,25 @@ now passes long escaped multilingual speech from the source-built command into
|
||||
one complete test-owner delivery. Reader SDK-process tests also establish no
|
||||
prefix before finalization, interleaving/priority/replay rejection, heartbeat
|
||||
progress, assembly retirement, both budget limits and idempotent/stale release.
|
||||
The repository check runs these reader Remote speech and connection tests.
|
||||
The repository check runs these reader Remote speech, observation and connection
|
||||
tests. Observation tests cover both SDKs, stale tickets, policy retirement,
|
||||
all-or-none frame/byte admission, pronunciation, characters, chunks/spelling,
|
||||
private origins, speech modes and cancellation generations. The real source
|
||||
command fixture now also carries transformed long speech-worker output through
|
||||
actual SDK IPC to the private relay, followed by ordered cancel; password, form
|
||||
and status requests produce no speech frames. All output uses a test backend.
|
||||
Queue-level reader regressions hold delivery across reconnection and verify
|
||||
that queued old-consent and pre-consent output cannot follow the new lease.
|
||||
They also establish that observation overflow retires Remote while local speech
|
||||
and subsequent reading continue. Ten repetitions of the observation race cases
|
||||
passed during completion review, together with the full Remote and reader
|
||||
host/wire/both-SDK race suites, focused application race checks, affected-package
|
||||
vet, a separate reader build, the speech regression harness and `make check`.
|
||||
Existing greeting, Wormhole, Battery Status and connection/consent checks remain
|
||||
regressions. These checks produce no audible speech and establish no physical
|
||||
keyboard, Braille or real NVDA/Orca interoperability acceptance.
|
||||
|
||||
After reader-owner integration, test ordinary reading, spelling,
|
||||
After incoming-owner and status-lifetime integration, test ordinary reading, spelling,
|
||||
read-all, key echo, stop speech and local status in both roles. Then test lock,
|
||||
handoff, disconnect and peer loss for stale output and loops, using disposable
|
||||
desktops before testing installed releases. Those workflows cannot be accepted
|
||||
|
||||
Reference in new issue
Block a user