Record independent input helper cleanup and verification

This commit is contained in:
ak47 committed 2026-11-05 22:37:11 -05:00
1 parent b88565adf4
commit 71d77d19a4
5 files changed
+67 -9

No files matched your search

+12 -2
View File
@@ -122,11 +122,21 @@ for up and retains uncertain effects/failed releases for retry. A private Xorg
backend resolves fresh group-zero XKB snapshots and rejects unavailable or
ambiguous mappings and lock-key downs. Native tests inspect owned key state
across layout and Num Lock changes and preserve preexisting synthetic keys.
There is no production caller, mailbox attachment or independent helper cleanup.
Later physical same-code collisions, native repeat policy, crash recovery and
The [source-built helper](../../cthulhu/docs/testing/remote-input-helper.md) now
provides private process-lifetime, EOF and watchdog cleanup with bounded ACK
handling. There is no production reader launcher or mailbox attachment.
Later physical same-code collisions, native repeat policy, actual reader crash recovery and
input provenance still block production use. Failed native cleanup must block
replacement input; an old release cannot be sent into a replacement helper.
Private helper tests use separate writer and helper process groups, exclusive
control/lifetime write ends and a separate X connection to inspect owned keys.
Writer death/hang, explicit close, graceful signals, wrong epochs, replay,
heartbeat renewal and stalled stdout retire the source-built helper without
claiming a physical-key or blocked-X-server guarantee. Failed/missing cleanup
confirmation blocks replacement; helper death itself still can leave keys held.
No helper is launched by the source Remote command or ordinary reader startup.
These helpers have no callers in the live coordinator. Before connecting them to
production keyboard services, the reader must provide exclusive capture, trusted routing,
delivery-time lease checks, a core escape and independent injection cleanup.