local
per-machinePersonal overrides on this checkout only. Not committed.
.claude/settings.local.json
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
When you click Yes on a tool-gates ask, the command joins a pending queue. The tool-gates review TUI lets you promote any of those patterns to a permanent rule in settings.json, so future matching calls auto-allow without prompting.
Lifecycle
ask; you click Yes. The command executes.~/.cache/tool-gates/pending.jsonl.tool-gates approve directly). Pick the pattern and scope; tool-gates writes a permission rule into settings.json.allow with no prompt.CLI
Inspect the pending queue:
$ tool-gates pending list
$ tool-gates pending list --project
$ tool-gates pending list --json
Promote a pattern directly:
$ tool-gates approve 'npm install*' -s local
$ tool-gates approve 'cargo*' -s user
Manage existing rules:
$ tool-gates rules list
$ tool-gates rules remove 'pattern' -s local
Inspect ask rules that suppress the third "don't ask again" button:
$ tool-gates rules ask-audit
Interactively audit and clean up ask rules via a TUI checklist:
$ tool-gates rules ask-audit --apply
Scopes
Pick the scope that matches who should see this rule.
Personal overrides on this checkout only. Not committed.
.claude/settings.local.json
Shared rules for everyone working on this repo. Committed.
.claude/settings.json
Personal defaults across every project on this machine.
~/.claude/settings.json
Review TUI
Run tool-gates review for a keyboard-first dashboard: pending commands with colour-and-symbol-coded segments, a blast-radius meter that escalates friction as a rule widens, and tabs for managing the allow / deny rules you already have. Full walkthrough and keymap live on the Review TUI page.
Only human approvals queue. Under auto mode the classifier decides silently; nothing it approves goes into pending.jsonl. The review queue stays focused on patterns you explicitly clicked through.