Skip to content

Bug: Darwin kernel version 25.x incorrectly mapped to macOS 15.x (should be macOS 26 / Tahoe) #95145

Description

@toshon-jennings

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions