iiRecord
Agentic AI Atlas · PostCompact (Claude Code)
hook-surface:claude.post-compacta5c.ai
II.
HookSurface JSON

hook-surface:claude.post-compact

Structured · live

PostCompact (Claude Code) json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yamlCluster · channels-hooks
Record JSON
{
  "id": "hook-surface:claude.post-compact",
  "_kind": "HookSurface",
  "_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
  "_cluster": "channels-hooks",
  "attributes": {
    "eventName": "PostCompact (Claude Code)",
    "displayName": "PostCompact (Claude Code)",
    "kind": "native",
    "originVendor": "Anthropic",
    "direction": "post",
    "blocking": false,
    "family": "observer",
    "payloadSchema": {
      "type": "object",
      "required": [
        "hook_event_name",
        "trigger"
      ],
      "properties": {
        "hook_event_name": {
          "type": "string",
          "const": "PostCompact"
        },
        "trigger": {
          "type": "string",
          "enum": [
            "manual",
            "auto"
          ]
        }
      }
    },
    "description": "Fires after context compaction completes. Pairs with PreCompact\n(which is blocking; this one is observer-only). Used for\ncompaction-event telemetry + downstream context refresh.\n"
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "agent-runtime-impl:claude-code.runtime@1.x",
      "to": "hook-surface:claude.post-compact",
      "kind": "exposes",
      "attributes": {}
    },
    {
      "from": "hook-mapping:claude-post-compact",
      "to": "hook-surface:claude.post-compact",
      "kind": "maps_hook",
      "attributes": {}
    }
  ]
}