From 85474e9d70e66484433eee8174955f6026d248e6 Mon Sep 17 00:00:00 2001 From: konard Date: Wed, 17 Jun 2026 20:29:06 +0000 Subject: [PATCH 1/4] Initial commit with task details Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: https://github.com/ProverCoderAI/docker-git/issues/422 --- .gitkeep | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitkeep diff --git a/.gitkeep b/.gitkeep new file mode 100644 index 00000000..6268fa12 --- /dev/null +++ b/.gitkeep @@ -0,0 +1 @@ +# .gitkeep file auto-generated at 2026-06-17T20:29:06.338Z for PR creation at branch issue-422-f82d9e495b11 for issue https://github.com/ProverCoderAI/docker-git/issues/422 \ No newline at end of file From 705ea01b9fe977610b2118e7d44f70eca1b41cc0 Mon Sep 17 00:00:00 2001 From: konard Date: Wed, 17 Jun 2026 20:35:49 +0000 Subject: [PATCH 2/4] fix(session-sync): back up Claude sessions from CLAUDE_CONFIG_DIR docker-git points Claude Code at a custom CLAUDE_CONFIG_DIR, so chat transcripts land in "$CLAUDE_CONFIG_DIR/projects" rather than "~/.claude/projects". The backup only scanned home-relative paths, so the .claude folder in the docker-git-sessions backup repo stayed empty. Resolve each session root from its agent env override (CLAUDE_CONFIG_DIR for Claude, CODEX_HOME for Codex) with a home-relative fallback, keeping the logical .claude/projects / .codex/sessions names stable in the backup repo. Fixes #422 --- .changeset/session-sync-claude-config-dir.md | 16 ++++++ .../docker-git-session-sync/src/backup.ts | 15 ++++- packages/docker-git-session-sync/src/cli.ts | 2 +- packages/docker-git-session-sync/src/core.ts | 46 ++++++++++++++- .../docker-git-session-sync/src/snapshots.ts | 4 +- .../tests/session-files.test.ts | 57 +++++++++++++++++++ 6 files changed, 133 insertions(+), 7 deletions(-) create mode 100644 .changeset/session-sync-claude-config-dir.md diff --git a/.changeset/session-sync-claude-config-dir.md b/.changeset/session-sync-claude-config-dir.md new file mode 100644 index 00000000..3aefe087 --- /dev/null +++ b/.changeset/session-sync-claude-config-dir.md @@ -0,0 +1,16 @@ +--- +"@prover-coder-ai/docker-git-session-sync": patch +--- + +Back up Claude Code sessions from the resolved `CLAUDE_CONFIG_DIR` (issue #422). + +docker-git points Claude Code at a custom `CLAUDE_CONFIG_DIR` +(`~/.docker-git/.orch/auth/claude/