Sends a valid JSON request to ptyc via stdin, verifies it parses the request (exit 2 = syscall failed, not exit 1 = bad request). Full PTY setup needs socketpair/SCM_RIGHTS which only PtySession provides. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>