]> git.ekhem.eu.org Git - guix.git/commit
[infra] Harden worktree isolation; fix merge script git path
authorJakub Czajka <jakub@ekhem.eu.org>
Tue, 14 Jul 2026 20:03:00 +0000 (20:03 +0000)
committerJakub Czajka <jakub@ekhem.eu.org>
Wed, 15 Jul 2026 10:45:16 +0000 (10:45 +0000)
commitdb734305677d676ce5e72a2c9c50bed050d0a839
tree021ca36b5cbfef046302cd07776ae35b6591b353
parent0acc813187f912bbfbbd8754b9559de949717a12
[infra] Harden worktree isolation; fix merge script git path

create-worktree: Block Write/Edit file_path outside the
worktree, Bash cd to main or other worktrees, git -C on main
(except merge-worktree), and shell redirects to main.  Ensure
.claude/skills stays a symlink to main on entry.

merge-worktree, branch-summary: Use plain git from PATH
instead of hardcoded $HOME/.guix-home/profile/bin/git.

Co-Authored-By: Claude <noreply@anthropic.com>
.claude/hooks/create-worktree
.claude/scripts/branch-summary
.claude/scripts/merge-worktree
.claude/skills [new symlink]
.claude/skills/merge-worktree.md [deleted file]