{"version":"2.1.196","anchor":"prompt-id-in-hook-events","canonical_anchor":"prompt-id-in-hook-events","heading":"Prompt ID in Hook Events","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.196\/e\/prompt-id-in-hook-events","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.196","markdown":"### Prompt ID in Hook Events\n\nHook events now carry a `prompt_id` field: a UUID that correlates all events generated within a single user prompt turn. The same value appears as the `prompt.id` attribute on OpenTelemetry events, allowing hook output to be joined with OTel traces at prompt granularity.\n\n**Details**\n\n- Absent until the first user input of the process lifetime.\n- Consistent across tool calls, notifications, and other events triggered by the same prompt.\n\n**Evidence**\n\nNew hook field (search for `\"UUID correlating a user prompt with all subsequent events until the next prompt\"`)"}