Skip to content

v1.4.1: Docker session mode hardening + File Viewer button - #160

Merged
Ark0N merged 1 commit into
masterfrom
feat/docker-session-mode
Jul 19, 2026
Merged

v1.4.1: Docker session mode hardening + File Viewer button#160
Ark0N merged 1 commit into
masterfrom
feat/docker-session-mode

Conversation

@Ark0N

@Ark0N Ark0N commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Follow-up fixes to Docker session mode (shipped in #158), plus an opt-in File Viewer header button. Bumps to 1.4.1.

What Docker session mode is (recap): a case can run inside an isolated, hardened Docker container instead of on the host, and any CLI backend (Claude, Codex, Gemini, OpenCode, or a plain shell) runs inside it. It's a location overlay on cases — not a new session mode — and the container analog of remote-SSH cases: a local tmux pane docker execs into a durable in-container tmux, with exactly one long-lived container per case that multiple sessions share. Workspace, credentials, and transcripts are bind-mounted so the agent is authenticated and resumable; containers are hardened by default (--cap-drop ALL, --security-opt no-new-privileges, non-root, pids/memory caps, --init, never --privileged or the docker socket) and export-safe.

Fixes in this release

  • Seamless Claude auth in containers~/.claude.json is no longer bind-mounted as a single file (that mount point broke Claude's atomic-rename config writes, forcing re-auth and, via failed in-place writes, corrupting the host ~/.claude.json). It's now seeded as a writable, onboarding-complete copy, so a docker session boots straight to the prompt (no theme picker, login, or folder-trust prompt).
  • Claude-state isolation — containers no longer bind-mount the whole ~/.claude. Only ~/.claude/projects transcripts are shared (host watchers + --resume); credentials/settings/stats-cache are seeded as writable copies; everything else stays container-local.
  • Codex/Gemini/gcloud/opencode isolation — codex shares sessions/+history.jsonl and seeds auth.json/config.toml; gemini/gcloud/opencode are whole seed-copies. No container write-back into host credential dirs.
  • Base image auto-builds on first use — a missing codeman/agent:base no longer blocks case creation/launch (concurrency-safe, SSE progress).
  • UTF-8 locale (LANG/LC_ALL=C.UTF-8) — fixes tmux box-drawing (qqqq artifacts).
  • Create Case UI — larger/collapsed "Run in Docker" settings, shorter hint; short (docker) case-menu tags.
  • Tab naming — docker/remote (and codex/gemini/opencode) sessions follow w<n>-<case> instead of codeman-<id>.
  • Opt-in File Viewer header button; fixed a timezone-boundary flaky test.

Verified end-to-end against real Docker + the full test suite (3484 tests). Deployed locally at 1.4.1.

🤖 Generated with Claude Code

Docker cases: seamless Claude auth (seed ~/.claude.json instead of the
corruption-prone single-file mount), full credential-store isolation for
claude + codex/gemini/gcloud/opencode (share only transcripts/rollouts,
seed the rest), auto-build the base image on first use, C.UTF-8 locale
(fixes box-drawing), collapsed/shortened Create-Case UI + short "(docker)"
case-menu tags, and w<n>-<case> tab naming for docker/remote sessions.
Also: opt-in File Viewer header button; fix a TZ-boundary flaky test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Ark0N
Ark0N force-pushed the feat/docker-session-mode branch from 90acecb to ca731c6 Compare July 19, 2026 23:36
@Ark0N
Ark0N merged commit d1928f3 into master Jul 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants