Continue work on Cthulhu Remote.

This commit is contained in:
Storm Dragon committed 2026-11-03 23:49:44 -05:00
1 parent 63e84e9ac7
commit 0c74038c49
16 files changed
+2896 -30

No files matched your search

+34 -11
View File
@@ -3,7 +3,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/`. It is not yet a runnable or installable
Tentacle. There is no manifest, catalog entry, connection UI or desktop access.
Tentacle. There is no manifest, catalog entry, production connection UI or desktop access.
Implemented:
@@ -19,13 +19,25 @@ Implemented:
- Validated settings and separate, explicit saved-key storage with endpoint-bound
pins, owner-only files, symlink/hardlink rejection and atomic replacement.
Storage does no network I/O; see [storage.md](storage.md).
- 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 performs no desktop
effects; 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
loading, Connect and status/Disconnect. Setup cancellation follows pending
approval lifetime; stale forms cannot disconnect a newer epoch. These have
private SDK-process coverage, but no production connection registration.
The reader authorization prerequisite is described below. See [security-ui.md](security-ui.md) and
[connection-ui.md](connection-ui.md).
The adjacent reader now also supports secret entries in transient Tentacle forms:
masked speech/Braille editing, copy/cut denial, explicit paste and cancellation
without returning values. Persistent preference pages reject secret entries.
This prerequisite is covered by both SDKs and a private Xorg form harness; it
does not yet provide Remote's connection UI. Credential storage is now supplied
by the separate library described above.
does not yet provide Remote's production connection UI. Credential storage and
the combined connection workflow are supplied by the library described above.
A subsequent [private Xorg feasibility increment](../../cthulhu/docs/testing/remote-input-feasibility.md)
demonstrates exclusive capture and independent test-helper cleanup after writer
@@ -44,10 +56,16 @@ acceptance remain pending; this is not yet Remote Braille support.
The reader now also implements opt-in protocol 1.1 lifecycle IPC, both SDK clients,
explicit install grants, and expiring core-issued leases. See
[the session contract](../../cthulhu/docs/tentacle-sessions.md). Private conformance
and GTK tests cover this foundation. There is no production consent issuer or
reader desktop service yet; this library is not connected to those leases.
and GTK tests cover this foundation. The library coordinator now consumes these
leases through the public Go SDK, with private synthetic-host/TLS coverage.
A subsequent [reader authorization increment](../../cthulhu/docs/tentacle-remote-authorization.md)
adds core consent, lock/handoff cancellation and local-only sensitive forms.
Injected approval is rejected in private XI2 tests; physical-keyboard approval and
connection-command registration remain unverified/unimplemented respectively.
There is no reader desktop service yet.
This implements relay data handling and storage only. Parsing a key, speech fragment or
This implements relay data handling, storage, connection lifecycle and library
forms. Parsing a key, speech fragment or
Braille gesture does not execute it. Network readiness is not consent. The
reader must supply locally authorized leases and recheck them when effects are
delivered. See [protocol.md](protocol.md) for the wire contract and
@@ -63,15 +81,20 @@ make check
```
Tests create private loopback TLS listeners and in-memory test certificates.
Security-form tests use synthetic submissions, not real keyboard input.
They do not connect to public relays, the active reader, an accessibility bus,
the desktop display or a clipboard. Fixtures are independently written examples
the desktop display or a clipboard. The coordinator also uses the actual Go SDK
over private pipes against a synthetic lifecycle host. A separate workflow test
process exercises actual SDK form/lease IPC, storage and private relay TLS together.
Fixtures are independently written examples
based on source review, **not captured NVDA sessions**. There is no live desktop
test to run for this increment.
Pending: actual NVDA/add-on/Orca interoperability, production local consent and
reader session integration, speech delivery/export, exclusive keyboard capture,
injection provenance and reader-death recovery, clipboard permission, connection/trust UI
and saved-key UI actions, virtual Braille integration, physical displays and packaging. The
Pending: actual NVDA/add-on/Orca interoperability, physical-source approval and
connection-command integration, reader desktop services, speech delivery/export, exclusive keyboard capture,
injection provenance and reader-death recovery, clipboard permission,
endpoint/role selection and production connection UI integration, persistent-pin
management, virtual Braille integration, physical displays and packaging. The
full remote-control release must not be advertised until those gates pass.
## Relay trust