Skip to content

Tolerate tmux lookup delays on loaded Macs - #4

Merged
mgc26 merged 1 commit into
mainfrom
codex/tmux-timeout-hardening
Aug 10, 2026
Merged

Tolerate tmux lookup delays on loaded Macs#4
mgc26 merged 1 commit into
mainfrom
codex/tmux-timeout-hardening

Conversation

@mgc26

@mgc26 mgc26 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • raise both tmux identity lookup ceilings from two seconds to five seconds
  • preserve the existing fail-open hook behavior while avoiding identity fallback on a loaded Mac

Root cause

The public-release fresh-clone gate reproduced three failures in which a trivial tmux shim did not receive CPU time before the two-second child-process timeout. Claude events then lost their control target, while Codex events fell back to a cwd-derived identity and could split one session across two files.

Validation

  • affected Claude and Codex hook suites: 50/50 passed
  • full suite: 381/381 passed on the installed runtime
  • full suite and TypeScript build: 381/381 passed on Node 22.18.0
  • full suite and TypeScript build: 381/381 passed on Node 24.18.1
  • npm audit: 0 vulnerabilities

@mgc26
mgc26 merged commit 4e25b38 into main Aug 10, 2026
2 checks passed
@mgc26
mgc26 deleted the codex/tmux-timeout-hardening branch August 10, 2026 19:16
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