Merge #863: fix: a server running as root starts Claude, and a headless install gets past sudo

This commit is contained in:
Codeman maintainer committed 2026-12-03 10:15:12 +01:00
commit 95ad7f2d00
19 files changed
+984 -21

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"aicodeman": patch
---
Claude sessions now start when Codeman itself runs as root (a VPS, an LXC container): Claude Code refuses `--dangerously-skip-permissions` under root and every local Claude tab showed a dead pane, so a root server now starts Claude without the bypass (it asks for permission instead) and says so in the server log.
+5
View File
@@ -0,0 +1,5 @@
---
"aicodeman": patch
---
The installer no longer stops on "Failed to obtain sudo privileges" in a headless run with a working passwordless sudo (`su - user -c`, cron, a CI runner, cloud-init): it now checks whether `/dev/tty` can be opened before taking sudo's input from it, where it used to test only that the node exists.