II.
HookSurface JSON
Structured · livehook-surface:codex.on-stop
OnStop (Codex) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:codex.on-stop",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/codex-on-stop.yaml",
"_cluster": "channels-hooks",
"attributes": {
"eventName": "OnStop (Codex)",
"displayName": "OnStop (Codex)",
"kind": "native",
"originVendor": "OpenAI",
"direction": "post",
"blocking": false,
"family": "shell-hook",
"payloadSchema": {
"type": "object",
"required": [
"sessionId"
],
"properties": {
"sessionId": {
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"description": "Codex's session-stop hook. Fired when the assistant finishes its\nlast turn before yielding control. Canonicalizes to stop.\n"
},
"outgoingEdges": [
{
"from": "hook-surface:codex.on-stop",
"to": "hook-surface:stop",
"kind": "canonicalized_to",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-core-impl:codex.core@1.x",
"to": "hook-surface:codex.on-stop",
"kind": "fires_hook",
"attributes": {}
},
{
"from": "agent-runtime-impl:codex-app-server.runtime@current",
"to": "hook-surface:codex.on-stop",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:codex.runtime@1.x",
"to": "hook-surface:codex.on-stop",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:codex-on-stop-native",
"to": "hook-surface:codex.on-stop",
"kind": "maps_hook",
"attributes": {}
},
{
"from": "claim:stop-hook-codex-interactive-fires",
"to": "hook-surface:codex.on-stop",
"kind": "tests_hook_surface"
},
{
"from": "claim:stop-hook-codex-interactive-blocks",
"to": "hook-surface:codex.on-stop",
"kind": "tests_hook_surface"
}
]
}