{
  "kind": "codex_hook_registry_evidence",
  "adapter_id": "codex",
  "codex_cli_version": "codex-cli 0.129.0",
  "captured_at": "2026-05-09T09:44:27Z",
  "sanitized": true,
  "registry_source": "codex app-server hooks/list",
  "feature_flag": "hooks",
  "configured_events": [
    {
      "codex_protocol_event": "PreCompact",
      "app_server_event_name": "preCompact",
      "config_key_fragment": "pre_compact",
      "trust_status_before_state": "untrusted",
      "trust_status_after_state": "trusted"
    },
    {
      "codex_protocol_event": "PostCompact",
      "app_server_event_name": "postCompact",
      "config_key_fragment": "post_compact",
      "trust_status_before_state": "untrusted",
      "trust_status_after_state": "trusted"
    },
    {
      "codex_protocol_event": "SessionStart",
      "app_server_event_name": "sessionStart",
      "config_key_fragment": "session_start",
      "trust_status_before_state": "untrusted",
      "trust_status_after_state": "trusted"
    },
    {
      "codex_protocol_event": "UserPromptSubmit",
      "app_server_event_name": "userPromptSubmit",
      "config_key_fragment": "user_prompt_submit",
      "trust_status_before_state": "untrusted",
      "trust_status_after_state": "trusted"
    },
    {
      "codex_protocol_event": "Stop",
      "app_server_event_name": "stop",
      "config_key_fragment": "stop",
      "trust_status_before_state": "untrusted",
      "trust_status_after_state": "trusted"
    }
  ],
  "notes": [
    "0.129 reports hooks as stable under the canonical feature key hooks.",
    "User hooks are discoverable but do not execute until config hook state stores the current trusted hash.",
    "PreCompact maps to context.pressure_observed and PostCompact maps to context.compacted.",
    "PreCompact and PostCompact are discoverable in 0.129; normal single-turn exec did not trigger compaction."
  ]
}
