← Every rule
✕ denyin the default policy

shell-rc

Editing your shell's start-up files.

What the agent, and you, read
OpenMoat blocked: editing your shell's start-up files
call …
rule moat: deny [shell-rc] — edits persist into every future shell session: …
why what is written there runs in every shell you open from now on
next if you need this, do it yourself in your own terminal
more openmoat why --last · https://openmoat.dev/r/shell-rc

Why

What is written there runs in every shell you open from now on.

What you can do

A deny is never offered for approval, so the agent cannot talk its way past it. If you need this, do it yourself in your own terminal. If the rule is wrong for your work, change your policy: openmoat why --last shows where the rule is.

In your own terminal

Not through the agent: agents are denied every command that changes OpenMoat.

$ openmoat why --last # the full reason, and where the rule is in your policy
$ openmoat show # the latest decisions

Something was blocked: every message and the command that gets you moving · The policy file: this rule is in the default policy, and you can change it.