What
An ask rule is a permission rule that makes Claude ask you before doing something. Claude Code now pays closer attention to ask rules that cover git commands:
- When your session's rules ask before some git commands, a new notice says so: "This session's rules ask before some git commands (see /permissions)." It explains that Claude waits at those commands until you answer.
- A watch, which follows a pull request on your behalf, now refuses to run its merge command when your rules ask before a merge of that branch, or when the rules could not be read. It tells you to merge it yourself or add an ask rule through
/permissions. Before, merges were checked only against the base branch and the watch's own branch. - The watch's advice to change folder (
cd) now appears only when the checkout is not the folder you are in. - The check for sensitive paths now also recognises a Windows pattern.
Why
You can see why Claude stops at certain git commands, and a watch will not merge something your rules say should be asked about first. Use /permissions to see or change these rules.
Names in the bundle/permissions
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on Choose a permission mode touched a line naming /permissions after this was published.
> 1. Actions matching your [allow, ask, or deny rules](https://code.claude.com/docs/en/permissions.md#manage-permissions) resolve immediately apart from cases such as these:permission-modes see the edit
Confirmed since
Anthropic's documentation has since written up /permissions, on Desktop application.
To stop Claude in local sessions from opening sessions on screen, add this [deny rule](https://code.claude.com/docs/en/permissions.md#manage-permissions) to `~/.claude/settings.json` or your organization's [managed settings](#managed-setti…desktop see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up /permissions, on Desktop application.