Use kwt's dedicated tmux server for managed workspaces - #197
Conversation
Kwt now places managed workspaces on a dedicated tmux server and reports attachment policy separately from the endpoint. Treating every named socket as protected would send ordinary workspaces through the pull-request path. Advance the helper and app contract together. Keep unresolved protected records protected without retaining a stale socket, and do not add a legacy fallback that infers policy from socket presence. Generated with Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
Three tests treated a five-second scheduling delay as a failure of render locking or SSH cancellation. Package-wide Swift Testing load could expire those deadlines before the queued work or helper process started. Synchronize on runner and process events instead. The tests still exercise real concurrent access and helper termination without making executor speed part of either contract. Generated with Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
Swift Testing schedules test bodies independently of SwiftPM's no-parallel setting. Unbounded package runs starved MainActor, process, and cancellation tests and let global render counters overlap with unrelated suites. Enforce the intended serial width in the canonical wrapper and synchronize cancellation fakes with observable events. Also reject Tailscale username results that arrive after the overall deadline, even when the timeout event loses the executor scheduling race. Generated with Codex Co-authored-by: OpenAI Codex <noreply@openai.com>
roborev: Combined Review (
|
Managed workspaces now open through the pinned kwt helper on its dedicated
tmux -L kwtserver. Ghosthub follows kwt's explicit attachment mode instead of treating every named socket as protected.kwt open; protected pull-request imports continue to usekwt pr attach. A same-named session on the default tmux server remains separate.d818907f61dd1111415dfa6bbb86a41a513dd71band updates the machine-readable contract and documentation for the requiredtmux_attach_modefield.The pinned helper contract passes against the bundled binary. The 1,898-test Swift suite passed four serial runs, including one against the exact committed history.