Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
iiRecord
Agentic AI Atlas · WorktreeCreate (Claude Code)
hook-surface:claude.worktree-createa5c.ai
Search record views/
Record · tabs

Available views

II.Record viewspp. 1 - 1
overviewjsongraph
II.
HookSurface overview

hook-surface:claude.worktree-create

Reference · live

WorktreeCreate (Claude Code) overview

Fires when a worktree is being created via --worktree or isolation: "worktree". REPLACES the default git behavior: the hook is expected to print the new worktree path to stdout (or return hookSpecificOutput.worktreePath for HTTP hooks). Any non-zero exit fails the creation entirely.

HookSurfaceOutgoing · 0Incoming · 2

Attributes

eventName
WorktreeCreate (Claude Code)
displayName
WorktreeCreate (Claude Code)
kind
native
originVendor
Anthropic
direction
pre
blocking
true
family
shell-hook
payloadSchema
type
object
required
  • hook_event_name
  • base_path
properties
hook_event_name
type
string
const
WorktreeCreate
base_path
type
string
worktree_path
type
string
description
Fires when a worktree is being created via --worktree or isolation: "worktree". REPLACES the default git behavior: the hook is expected to print the new worktree path to stdout (or return hookSpecificOutput.worktreePath for HTTP hooks). Any non-zero exit fails the creation entirely.

Outgoing edges

None.

Incoming edges

exposes1
  • agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
maps_hook1
  • hook-mapping:claude-worktree-create·HookMapping

Related pages

No related wiki pages for this record.

Shortcuts

Open in graph
Browse node kind