Skip to content

fix(pty): allow ticket-authorized ownership takeover - #10

Open
jlongster wants to merge 1 commit into
masterfrom
ticket-takeover
Open

fix(pty): allow ticket-authorized ownership takeover#10
jlongster wants to merge 1 commit into
masterfrom
ticket-takeover

Conversation

@jlongster

Copy link
Copy Markdown
Collaborator

Summary

  • Let a valid, unexpired handoff ticket replace a live owner immediately, consuming the ticket atomically.
  • Track ownership generations so superseded connections cannot prepare handoffs, stop the daemon, or clear successor ownership on disconnect.
  • Add regression coverage for terminal continuity, stale-owner cleanup and commands, ticket expiry, and concurrent claimants; document the updated handoff contract.

Validation

  • Formatting, Clippy, and all 35 tests passed on the original base.
  • Use CI for validation against the latest master; local rebuild stopped as requested.

Rollout

Requires an updated PTY daemon build. Already-running older daemons retain the previous handoff behavior.

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