Commit graph

3 commits

Author SHA1 Message Date
ece7458a55 Start sessions with --dangerously-skip-permissions
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
2026-09-30 16:12:46 +00:00
b55ea07c96 Run sessions-web behind Authelia, configured only by env vars
Drop the app's own login (password hash, signed cookies, CSRF tokens, rate
limiting): Authelia via Caddy forward_auth is the login. The app refuses any
request without the Remote-User header (optionally limited to
SESSIONS_ALLOWED_USERS) and any cross-site POST (Sec-Fetch-Site / Origin).

The SSH key and the dev box host key now come from environment variables
printed by `sessions-ctl keygen`, so the container needs no secrets store or
mounts. Add compose.yaml so prod's panel can build and deploy it; remove the
Quadlet unit and the files it needed. README covers the panel deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KKYfRST9cTJYae3f7Jf3ac
2026-09-30 14:39:56 +00:00
08636ddc25 Document setup, security model and conventions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 11:55:38 +00:00