Attach Remote keyboard injection to approved controlled sessions

Local launch and managed startup now start the incoming-key owner for
sessions installed with keyboard-inject, using one input-helper
Supervisor retained for the reader lifetime. Delivery rechecks lock,
XTerm handoff and internal reader UI in addition to lease, grant and
deadline. build-cthulhu.sh and both Arch packages build and install
cthulhu-input-helper; a missing helper leaves keyboard input
unavailable without affecting startup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chase CichorzandClaude Opus 5.5 committed 2026-11-06 16:06:38 -05:00
1 parent c1333c2fdb
commit 27017bef11
13 files changed
+362 -66

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ its own process. `internal/remoteinput` supplies bounded private IPC, a separate
EOF lifeline, and a three-second heartbeat watchdog. The helper owns its X
connection and stored destination-key ledger on one locked OS thread.
No production reader owner launches this helper or attaches `remote.key`.
At this increment, no production reader owner launched this helper or attached `remote.key`. (Superseded 2026-11-06: see [production attachment](../tentacle-remote-keyboard.md#production-attachment-2026-11-06).)
Remote's UI still offers experimental speech only and discards keyboard traffic.
The ordinary build/install script still builds the reader and Braille helper;
this additional executable is source-built by the private test harness only.
@@ -164,12 +164,12 @@ and Control on a separate X connection before fresh-helper admission.
This launcher is callable only as a quarantined prerequisite. Production reader
startup does not construct it, the mailbox has no production native owner, and
the normal build/install script still does not install the input helper. No native
delivery-time policy or physical collision safety is implied.
delivery-time policy or physical collision safety is implied. (Superseded 2026-11-06: see [production attachment](../tentacle-remote-keyboard.md#production-attachment-2026-11-06).)
### Quarantined lease/mailbox worker
`internal/app.run_remote_keyboard` now joins an explicitly enabled reader key
mailbox to a retained Supervisor. It has no production caller. One worker owns
mailbox to a retained Supervisor. At this increment it had no production caller. (Superseded 2026-11-06: see [production attachment](../tentacle-remote-keyboard.md#production-attachment-2026-11-06).) One worker owns
one session's mailbox and serially sends its transitions; it creates no extra
key queue. Host queued/in-flight budgets remain reserved until helper operation
completion or the full cleanup barrier, including uncertain effects.