Repository navigation
Conversation
why: A tmux command status does not report how a terminal program finished or what it last displayed. what: - Share a dedicated program owner across core and Async. - Retain bounded screen text and observe exit status or signal. - Require tmux 3.7 for the program preview and verify refusal.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #122.
What changed, and why:
Preview an owner for a terminal program on a dedicated tmux daemon. Core and Async accept literal argv, return the same program interface for input and resize, and let callers wait independently for an exit code or signal and a bounded final screen. The example reports an application failure with its UTF-8 diagnostic.
The preview requires tmux 3.7. In a 30-run probe, tmux 3.3a lost final output six times despite exit 0. Independent 100-run checks retained the final line on each of tmux 3.7 and 3.8. An older-tmux pipe prototype retained it in 30 runs. Its lifecycle and queue ordering remain open.
The owner retires the dedicated daemon and terminal. A process that ignores SIGHUP or detaches can survive. Borrowed-daemon generation checks, external respawn safety, descendant termination and MCP operations remain part of #122.
Checks run:
scripts/check outeron Ruby 4.0.7 and tmux 3.8 (149s). Unit, integration, installed-artifact, RBS and rendered documentation checks passed. The older-tmux refusal case skipped as expected.Tool use:
Codex and Sol 6.2 implemented the prototype and independently tested terminal drain, adapter isolation, deadline and cancellation, and cleanup. Codex checked the final diff, example, version decision, and repository gates.