- [new] Optional per-command remembered approvals: set
[ui] remember_tool_approvals = trueto show “Always allow” / never-allow rows on permission prompts. Grants are stored per project (not in the repo), can satisfy lateraskrules, and do not apply to commands on the dangerous list. - [changed] Authorization order is documented and tightened:
PreToolUsehooks → permission rules (deny>ask>allow) → remembered grants → built-in read-only auto-approvals → prompt policy. Always-approve (bypassPermissions/--yolo/--always-approve) still honorsdenyrules, hooks, and shellasksegment matches. - [changed] Matching
askrules now prompt even for file reads, searches, and shell commands that would otherwise auto-approve (previously those fast paths could skip the prompt). - [changed]
[permission]rules from all config scopes merge into one set withdeny>ask>allow. Priority override still applies only to[mcp_servers]and[plugins]. - [changed] Rule matching is spelled out more precisely: path rules use
*/**as path globs; Bash rules treat*as matching any characters (including spaces);Bash(cmd:*)remains prefix-style matching. - [changed] Permissions and safety guide rewritten (decision flow, scopes, interactive grants, mode wiring via
defaultMode, always-approve lock inrequirements.toml, headless/--yolonotes). Configuration, theming, and headless guides updated to match. - [removed] Theme option
invertunder[scrollback.blocks.prompt](no longer documented or supported).
Under the hood
- Agent and CLI binaries updated for the permission and approval-prompt behavior above.
- Bundled content metadata bumped to 0.2.101; marketplace plugin catalog unchanged.
Upgrade notes
To get per-command “Always allow” on prompts, add to
~/.grok/config.toml:[ui] remember_tool_approvals = trueDefault remains
false. For shared, reviewable allowlists, prefer declarative[permission]rules in project config instead of interactive grants.If you relied on
askrules never firing for read/search/safe-shell tools, re-check those policies—they can prompt now.Remove any
invertkey under[scrollback.blocks.prompt]from theme or config files.Always-approve can still be locked off via
[ui] disable_bypass_permissions_mode = trueinrequirements.toml(system-wide under/etc/grok/for non-overridable policy).