538251d995
Pull the inline docker CLI helpers (`dockerInspectExists`, `dockerStop`, `dockerCurrentBranch`, etc.) and the generic session-state pollers (`waitForLatestSessionDone`, `waitForSessionDone`, `waitForSessionEnvironment`) into `e2e/helpers/docker.ts` and `e2e/helpers/session.ts`. The spec drops from 763 to 647 lines and the helpers can be reused by future docker / session tests.