Unattended sessions otherwise stop at every tool approval until someone
answers through Remote Control. The limits that make this acceptable (bot
token scoped to allowlisted repos, branch protection, nothing production on
the box) are written down in the README's security model, along with the
remaining risk of prompt injection.
The one-time bypass-mode warning would block an unattended session. It's
suppressed by skipDangerousModePermissionPrompt in ~/.claude/settings.json,
and if it ever shows anyway, status now reports it as needs_attention, the
same way as the folder-trust prompt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CyWXJ3BVzrZ9VWk5c2CoAr
keygen generates an ed25519 pair in RAM, writes the public half to
config.toml and authorized_keys (replacing the previous sessions-manager
line) and prints the web app's environment - dev host, port, user, pinned
host key and the private key as one base64 line - then deletes the private
key, so the pasted copy is the only one. Refuses to replace an existing key
without --rotate. Local only, never reachable over SSH.
Also make load_config() read CONFIG_PATH at call time.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KKYfRST9cTJYae3f7Jf3ac
sessions-ctl creates, starts, stops and lists Claude Code sessions. Each one
is a checkout in ~/sessions/<name>, a state file and a systemd user unit that
runs claude with Remote Control in its own tmux server. Sessions are restarted
if they crash, come back at boot (linger), and resume the same conversation
by a pinned session UUID.
Over SSH it runs as a forced command: only list/repos/status/create/start/
stop/health are accepted, arguments are validated, and nothing reaches a shell
or Claude as a prompt. refresh-access keeps the key's from= restriction in
sync with the IP of reudy.net (hourly timer).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>