Description
OpenClaw host detection reports the wrong macOS version on macOS 26 (Tahoe).
Expected: macOS 26.5.1 (Tahoe)
Actual: macOS 15.x (Sequoia) — derived from uname -r returning 25.5.0
$ sw_vers
ProductName: macOS
ProductVersion: 26.5.1
BuildVersion: 25F80
$ uname -r
25.5.0
Root Cause
OpenClaw appears to determine the macOS version by mapping the Darwin kernel major version (uname -r) directly to the macOS major version (Darwin 25 → macOS 15). This mapping broke with macOS 26 (Tahoe), which uses Darwin kernel 25.x.
Suggested Fix
Fall back to sw_vers -productVersion for the macOS product version instead of relying solely on uname -r. The Darwin kernel version and macOS marketing version are no longer in sync starting with Tahoe.
Environment
- OpenClaw 2026.6.8
- macOS 26.5.1 (Tahoe) 25F80
- Darwin 25.5.0
Description
OpenClaw host detection reports the wrong macOS version on macOS 26 (Tahoe).
Expected: macOS 26.5.1 (Tahoe)
Actual: macOS 15.x (Sequoia) — derived from
uname -rreturning25.5.0Root Cause
OpenClaw appears to determine the macOS version by mapping the Darwin kernel major version (
uname -r) directly to the macOS major version (Darwin 25 → macOS 15). This mapping broke with macOS 26 (Tahoe), which uses Darwin kernel 25.x.Suggested Fix
Fall back to
sw_vers -productVersionfor the macOS product version instead of relying solely onuname -r. The Darwin kernel version and macOS marketing version are no longer in sync starting with Tahoe.Environment