eventName
ConfigChange (Claude Code)
displayName
ConfigChange (Claude Code)
kind
native
originVendor
Anthropic
direction
pre
blocking
true
family
in-process
payloadSchema
type
object
required
properties
hook_event_name
type
string
const
ConfigChange
source
type
string
enum
- user_settings
- project_settings
- local_settings
- policy_settings
- skills
previous_config
new_config
description
Fires when a configuration file changes during the session. Exit 2
blocks the change (except for policy_settings, which always wins).
Used to enforce org-wide config invariants. Matchable by source.