You'll notice
Permission and hook edits now wait for background settings work to finish before confirming success
What
After Claude Code writes a permission rule (an allow or deny entry), removes one, or edits a hook, it now waits (up to 5 seconds) for a background settings-saving process to finish, via a new helper, before reporting the change as successful.
Why
This reduces the chance of Claude Code reporting a permission or hook edit as done before it has actually finished being written to disk, avoiding a race where the change appears successful but hasn't fully saved yet.