II.
HookSurface JSON
Structured · livehook-surface:claude.permission-denied
PermissionDenied (Claude Code) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:claude.permission-denied",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "PermissionDenied (Claude Code)",
"displayName": "PermissionDenied (Claude Code)",
"kind": "native",
"originVendor": "Anthropic",
"direction": "post",
"blocking": false,
"family": "observer",
"payloadSchema": {
"type": "object",
"required": [
"hook_event_name",
"tool_name",
"tool_input",
"tool_use_id",
"reason"
],
"properties": {
"hook_event_name": {
"type": "string",
"const": "PermissionDenied"
},
"tool_name": {
"type": "string"
},
"tool_input": {
"type": "object"
},
"tool_use_id": {
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"description": "Fires after a tool call is denied by the auto-mode classifier.\nObserver — cannot un-deny. Subscribers may emit retry: true to tell\nthe model it may retry the denied call.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:claude-code.runtime@1.x",
"to": "hook-surface:claude.permission-denied",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:claude-permission-denied",
"to": "hook-surface:claude.permission-denied",
"kind": "maps_hook",
"attributes": {}
}
]
}