Skip to content
claude-mods
Menu

git

git

The worktree guard and /wrap run read-only git commands with bounded timeouts; neither ever pushes.

The worktree guard runs git only for git worktree add, git merge, git pull and broad adds, each call bounded to 5 s. A git call that fails or times out counts as nothing found, so the command passes.

/wrap reads git status, git for-each-ref and git log @{u}..HEAD with a 4 s timeout, and prints any push command for you to run.