Claude Code's Trust Dialog Now Warns Where a Folder's Hooks Are Declared

Claude CodeView original changelog

Claude Code 2.1.329 adds a trust dialog warning that says where a folder's hooks are declared. It also shows a warning in the conversation, in Claude Desktop and other non-interactive hosts, when hooks in managed settings fail to load.

Key Takeaways

  • The trust dialog names where hooks are declared.
  • Users can inspect hook files before trusting a folder.
  • Managed hook load failures now warn in the conversation.
  • Non-interactive hosts, such as Claude Desktop, are covered.
  • It supports safer repository trust decisions.
  • Silent policy gaps are less likely.

More Informed Folder Trust

Hooks run commands automatically, so trusting a folder means trusting its hooks. The trust dialog now warns about hooks and says in which file they are declared, so users can inspect them before accepting.

Silent Failure Removed

When hooks in managed settings fail to load in Claude Desktop or other non-interactive hosts, a warning now appears in the conversation. Previously the failure could pass unnoticed, leaving expected policy hooks inactive.

Claude Code Trust Dialog Shows Where Hooks Live | Yet Another Changelog