From jj-worktree-compat
When a session ends: runs "${CLAUDE_PLUGIN_ROOT}/hooks/workspace-lifecycle.sh" session-end. After a tool call (Bash): runs "${CLAUDE_PLUGIN_ROOT}/hooks/workspace-lifecycle.sh" track. And 3 more.
5 events · 5 hooks
Ships in jj-worktree-compat. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
"${CLAUDE_PLUGIN_ROOT}/hooks/workspace-lifecycle.sh" session-end10sBash"${CLAUDE_PLUGIN_ROOT}/hooks/workspace-lifecycle.sh" track10scommand -v jj >/dev/null 2>&1 || { echo 'jj-tools: jj (Jujutsu) is required but not found. Install: https://jj-vcs.github.io/jj/latest/install-and-setup/' >&2; exit 1; }5s"${CLAUDE_PLUGIN_ROOT}/hooks/jj-worktree-create.sh"120s"${CLAUDE_PLUGIN_ROOT}/hooks/jj-worktree-remove.sh"120sWhere this hook configuration is defined
Defined in hooks/hooks.json
Other plugins' hooks for the same job
npx claudepluginhub get-real-xr/agent-plugins --plugin jj-worktree-compat