Preserve the original PR #3885 commits and integrate latest main. Resolve local shell defaults, acknowledge committed workspace insertion, and preserve background readiness codes.