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

+37 -7
View File
@@ -19,7 +19,7 @@ are relative to the adjacent `cthulhu` checkout.
| Go SDK | `ServeSession` and `SessionClient` provide 1.1 calls/events; legacy Serve remains unchanged. Real-process tests include blocked pipes and command concurrency. |
| Python SDK | `serve(session_client=...)` provides the same 1.1 lifecycle contract and conformance fixtures as Go, with a cancellable nonblocking pipe transport. |
| Installation | Installer, registry, discovery-to-package checks, local launch and command host now carry 1.1 install grants. Grants do not create session consent. |
| Updates/access | Install/update confirmations disclose grant direction and fresh local approval; disable/failure cancels leases. Updates revoke access before download, including failed preparation. Production consent, lock/handoff and desktop owner integration remain pending. |
| Updates/access | Install/update confirmations disclose grant direction and fresh local approval; disable/failure cancels leases. Updates revoke access before download, including failed preparation. Core consent and I38lock/XTerm policy cancellation now exist; physical-source acceptance, command registration and desktop owners remain pending. |
| Secret controls | Transient entries now support `secret: true`, with masked editing/speech/Braille, copy/cut denial and no values on cancellation. Persistent preference pages reject secrets. Private Xorg/SDK tests cover this prerequisite; a Remote connection UI, audible speech and physical Braille acceptance remain pending. See [the contract](../../cthulhu/docs/tentacle-secret-entries.md). |
| Input | `internal/platform/xorg/listener.go` uses XRecord observation. That does not consume desktop keys. A private prototype now demonstrates exclusive capture and helper EOF/watchdog cleanup; production ownership, trusted origin and physical collisions remain unresolved. See [the feasibility record](../../cthulhu/docs/testing/remote-input-feasibility.md). |
| Braille | `internal/braille/client.go` writes text/overlay dots through a helper. Shared viewport/cell-mask feasibility tests now demonstrate translated virtual cells and independent routing without a physical display. Virtual table/cursor policy, helper IPC and raw receiving remain open. See [the evidence](../../cthulhu/docs/testing/remote-braille-feasibility.md). |
@@ -39,13 +39,28 @@ must never mint consent.
table/cursor policy and implement isolated helper integration. These remaining
feasibility gates are not assumptions established by the relay library.
2. The [protocol 1.1 lifecycle foundation](../../cthulhu/docs/tentacle-sessions.md)
now exists through both SDKs and installation. Complete production local
consent, lock/handoff revocation and typed desktop operations; no child request
may create approval. The internal authorizer currently has only test callers.
now exists through both SDKs and installation. The reader's
[authorization increment](../../cthulhu/docs/tentacle-remote-authorization.md)
adds core consent, policy-bound production managers, I38lock/XTerm cancellation
and separate XI2 sensitive forms. Private tests establish XTEST rejection;
successful physical-source approval is still unverified. Register the
connection command and complete typed desktop operations; no child request
may create approval. The core consent procedure remains unregistered.
3. Use the secret-entry support and [secure storage](storage.md) for host-issued
connection, certificate-review and explicit saved-key actions. Integrate the relay
coordinator so all transport/session failures revoke the current lease and
close the connection before any retry or local Resume action.
connection, certificate-review and explicit saved-key actions. The
[library coordinator](lifecycle.md) now connects public SDK lifecycle events
and lease calls to relay cancellation and ordered close. Integrate it with
production local consent and UI; it currently has private fixture callers
only, discards desktop payloads and never retries or resumes automatically.
[Certificate and saved-key form handlers](security-ui.md) now provide explicit
certificate inspection, Copy/Trust once/Cancel and masked Remember/Forget
workflows, but have no production wiring until the reader can verify local
input origin.
The [connection-library workflow](connection-ui.md) now combines these forms
with Connect, explicit saved-key loading, status and epoch-scoped Disconnect.
It cancels pending setup/inspection on lifecycle loss and has a separate SDK
process fixture. Endpoint/role selection, persistent-pin UI, verified local
input origin and all production registration remain pending.
4. Add policy-resolved output observation and remote presentation with origin
ownership, secure-input/lock/handoff exclusion and local status priority.
5. Complete keyboard recovery, explicit clipboard transfer and virtual/raw
@@ -64,6 +79,21 @@ adds real filesystem tests for atomic replacement, endpoint scoping, permissions
links, FIFO rejection, locking, malformed/oversized files and secret-free errors.
Neither increment installs Remote or establishes live desktop acceptance.
The coordinator increment passed the complete Remote race suite and repository
`make check`. It covers both roles, heartbeat during stalled TLS, revoke/open
races, peer changes, SDK EOF and immediate socket cancellation independent of
an in-flight heartbeat. An actual Go SDK pipe fixture talks to a synthetic
lifecycle host. It does not exercise production consent or desktop effects;
see [the exact contract and remaining gates](lifecycle.md).
The following security-form increment adds private tests for certificate
inspection without application data, changed-pin review, fresh pin-authenticated
join, certificate rotation, cancellation and one-use review. Filesystem fixtures
exercise explicit Remember/Forget, secret-free responses and failed/cancelled
actions preserving existing keys. These are synthetic form submissions, not
production local consent or real keyboard/clipboard acceptance. See
[the security-form contract](security-ui.md).
The Braille feasibility increment passed both default and brlapi-tagged Braille
package suites with the race detector, tagged vet and a helper build. Eight new
tests exercise shared cell masks and real liblouis viewports without opening