{"version":"2.1.333","anchor":"prompt-submit-hook-consent-telemetry","canonical_anchor":"prompt-submit-hook-consent-telemetry","heading":"Plugin hooks record whether prompt consent was respected","tier":"internal","area":"Plugin Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/prompt-submit-hook-consent-telemetry","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Plugin hooks record whether prompt consent was respected\n\nPlugin hooks now record whether consent for prompts was respected, and `\/bug` reports gain two extra fields about hooks and withheld requests\n\n**What**\n\nA hook is a piece of code that runs automatically at set points while Claude Code works, and plugins can supply hooks written as functions. Claude Code now tracks whether these plugin hooks respected consent for prompts, and logs it.\n\nReports made with `\/bug` also carry two new pieces of information:\n\n- whether a hook changed something\n\n- whether the most recent request to the API was held back\n\n**Why**\n\nHow hooks handle consent now leaves a visible record, which helps when something goes wrong and a report is sent.\n\n- Area: Plugin Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}