Preview Coming soon. This feature is still being built, so names and details may change before it ships.

Agents & models Safe read-only commands

Safe read-only commands

The agent checks your toolchain and looks around the code all the time: java -version, node -v, git status, cat package.json. These commands only read, so Ingot runs them without an approval card. Anything that changes something still asks.

The agent ran node -v, git status and cat package.json without an approval card and answeredThe agent ran node -v, git status and cat package.json without an approval card and answered
The agent ran node -v, git status and cat package.json without an approval card and answered

What runs at once

KindExamples
Version checksjava -version, mvn -v, node -v, npm -v, docker --version
Reading inside the projectls, cat, head, tail, grep, rg, find (without -exec or -delete), wc, tree, pwd, which
Moving around the projectcd mobile && cat package.json: a cd into a project folder
Read-only gitgit status, git log, git diff, git show, git branch (list), git remote -v
Read-only toolsdocker info, docker images, docker ps, npm ls, kubectl get

Parts joined with &&, ; or | are checked one by one. Every part must be safe.

What still asks

  • Anything that writes, installs or deletes: npm install, rm, git commit, docker run.
  • Anything that uses the network: curl, npx, git push.
  • A path outside the project, such as cat ~/.ssh/id_rsa or cd .. && ls.
  • Shell tricks that hide what runs: redirects (>), $(…), backticks, background jobs (&), subshells and sudo.

Your .ingot/policy.json rules and hooks that ask still ask first.

Always Run remembers the command family

When a command does ask, Always Run and Allow in workspace remember the kind of command, not one exact line:

You allowLater commands that run without asking
git add src/a.ts && git commit -m "feat: x"any git add … and git commit …
cd mobile && npx tsc --noEmitany cd … and npx tsc …
cd backend/src && sed -n 1,200p Booking.javaany cd … and sed …

Every part of a later command must match a remembered family, so git add . && git push still asks for the push. These are only remembered as the exact line: code runners (node, python, bash…), rm, curl, sudo, and commands that destroy or publish (git push, git reset, git clean, docker rm, kubectl delete, npm publish…).

Turn it off

SettingDefaultWhere
ingot.agent.terminal.safeCommandsRunAtOnceonSettings › Agent tools › Terminal & scripts › Run safe read-only commands at once, Settings › Features
ingot.agent.terminal.allowCommandFamiliesonSettings › Agent tools › Terminal & scripts › Allow whole command families, Settings › Features

Off: every command asks, as Commands wait for Run says.

See also Agent Sandbox and Terminal.