diff --git a/src/lib/onboard/sandbox-dockerfile-patch-flow.ts b/src/lib/onboard/sandbox-dockerfile-patch-flow.ts index c39474e16f7..70fa4ffb2a2 100644 --- a/src/lib/onboard/sandbox-dockerfile-patch-flow.ts +++ b/src/lib/onboard/sandbox-dockerfile-patch-flow.ts @@ -136,6 +136,7 @@ export async function prepareSandboxDockerfilePatch({ log, }, ); + const darwinVmCompat = false; (deps.patchStagedDockerfile ?? patchStagedDockerfile)( stagedDockerfile, model, @@ -145,7 +146,7 @@ export async function prepareSandboxDockerfilePatch({ preferredInferenceApi, webSearchConfig, resolved ? resolved.ref : null, - false, + darwinVmCompat, null, hermesToolGateways, ); diff --git a/test/e2e/test-openshell-gateway-upgrade.sh b/test/e2e/test-openshell-gateway-upgrade.sh index 327c096c66b..0fe6ac79115 100755 --- a/test/e2e/test-openshell-gateway-upgrade.sh +++ b/test/e2e/test-openshell-gateway-upgrade.sh @@ -450,7 +450,7 @@ exercise_macos_docker_rootfs_permission_regression() { || fail "Dockerfile is missing the macOS VM rootfs compatibility ARG" grep -Fq "ARG NEMOCLAW_DARWIN_VM_COMPAT=\${sanitizeDockerArg(darwinVmCompat ? \"1\" : \"0\")}" src/lib/onboard/dockerfile-patch.ts \ || fail "Dockerfile patch helper does not patch the macOS VM rootfs compatibility ARG" - grep -Fq "Docker-on-Colima uses normal container ownership" src/lib/onboard.ts \ + grep -Fq "const darwinVmCompat = false;" src/lib/onboard/sandbox-dockerfile-patch-flow.ts \ || fail "onboard does not keep macOS Docker sandbox builds out of the VM rootfs compatibility path" grep -q "chmod -R a+rwX /sandbox/.openclaw" Dockerfile \ || fail "Dockerfile does not relax OpenClaw state permissions for macOS VM rootfs remapping"