Skip to main content

AGENT_PHASE_HOOKS_DIR

Static AGENT_PHASE_HOOKS_DIR 

Source
pub static AGENT_PHASE_HOOKS_DIR: Mutex<Option<PathBuf>>
Expand description

Process-global hooks dir set during start_agent_phase_in_repo.

Used by signal handler cleanup to avoid recomputation via libgit2. For linked worktrees, hooks are worktree-scoped, so this ensures the signal handler cleans the active worktree’s hooks instead of touching siblings.