Machine view. [Human page](/blog/before-your-agent-pushes) · [Markdown](/blog/before-your-agent-pushes.md)
# Dangerous Claude Code commands, checked against your rules
Blog · Human page: https://quelvio.com/blog/before-your-agent-pushes · Machine view: https://quelvio.com/ai/blog/before-your-agent-pushes
## Before your agent pushes, it checks your rules
In Claude Code, a push, delete, deploy, send or write outside the work folder is checked against your rules: asked when you're there, refused when not.
Some steps can't be taken back. In Claude Code, before a push, a delete, a deploy or publish, a send, or a write outside the work folder, Quelvio checks the step against your rules. Every other step runs as usual.
## When you're there
If the step may go against one of your rules, you're asked first. The rule is shown in your own words, with your name and the date.
Sample · Before a send, in Claude Code
```textQuelvio: this send may go against a rule. [correction · Priya Nair · 2026-11-02 09:14] "No payment without a source." Allow it?```## When nobody is there
In a background session, the step is refused. The agent is told to go on with the rest, and to say in its reply what it skipped and why.
Sample · In a background session
```textQuelvio blocked this send. It may go against [correction · Priya Nair · 2026-11-02 09:14] "No payment without a source." Do not try it again. Go on with the rest, and say in your reply that you skipped it and why.```## Only your rules count
The check reads only your rules, and a rule comes only from words you typed or confirmed. Nothing has to ask for permission: the check runs by itself, before the step.
## Where it runs
The check runs in Claude Code. Other agents connect over MCP and get your rules first, when a session starts.
[Agent memory →](https://quelvio.com/agents) · [Connect an agent](https://quelvio.com/docs/mcp)
## Related
- -
- -
- -