II.
HookSurface JSON
Structured · livehook-surface:claude.cwd-changed
CwdChanged (Claude Code) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:claude.cwd-changed",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "CwdChanged (Claude Code)",
"displayName": "CwdChanged (Claude Code)",
"kind": "native",
"originVendor": "Anthropic",
"direction": "post",
"blocking": false,
"family": "observer",
"payloadSchema": {
"type": "object",
"required": [
"hook_event_name",
"previous_cwd",
"cwd"
],
"properties": {
"hook_event_name": {
"type": "string",
"const": "CwdChanged"
},
"previous_cwd": {
"type": "string"
},
"cwd": {
"type": "string"
}
}
},
"description": "Fires when the working directory changes (e.g. via cd command). Has\naccess to CLAUDE_ENV_FILE for reactive environment management.\nAlways fires (no matcher).\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:claude-code.runtime@1.x",
"to": "hook-surface:claude.cwd-changed",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:claude-cwd-changed",
"to": "hook-surface:claude.cwd-changed",
"kind": "maps_hook",
"attributes": {}
}
]
}