← Every rule
✕ denybuilt-in check

push-secret

Pushing commits that hold a secret.

What the agent, and you, read
OpenMoat blocked: pushing commits that hold a secret
call …
rule moat: deny [push-secret] — …
why a push publishes every commit it sends, and a published secret cannot be taken back
more openmoat why --last · https://openmoat.dev/r/push-secret

Why

A push publishes every commit it sends, and a published secret cannot be taken back.

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.