From 6882aa7c146d1716e12f0a6a33d50367107a3f2e Mon Sep 17 00:00:00 2001 From: bchanot Date: Fri, 9 Oct 2026 00:26:26 +0200 Subject: [PATCH] =?UTF-8?q?chore(memory):=20journal=20=E2=80=94=20feat=20d?= =?UTF-8?q?ocker-rootless?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/memory/journal.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.claude/memory/journal.md b/.claude/memory/journal.md index 4518866..cf73e6c 100644 --- a/.claude/memory/journal.md +++ b/.claude/memory/journal.md @@ -123,3 +123,6 @@ Done: choose_macos_shell default bash → zsh (Enter, no tty, unknown value). Fo ## 2026-10-07 (3) — gitflow.autopush asked at install, hooksPath fixed, identity bug Done: `gitconfig` template `[gitflow] autopush = @AUTOPUSH@` + fixed `core.hooksPath = ~/.claude/githooks`; install.sh `resolve_autopush` (existing ~/.gitconfig value via sed → `DOTFILES_GITFLOW_AUTOPUSH` strict, bad value aborts → prompt re-asks exact true/false, Enter = true → true), `render_gitconfig` fail-closed (non-boolean / leaked placeholder = nothing written). Found by challenge: install.sh:688 passed the repo bashrc TEMPLATE to deploy_gitconfig → every install wrote `name = @USER@`; fixed, identity passed directly. `shopt -u patsub_replacement` (bash ≥ 5.2 `&` in names). Oracle harness `.claude/tasks/contracts/check-autopush-render.sh` (12 cases, scratch HOMEs, zero `git config`: that command family is denied to the session). 3 challengers + 1 confirm, verifier ECARTS(1) → CONFORME, security PASS (MEDIUM noted: newline in IDENTITY_* env injects gitconfig lines, pre-existing for rc too). Code commit 9901ec5 on feature/gitconfig-autopush; merge on user signal. + +## 2026-10-09 — rootless Docker offered at install +Done: `offer_docker_rootless()` (uidmap/dbus-user-session/slirp4netns/docker-ce-rootless-extras, `dockerd-rootless-setuptool.sh install` no --force, enable-linger, rootful daemon untouched), extras in install_docker list, bashrc-linux exports DOCKER_HOST only when the user socket exists (no PATH line: apt variant puts the tool in /usr/bin, not ~/bin). README step 16. Stub harness 4 cases + snippet with/without socket OK, shellcheck clean. Branch feature/docker-rootless, not merged. Machine state: rootless already set up by hand, rootful daemon still enabled, ~/.bashrc has a hardcoded uid 1000 DOCKER_HOST line (redeploy replaces it).