GDP · desktop2026-11-23Source reviewed: 2026-11-23

Manage Allowed and Blocked Commands in GDP Desktop

Allowed Commands and Blocked Commands are device-wide lists. Use the effective policy to see how those rules interact with the selected repository and automation profile.

Add a rule for a specific command

  1. Open Settings → Automation. In Allowed Commands or Blocked Commands, type a command prefix and press Enter. Use the × beside a rule to remove it. Review the lists and apply your settings if Desktop shows unsaved changes.
  2. Use a prefix such as npm run lint for a lint script you have reviewed. This covers npm run lint and npm run lint -- --fix, because the same first three tokens match. It does not match npm run lint-all. Keep the prefix narrow and review options as well as the script.

Try a check and read its decision

  1. Select a practice repository in Inspect. For a queued check you want to run once, use Run. Before choosing Always Run, confirm you want GDP to add the proposed prefix to the shared Allowed Commands list.
  2. Read the individual command outcome. A command pending approval is waiting for a decision. A policy-blocked command was denied. A nonzero exit code after execution means the command ran but reported a failure.