Guards

The local server adds a guard that checks each action before your agent tool runs it, and holds the risky ones for you.

What guards are

Guards reduce accidents. They are not a security boundary against an agent that is trying to get around them.

They are hook scripts on your side, installed by npx productsteer install (or npx productsteer install --codex), which lists every file before it writes one.

What they hold

  • Hard rules block locally, with no network call: a delete without confirmed paths, a push to your live branch, a public post.
  • The four approval classes ask ProductSteer whether a matching approval exists. With no answer, the guard blocks, with a plain message.

When ProductSteer cannot be reached

The guard fails closed: an action that needs an approval is held until ProductSteer answers. All other work continues. You can run one explicit local override, typed by a person in your own terminal; it is logged and reported to the record when the connection returns.

Where guards run

Guards run in the local server, with Claude Code and Codex. The remote server alone has no guards; it keeps the record, the plan and your approval queue. Connect Claude Code or Connect Codex to install it.