v1.4.1: Docker session mode hardening + File Viewer button - #160
Merged
Conversation
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
force-pushed
the
feat/docker-session-mode
branch
from
July 19, 2026 23:36
90acecb to
ca731c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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--privilegedor the docker socket) and export-safe.Fixes in this release
~/.claude.jsonis 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. Only~/.claude/projectstranscripts are shared (host watchers +--resume); credentials/settings/stats-cache are seeded as writable copies; everything else stays container-local.sessions/+history.jsonland seedsauth.json/config.toml; gemini/gcloud/opencode are whole seed-copies. No container write-back into host credential dirs.codeman/agent:baseno longer blocks case creation/launch (concurrency-safe, SSE progress).LANG/LC_ALL=C.UTF-8) — fixes tmux box-drawing (qqqqartifacts).(docker)case-menu tags.w<n>-<case>instead ofcodeman-<id>.Verified end-to-end against real Docker + the full test suite (3484 tests). Deployed locally at 1.4.1.
🤖 Generated with Claude Code