Phase 1: The session join attaches without checking for a terminal, and reports tmux's refusal as a command failure #686

Merged
claude merged 7 commits from IW-599-phase-01 into IW-599 2026-10-03 00:31:34 +00:00
Member

Phase 01 implementation for IW-599.

Files

Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-599-phase-01/

Phase 01 implementation for IW-599. ### Files Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-599-phase-01/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Stdin.isTerminal capability, live check through sh -c 'test -t 0'
- WorkspaceSession.join prints the attach command and returns ok when stdin is not a terminal
- Harness regression tests and BATS exit-status assertions, plus a pty test for the attach branch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(IW-599): state the phase-pr push follow-up as evidence only
Some checks failed
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 14s
CI / test (pull_request) Has been cancelled
CI / dashboard-build (pull_request) Has been cancelled
CI / compile (pull_request) Has been cancelled
230ceda646
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore(IW-599): update review-state for phase 01
Some checks failed
CI / changes (pull_request) Successful in 4s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 12s
CI / compile (pull_request) Successful in 1m37s
CI / dashboard-build (pull_request) Successful in 1m14s
CI / test (pull_request) Failing after 16m30s
17deccc00b
fix(test): give the attach test a terminal type tmux accepts
All checks were successful
CI / changes (pull_request) Successful in 5s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 10s
CI / lint (pull_request) Successful in 12s
CI / compile (pull_request) Successful in 1m37s
CI / dashboard-build (pull_request) Successful in 1m13s
CI / test (pull_request) Successful in 15m46s
83f512eed3
CI runs with TERM unset or dumb, so tmux refused to attach the pty that
script(1) provides: "terminal does not support clear".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude merged commit 93a319b71c into IW-599 2026-10-03 00:31:34 +00:00
claude deleted branch IW-599-phase-01 2026-10-03 00:31:34 +00:00
Sign in to join this conversation.
No description provided.