TestIsAgentRunning and TestEnsureSessionFresh_ZombieSession were flaky
because they checked the pane command immediately after NewSession,
before the shell had fully initialized. Added WaitForShellReady calls
to wait for shell readiness before assertions.
Closes: gt-jzwx
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>