Skip to content

Stop the Mac receiver when its native client exits - #3

Merged
Lokilankaaa merged 1 commit into
mainfrom
feature/receiver-supervision
Oct 28, 2026
Merged

Lokilankaaa merged 1 commit into
mainfrom
feature/receiver-supervision

Conversation

@Lokilankaaa

Copy link
Copy Markdown
Owner

The Mac receiver previously outlived a closed or crashed client because it did not monitor the parent control pipe. The UI also had no authoritative listener/authentication/input status.

Add opt-in receive --control-stdio supervision: parent EOF or a stop command requests cooperative cleanup, malformed commands/output failure stop with an error, and bounded status frames report actual receiver state. Final success is emitted only after input ownership, discovery and logs have finished cleanup. Existing callers and injection defaults remain unchanged. This provides the core interface for SwiftUI integration; the UI is not wired yet.

Validation: Windows workspace (177 core, 4 CLI, 1 ordinary process, 7 bridge), 5 real DrySink child-process tests, 2 observer tests, 7 input transport and 2 reconnect tests passed. Windows and Apple-target Clippy passed. Native Mac CI now includes the new observer and process tests; results pending. No OS input or physical smoothness acceptance is claimed.

@Lokilankaaa
Lokilankaaa merged commit 2b85998 into main Oct 28, 2026
1 check passed
@Lokilankaaa
Lokilankaaa deleted the feature/receiver-supervision branch November 22, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant