Skip to main content Module operations Copy item path Source ai_tools Operations module — business logic for all commands. backup busy Busy detection: determine whether a worktree is currently in use. busy_messages Render gw delete refusal messages for the 3-tier busy model.
Pure string formatting; no I/O. Kept separate from busy.rs so the
detection logic can be tested without locale/styling concerns. claude_session Hard-tier in-use signal: detects active Claude Code sessions in a
worktree by inspecting ~/.claude/projects/<encoded>/*.jsonl event tails. clean config_ops delete_batch Batch deletion orchestration for gw delete. diagnostics display git_ops global_ops Global worktree management operations. guard gw guard — Claude Code hook helper that vets inbound Bash tool calls.helpers launchers lockfile Session lockfile — explicit “this worktree is in use” marker. path_cmd pr_cache Batched PR-status cache for gw list. setup_claude Plugin installer for Claude Code integration. shell spawn_spec Spawn-spec — safely launch AI tools without shell escape hazards. stash worktree