workspace_env() builds every project-shaped KEY=VALUE pair (backends, CA vars, MANAGED_AUTH_KEYS blanking, custom env, instructions, Claude Code settings); create_container keeps COLORTERM, HOST_UID/GID and the host lookups (CA resolution, keychain token) and formats the pairs. Golden vectors recorded from the pre-refactor block pin the order and values. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>