Expose experimental Remote speech and record reader integration

Update connection controls to disclose experimental speech and unsupported keyboard, clipboard and Braille services. Record incoming speech ownership, fragment privacy and browse current-line export, with focused checks and explicit live acceptance steps.

The matching reader changes are committed as 49be830 on testing. Remote race tests and make check passed; audible speech, physical input/Braille and live interoperability remain unverified.
This commit is contained in:
ak47 committed 2026-11-05 15:41:38 -05:00
1 parent 3a403cb254
commit 8e30e009f5
11 files changed
+201 -73

No files matched your search

+3 -2
View File
@@ -4,8 +4,9 @@ A repository of experimental Tentacles for Cthulhu, maintained by Storm
Dragon. It contains [Hello World](hello-world/README.md), the development
[Wormhole tentacle](wormhole/README.md), and
[Battery Status](battery-status/README.md).
The [Remote implementation](remote/README.md) has a source-built relay-testing
command with reader-owned consent; it is not yet installable or able to control a desktop.
The [Remote implementation](remote/README.md) has a source-built command with
reader-owned consent and experimental software speech; it is not yet installable
or able to control a desktop.
Repository material and these Tentacles are licensed under GPL-3.0-or-later; see
[LICENSE](LICENSE) and [CONTRIBUTING.md](CONTRIBUTING.md).
+68 -5
View File
@@ -348,6 +348,67 @@ No installed or active reader was replaced. Real Speech Dispatcher scheduling,
audible speech, physical input/Braille and live interoperability remain untested;
no release gate is complete.
Twenty-first implementation increment (2026-11-05): production local-launch and
managed-session startup now attach the incoming software speech owner. Delivery
and post-acquisition checks retain the original lease, deadline, reader output
policy and internal-form exclusion. Local announcements/interruption cancel
active incoming work and discard older stream, mailbox and unfinished-assembly
work; first-frame reader timestamps prevent old work acquiring fresh local
admission after dequeue. The isolated client uses SSIP TEXT while local output
retains MESSAGE, so relay priorities cannot outrank local speech. Server priority
cancellation discards the assembly without revoking consent; backend failures
retire only their original epoch. Source-command UI now identifies experimental
speech while keeping keyboard, clipboard and Braille unavailable. See
[the owner and local-priority contract](../cthulhu/docs/tentacle-remote-speech.md#production-incoming-owner-and-local-priority).
Private source-command/TLS/SSIP fixtures exercise complete multilingual speech,
active cancellation on disconnect, lock, handoff and disable, and backend failure
followed by a fresh explicit connection workflow. The full Remote and reader
host/wire/both-SDK race suites passed (host: about 128 seconds), together with
ten repetitions of the incoming/source-command race cases, shared speech/Tentacle
application race regressions, the speech regression harness, affected-package
vet, a separate reader build and Tentacles `make check`. Real Speech
Dispatcher scheduling, audible speech, physical input/Braille and live
interoperability remain unverified. No installed or active reader was replaced,
and no release gate is complete.
Twenty-second implementation increment (2026-11-05): a speech privacy review
found that joined document lines could lose neighboring fragments' ancestry.
Caret-line export checked only the caret source; Say All flattened fragment
text without preserving the other sources. The reader now retains per-source
contexts through both visual-line assembly paths and Say All flattening.
Password sources/ancestors, unknown roles and failed context lookups deny export
without changing local reading. Other review commands remain unclassified.
See [the speech privacy contract](../cthulhu/docs/tentacle-remote-speech.md).
A real accessibility-tree regression fails against the previous classifier and
passes with the correction. AT-SPI/review race suites, focused application
reading/Remote/speech race checks, ten repetitions of document privacy cases,
source-command/private-relay race checks, the speech regression harness,
affected-package vet, a separate reader build and Tentacles `make check` passed.
No installed or active reader was replaced; audible speech, physical input,
physical Braille and live interoperability remain unverified. No release gate
is complete.
Twenty-third implementation increment (2026-11-05): browse-mode current-line
reporting, spelling and phonetic spelling now opt into speech observation after
checking captured source ancestry and every joined fragment. The review worker
retains ancestry from the final movement's tree, including after recapture.
Password sources/ancestors, unknown roles and missing/stale ancestry keep the
report private without changing local reading, focus, caret or Braille. Native
current-line reports remain private because their reads lack complete ancestry.
The existing speech owner preserves pronunciation, repeated letters, character
state, utterance boundaries and the original admission lease/generation.
See [the speech contract](remote/speech.md) and
[the live test procedure](remote/command.md#physical-keyboard-acceptance-still-pending).
Regression tests reproduced the missing ordinary export before the change.
Focused application/input reading and Remote race checks, the complete review
and external Remote race suites, the existing speech regression harness,
affected-package vet, a separate reader build and Tentacles `make check` passed.
The actual source-command/private-relay fixture exports ordinary current-line
speech and excludes a private joined neighbor. No full reader suite, native
desktop or hardware checks were run for this increment. No installed or active
reader was replaced. Audible speech, physical input/Braille and live NVDA/Orca
interoperability remain unverified; no release gate is complete.
## 1. Intended result and recommended approach
Build a native Go Tentacle named **Remote**, with package ID `remote`, in this
@@ -897,8 +958,9 @@ do not claim them from a design diagram.
Typed speech validation, lease-bound output events, an explicit reader-owned
incoming mailbox and both SDKs now have private coverage. The external speech
coordinator is connected; limited production accessibility/document-reading output
observation has original-lease and delivery-time policy checks. Incoming speech ownership,
remaining reading producers remain pending; explicit status detachment is
observation has original-lease and delivery-time policy checks. Production incoming
software speech now has isolated cancellation and local priority; remaining
reading producers and live speech acceptance remain pending; explicit status detachment is
implemented, with physical-input/ordinary-reading acceptance still open;
see [speech.md](remote/speech.md).
@@ -923,10 +985,11 @@ tested; existing Tentacles still install, register, run, disable and update.
The [typed speech transport and relay conversion](remote/speech.md) prerequisite
now connects to the external coordinator, preserving whitespace and UTF-8
across bounded IPC frames. Limited accessibility/document-reading output observation has
explicit private/secret exclusion and ordered cancellation. Incoming ownership,
other reading producers and audible speech remain pending. Explicit Return to
explicit private/secret exclusion and ordered cancellation. Incoming software
presentation now has original-lease checks, local priority and isolated cancel.
Other reading producers and audible speech remain pending. Explicit Return to
desktop now closes status while retaining the original verified lease;
connection controls retain their relay-testing scope.
connection controls disclose experimental speech and unsupported desktop services.
- [ ] Demonstrate controlled Cthulhu speech to NVDA and NVDA speech to controlling
Cthulhu, then Cthulhu-to-Cthulhu. Verify read-all, spelling and ordinary stop.
+8 -5
View File
@@ -4,7 +4,7 @@ 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 and limited reader speech observation. It has no manifest or catalog
controls, limited reader speech observation and isolated incoming software speech. 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).
@@ -14,8 +14,10 @@ Implemented:
validators/mailbox, with both-role SDK-process/private-TLS coverage and
Go/Python host coverage. Limited production export now observes explicitly
local accessibility speech, document navigation and Say All after worker policy,
with private-origin exclusion and captured-lease/generation checks. Incoming delivery, other reading
producers remain pending. Explicit Return to desktop now releases the status
with private-origin exclusion and captured-lease/generation checks. Incoming
software speech now has delivery-time lease/output policy, local priority and
separate cancellation ownership. Other reading producers and audible
acceptance remain pending. Explicit Return to desktop now releases the status
form while retaining the original approved lease; the shortcut reopens status
and Disconnect. Physical capture/release acceptance remains pending.
See [speech.md](speech.md).
@@ -34,7 +36,8 @@ Implemented:
- A coordinator using public Go SDK leases and lifecycle events for explicit
connection attempts, heartbeats, revocation and ordered failure cleanup.
It requires reader-issued approval, never retries and bridges typed speech
IPC; the production reader speech owner is pending. See [lifecycle.md](lifecycle.md).
IPC to the production software speech owner; live acceptance remains pending.
See [lifecycle.md](lifecycle.md).
- Explicit certificate inspection with no application data, fingerprint review
with Copy/Trust once/Cancel, and masked Remember/Forget key form handlers.
A single library connection workflow now combines them with explicit saved-key
@@ -111,7 +114,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,
incoming speech delivery, complete output export, physical acceptance of desktop
audible incoming speech and real server priority, complete output export, physical acceptance of desktop
return/status reopening, exclusive keyboard capture,
injection provenance and reader-death recovery, clipboard permission,
virtual Braille integration, audible masking, physical displays and packaging. The
+50 -14
View File
@@ -2,19 +2,21 @@
The source-built Remote executable now registers a production command through
the public Go SDK. This increment joins relay/role selection, reader-owned
consent and the existing connection workflow. It is **relay testing only**:
there is no speech delivery, keyboard forwarding/injection, clipboard transfer
or Braille service. There is still no installable manifest or catalog entry.
consent and the existing connection workflow. It provides **experimental speech**
with the matching reader. Keyboard forwarding/injection, clipboard transfer
and Braille services remain unavailable. 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.
The matching reader now has limited observation of explicitly local ordinary
accessibility speech after worker policy. Incoming speech ownership is still
pending. Status now offers **Return to desktop and keep this connection** once
accessibility/document speech after worker policy. Production software sessions
now attach an incoming owner with original-lease checks, local output priority
and isolated cancellation. Status now offers **Return to desktop and keep this connection** once
the reader lease opens. The shortcut reopens status and Disconnect; forms capture
local keys only while open. The relay-testing warnings remain until incoming
speech ownership and live acceptance are complete. Receiving speech with no reader
owner closes the connection and lease; it does not enable audible delivery.
local keys only while open. The UI retains experimental-speech wording until live acceptance is complete.
Receiving speech with no reader owner closes the connection and lease. Hardware
backends fail isolated acquisition and retire the lease; no hardware device is
opened for incoming Remote speech.
Base revisions checked against maintained upstreams on 2026-11-04: reader
`testing` at `4cf3335`, Tentacles `master` at `0c74038`. No installed reader or
@@ -41,8 +43,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. Limited ordinary-event speech observation now exists; incoming
production presentation remains pending. Keyboard, clipboard and Braille
controlled. Limited ordinary-event speech observation and isolated incoming
software presentation now exist. Keyboard, clipboard and Braille
permissions are not requested. A shortcut, child request or fabricated command
argument cannot approve access.
@@ -143,6 +145,13 @@ Pass that file with `--tentacles /absolute/launch.json` and a disposable
`--config` when starting the matching reader in that test session. Building
Remote alone does not update the reader's consent-interaction support.
For each live test, first configure the disposable development session above.
Quit its current Cthulhu with Cthulhu+Q. Press Ctrl+Escape, then press Shift+G to
rebuild and launch through `~/devel/cthulhu-go.sh`; these are separate key presses.
Use the matching development launch list when starting the reader in that test
session. The standard launcher alone does not register Remote. Keep the active
reader and personal configuration untouched while preparing the test session.
1. Use physical keys to open Remote, Tab/Shift+Tab through every control, select
each role and cancel. Review access must focus Cancel, with no prechecked
permissions. Approval with nothing checked must not reach credentials.
@@ -162,11 +171,38 @@ Remote alone does not update the reader's consent-interaction support.
then press Cthulhu+Ctrl+Shift+R: status must reopen without a new consent/key
prompt. Disconnect must close the relay. Repeat Return to desktop followed by
lock/unlock or XTerm handoff; the old connection must end and never resume.
Incoming audible speech remains unavailable; do not count relay status as a
successful speech test.
6. Recheck ordinary entries/menus, secret forms, learn mode, remapped shortcuts,
With a matching development reader using software speech, send harmless
ordinary text, repeated-character spelling, a supported alternate language,
significant whitespace and Say All from the peer. Confirm the intended speech
is audible after desktop return, with no duplicate local export. While Remote
is speaking, trigger local reading/key echo and status; local output must take
priority and interrupted remote text must not resume. Peer cancel/pause must
leave local announcements audible. Repeat disconnect, lock and handoff during
active speech: old speech must stop, with no replay after reconnection.
Record exact heard text/order and cancellation behavior; relay status alone
does not establish speech acceptance.
6. For current-line export, use two matching development peers on a private relay.
On the controlled computer approve output observation and choose Return to
desktop; the controller must also return to desktop to receive speech.
Using the controlled computer's physical keyboard, open a harmless browser
document containing a line such as "A book" and enter browse mode. After focus
speech settles, press Cthulhu+Shift+Up Arrow once. Both computers should speak
the current line. Repeat the chord twice quickly (within 500 milliseconds
between presses) for spelling, then three times quickly for phonetic spelling.
Record the final spelling/phonetic result, including both repeated "o"
characters, and any interruption or duplicate output. The application focus,
native/virtual caret and local Braille should stay at their previous position;
ordinary arrow navigation and typing should retain their usual behavior.
Repeat after disconnect: local reporting should remain available and the peer
should receive nothing. Native current-line reports outside browse mode and
password reports must produce no new exported current-line utterance. Their
ordinary focus/typing events are separate output paths. Reconnect explicitly
before another export test. Record exact local/peer speech, focused control,
caret/Braille position and keys that behaved differently from these results.
7. 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.
Physical-source acceptance, audible masking, physical Braille, desktop services,
Physical-source acceptance, audible speech/masking, real-server priority, physical
Braille, remaining desktop services,
actual NVDA/Orca interoperability and packaging remain separate open gates.
+2 -2
View File
@@ -61,7 +61,7 @@ for desktop return, not a change to generic form cancellation.
connects. Connect performs fresh TLS authentication before sending the key.
- **Disconnect** cancels the original attempt. Status distinguishes opening,
connecting, waiting, peer membership, cleanup and failure. Every status states
that desktop services are unavailable. **Disconnect and close**, Escape/form
that speech is experimental and keyboard, clipboard and Braille services are unavailable. **Disconnect and close**, Escape/form
cancellation or owner cancellation retires the workflow.
- **Trust and remember this certificate** saves its exact pin for this host/port
and returns to explicit Connect. **Forget this relay's pin** restores normal
@@ -101,6 +101,6 @@ Physical-source input remains unverified. Test the actual forms with
Tab/Shift+Tab, list navigation, masked editing,
Copy, Cancel and failed storage, including cancellation during inspection/join.
Recheck ordinary Tentacle forms, CA and pin connections, certificate rotation,
Hello World, Wormhole and Battery Status. Reader desktop services, real NVDA/Orca
Hello World, Wormhole and Battery Status. Remaining reader desktop services, audible speech and real NVDA/Orca
interoperability, audible speech, physical keyboard/Braille and packaging remain
separate gates. Passing these private checks does not make Remote installable.
+12 -7
View File
@@ -8,8 +8,9 @@ It does not establish any of the release acceptance gates.
Current update: [the source command](command.md) now supplies endpoint/role
selection, core-consent interaction wiring, persistent-pin actions and private
real-host relay integration. Earlier increment descriptions below are historical;
connection registration is implemented, while physical-source approval and
desktop services remain pending.
connection registration and software speech ownership are implemented, while
physical-source approval, live speech acceptance and remaining desktop services
are pending.
Subsequent increments add [typed speech IPC and relay conversion](speech.md).
The reader has an explicit bounded speech mailbox and lease-bound output
@@ -24,8 +25,9 @@ reading producers still need source review. Explicit Return to desktop detaches
the connection status form. A lazy isolated reader synthesis handle now provides
separate cancellation ownership. An isolated typed renderer now preserves
whitespace and resolved spelling/language state across complete assemblies;
incoming mailbox integration, stream priority/cancel/pause policy, local priority
and live speech acceptance remain open. See [speech.md](speech.md).
production session startup now attaches its mailbox with lease/focus/output
checks, limited stream priority/cancel/pause and local priority. Real-server
scheduling and live speech acceptance remain open. See [speech.md](speech.md).
## Confirmed reader boundaries
@@ -75,12 +77,15 @@ must never mint consent.
revocation too, cancelling setup before a lease opens. Verify these workflows
with physical local input; synthetic submissions do not establish that gate.
4. Extend the limited policy-resolved output observer to reviewed remaining
reading producers and bind incoming presentation to the isolated software
synthesis handle and typed renderer with delivery-time policy, stream
priority/cancel/pause handling and local priority. Explicit status detachment
reading producers and verify incoming software presentation, now attached
with delivery-time policy, limited stream priority/cancel/pause and local
priority, using real Speech Dispatcher and live peers. Explicit status detachment
is implemented.
Ordinary accessibility speech now has explicit origin/secret exclusion,
original-lease tickets and delivery-time policy/generation checks.
Browse-mode current-line reports, spelling and phonetic spelling now retain
captured source ancestry and inspect joined fragments before export. Native
current-line output and flat/object review remain private pending source review.
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.
+48 -28
View File
@@ -6,27 +6,32 @@ controlled sessions send matching `remote.output` events to the relay. The
matching reader now observes a limited set of explicitly local accessibility
speech attempts, document navigation and Say All 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.
rechecks authority at export. Production software sessions now attach an isolated
incoming renderer with
original-lease, focus and output-policy checks. Local output retires older remote
work; its client uses lower SSIP priority than local speech. Incoming text stays
out of history and observation. Backend failures retire their original lease;
remote or server cancellation discards its assembly without cancelling local
status. No installed or active reader was changed. Audible acceptance remains
pending; a private SSIP fixture does not prove actual server scheduling.
The matching reader now has an unwired incoming stream prerequisite that joins
complete deliveries to its isolated software renderer. It handles remote cancel,
cancel-on-pause and limited NEXT/NOW ordering while retaining mailbox budgets
through cleanup. Idle voices close with their original lease, and policy is
rechecked after acquisition. It still requires production delivery-time policy,
local output priority and session attachment; this command cannot invoke it yet.
Interrupted speech is discarded rather than resumed, and pause false accepts
future speech only. See [the exact reader contract](../../cthulhu/docs/tentacle-remote-speech.md#incoming-stream-prerequisite).
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
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.
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. 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.
`git pull --ff-only` on 2026-11-04. The later incoming-owner increment starts
from reader `ac67236` and Tentacles `3a403cb`, synchronized on 2026-11-05.
The completed reader observation implementation is commit `b60cf5d` on `testing`;
use that revision or a descendant containing it for these source checks.
@@ -79,12 +84,11 @@ frames are unchanged.
The reader independently enforces 64 frames and 256 KiB across staged, queued
and in-flight speech. Its owner must call the delivery's idempotent `Release`
after delivery/discard; stale releases cannot affect replacement leases. Byte
or frame overflow revokes the lease and drops the assembly. The future speech
owner still needs delivery-time policy, local priority and remote cancellation
ownership. Atomic assembly is not backend completion or audible delivery. No
or frame overflow revokes the lease and drops the assembly. The production software owner now supplies delivery-time policy, local priority
and separate cancellation ownership. Atomic assembly is not backend completion or audible delivery. No
audible pause/resume or priority fidelity is established.
The matching reader adds a disabled-by-default incoming speech mailbox, typed
The matching reader adds an explicitly attached 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
@@ -97,18 +101,35 @@ navigation and assembled lines inspect original sources and ancestors; a sensiti
or unclassified Say All line keeps the whole batch private. Each Say All chunk
exports its resolved text and utterance boundary under the original admission
lease. Reconnecting during reading cannot export later chunks under new consent.
Flat/object review, current-line commands, context announcements, separate key-name
Browse-mode current-line reporting, spelling and phonetic spelling now also
export after checking the captured ancestry and every joined fragment. Missing,
unknown, stale or password source metadata keeps the report private without
changing local reading. Repeated letters, character state and pronunciation
follow the existing worker under the original lease. Native current-line reads
remain private because they do not carry complete ancestry.
Flat/object review, context announcements, 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
ancestry separately from presentation context, including after Say All flattens
the text. A sensitive or unclassified neighbor now excludes the line from
export, and a private Say All line excludes its entire batch. Failed ancestry
lookup keeps local reading available while denying export. Source-tree,
presentation/SDK and source-command/private-relay regressions cover these cases.
Current-line regressions also cover recapture, stale ancestry with retained
local text, repeated-letter spelling, phonetic expansion, blank lines and native
exclusion. The actual source-command/private-relay fixture exports an ordinary
browse current-line report while excluding a joined private neighbor.
The source command now offers explicit Return to desktop after reader lease
open, releasing its status form and interaction slots while heartbeats continue.
The Remote shortcut reopens status/Disconnect. The reader checks the original
process-owned lease; no consent or lifetime is extended. Private source-command
tests cover both roles, repeated desktop return/reopening and background
disconnect/lock/handoff/disable. Physical capture release and ordinary desktop
speech still need acceptance. Incoming speech with separate cancellation
ownership remains the next production step; existing UI warnings stay.
speech still need acceptance. Incoming software speech now has separate cancellation ownership; UI warnings
disclose its experimental status and unsupported desktop services.
The matching reader now also has a lazy isolated software-synthesis handle.
It owns a separate SSIP speaking/control pair, so its cancel cannot target the
@@ -121,9 +142,9 @@ from leaking across assemblies; cancellation retires the handle and drops its
suffix while preserving local status/echo. Priority is retained for a future
owner, without being applied by this primitive. See the
[exact rendering contract and named-voice fallback](../../cthulhu/docs/tentacle-remote-speech.md#literal-utterance-rendering-prerequisite).
It is not connected to the mailbox and authorizes no lease. Delivery-time policy,
local priority, stream cancel/pause handling and actual Speech Dispatcher/audible
acceptance remain open. The source command still cannot present incoming speech.
The production stream now connects this renderer to the mailbox with
delivery-time lease/output policy, local priority and cancel/pause handling.
Actual Speech Dispatcher scheduling and audible acceptance remain open.
Verification:
@@ -175,9 +196,8 @@ 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 incoming-owner integration, test ordinary reading, spelling,
For live incoming-owner acceptance, 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
from this transport increment. Keep connection UI warnings until production
speech ownership and acceptance are established.
desktops before testing installed releases. Those workflows remain unverified by private fixtures. Keep the experimental
speech warning until live acceptance is established.
+2 -2
View File
@@ -53,7 +53,7 @@ func (command *connectionCommand) commands() []sdk.Command {
id, title string
handler sdk.Handler
}{
{"remote", "Remote relay connection (desktop services unavailable)", command.open},
{"remote", "Remote relay connection (experimental speech)", command.open},
{"remote-select", "Choose Remote relay and role", command.select_relay},
{"remote-approved", "Continue after reader-owned Remote approval", command.approved},
{"remote-connection", "Remote connection controls", command.submit},
@@ -74,7 +74,7 @@ func (command *connectionCommand) selection_form(notice string) sdk.Interaction
if command.selected.Role == "controlled" {
roles[0], roles[1] = roles[1], roles[0]
}
result := sdk.Interaction{Form: &sdk.Form{Title: "Remote relay and role. Relay testing only; desktop services are unavailable.", Elements: []sdk.Element{
result := sdk.Interaction{Form: &sdk.Form{Title: "Remote relay and role. Experimental speech; keyboard, clipboard and Braille services are unavailable.", Elements: []sdk.Element{
{ID: "cancel", Label: "Cancel", Kind: sdk.Button},
{ID: "host", Label: "Relay host", Kind: sdk.Entry, Text: command.selected.Host, MaxLength: 253},
{ID: "port", Label: "Relay port", Kind: sdk.Entry, Text: strconv.Itoa(command.selected.Port), MaxLength: 5},
+4 -4
View File
@@ -106,7 +106,7 @@ func (w *connectionWorkflow) form_locked() sdk.Interaction {
{ID: "endpoint", Label: "Relay: " + address},
{ID: "role", Label: "Approved role: " + w.action.Role},
{ID: "privacy", Label: "The relay can read the channel key and session contents. A channel key does not verify the other person's identity."},
{ID: "scope", Label: "Relay testing only. Speech, keyboard, clipboard transfer and Braille services are unavailable."},
{ID: "scope", Label: "Experimental speech; live verification is pending. Keyboard, clipboard and Braille services are unavailable."},
}}
switch w.mode {
case "credentials":
@@ -178,9 +178,9 @@ func connection_status_text(status connectionStatus) string {
case "connecting":
return "Connecting and authenticating the relay."
case "waiting":
return "Connected to the relay; waiting for one opposite-role peer. Desktop services are unavailable."
return "Connected to the relay; waiting for one opposite-role peer. Experimental speech; keyboard, clipboard and Braille services are unavailable."
case "ready":
return "One opposite-role peer has joined. Desktop services are unavailable."
return "One opposite-role peer has joined. Experimental speech; keyboard, clipboard and Braille services are unavailable."
case "stopping":
return "Disconnecting and releasing the reader lease."
case "failed":
@@ -350,7 +350,7 @@ func (w *connectionWorkflow) submit(ctx context.Context, value sdk.Submission) (
case "status":
if value.Activated == "desktop" {
if lease, ok := w.owner.background_lease(w.action.Epoch); ok {
result := security_message("Remote connection controls closed. Press Cthulhu+Control+Shift+R to review status or disconnect. Desktop services remain unavailable.")
result := security_message("Remote connection controls closed. Press Cthulhu+Control+Shift+R to review status or disconnect. Speech support is experimental.")
result.RemoteBackground = &lease
return result, nil
}
+1 -1
View File
@@ -155,7 +155,7 @@ func TestConnectionWorkflowConnectUsesLoadedKeyWithoutEcho(t *testing.T) {
awaitStatus(t, c, func(s connectionStatus) bool { return s.state == "waiting" })
result = workflowSubmit(t, w, "refresh", "")
encoded, _ := json.Marshal(result)
if !strings.Contains(string(encoded), "waiting for one opposite-role peer") || !strings.Contains(string(encoded), "Desktop services are unavailable") {
if !strings.Contains(string(encoded), "waiting for one opposite-role peer") || !strings.Contains(string(encoded), "keyboard, clipboard and Braille services are unavailable") {
t.Fatal("status advertised desktop control or omitted waiting state")
}
if w.key != "" {
+3 -3
View File
@@ -168,10 +168,10 @@ def check_remote(repoRoot):
timeout=60, check=True)
value = json.loads(result.stdout)
require(value.get("next") == "remote-select"
and "desktop services are unavailable" in value["form"]["title"],
"Remote did not disclose its relay-only scope")
and "Experimental speech; keyboard, clipboard and Braille services are unavailable" in value["form"]["title"],
"Remote did not disclose its experimental speech scope")
subprocess.run([
"go", "test", "./internal/app", "-run", "^(TestRemoteConnectionCommand|TestRemoteSpeechObservation)",
"go", "test", "./internal/app", "-run", "^(TestRemoteConnectionCommand|TestRemoteSpeech|TestRemoteDocument|TestRemoteReadAll|TestRemoteCurrentLine)",
"-count=1", "-timeout=90s",
], cwd=readerRoot, env=environment, timeout=120, check=True)
subprocess.run([