You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.273,
Bug FixesSection of the release
What
Two points in headless session startup, firstCommandMountJoin and turnMountJoin, previously did nothing. They now, when a 'projects mount' is still pending, actually wait for it to finish via joinProjectsMountBeforeFirstCommand, bounded by timeout settings (PROJECTS_MOUNT_FIRST_COMMAND_WAIT_MS and a related floor value). turnMountJoin additionally waits for any pending 'grants' before letting the first turn proceed.
Why
This should prevent headless sessions from running commands or turns before required plugin/MCP project mounts and permission grants are actually ready, avoiding race conditions where a headless session acts before its environment is fully set up.