Background daemon auto-spawn fails over SSH: "Could not switch to audit session ... Operation not permitted"

Resolved 💬 1 comment Opened Jul 1, 2026 by esotericelk Closed Jul 1, 2026

Description

Duplicate report — closing. (Original content removed.)

Summary for reference: on macOS, running Claude Code over an SSH-only session (no local console/GUI login session), the background daemon's on-demand ("transient") auto-spawn can fail with an audit-session error, breaking --bg dispatch. Manually running claude daemon run in the background as a persistent process works as a workaround.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗