Repository navigation
Route tmux control replies to the requesting pane - #161
Merged
Merged
Conversation
tony
added a commit
that referenced
this pull request
Dec 3, 2026
why: Readers need the behavior and scope of this change at release. what: - Add the unreleased entry for PR #161 - Preserve previously published notes and the parent branch's entries
tony
marked this pull request as ready for review
December 3, 2026 01:33
This was referenced Dec 3, 2026
tony
force-pushed
the
fix/75-control-command-ownership
branch
from
December 3, 2026 23:58
df24967 to
4b300fd
Compare
This was referenced Dec 4, 2026
why: A shared client's untargeted error can fail the wrong pane. what: - Identify a pane's batch before handling its command replies. - Verify the target pane at the pause barrier. - Document writing the marker and batch together. - Exercise capture and pause failures against a shared tmux client. Fixes #75
why: Several panes can issue commands on one control client. A failed
command must reach its requesting pane.
what:
- Show how to write the reply marker and command batch together.
why: Calling begin_attach() right after new-session can pause and capture the healthy pane before its shell writes READY中 under load. what: - Poll capture-pane on the healthy pane until READY中 appears before attaching the control client.
tony
force-pushed
the
fix/75-control-command-ownership
branch
from
December 5, 2026 13:49
4b300fd to
ddfe332
Compare
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.
Closes #75
What changed, and why:
A control client can drive multiple pane observers even when one pane disappears during attach or capture. Write the full returned marker and command batch with a final newline. Each observer handles errors for its own batch.
Checks run:
On Linux, Ruff formatting and lint, ty for Python 3.12 through 3.15, the full pytest suite with doctests, compiled Ghostty comparisons, and the Sphinx warnings-as-errors build passed.
Tool use:
Codex prepared the change and ran the local checks. A separate Codex reviewer replayed the changed behavior and checked the publication tree against the reviewed patch.