Who it is forA developer or team lead who wants agent speed on safe work but a hard stop on risky files and commands.
The problemAgents either ask about every action, which is slow, or run everything, which is how a migration or publish happens by accident.
The outcomeA shared rule set that chat, review and fix all follow: trusted commands run, sensitive paths ask first and dangerous commands never run.
What you need first
- An OpenAI-compatible provider key or a local model
- Rust toolchain to build from source
Steps
- Choose a mode: plan never edits, manual asks before everything, auto pauses on risky commands like sudo, rm and curl, edit is the default
- Switch mode mid-chat with shift+tab, or for one run with --permission-mode
- In Aster.yaml add permissions with allow rules such as Bash(cargo test:*) and Edit(src/**)
- Add ask rules such as Edit(migrations/**) for paths that need your approval
- Add deny rules such as Bash(npm publish:*) for commands that must never run
- Run a task that touches a migration and confirm Aster pauses to ask
Prompt for your agent
Write an aster.yaml permissions block for this repo: allow running <test command> and editing <source folder>, ask before editing <migrations or infra folder>, and deny <publish or deploy commands>. Explain which mode you recommend and why.
Caveat. The yolo mode removes all rules and the sandbox; avoid it outside throwaway environments.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Zfinix/aster and "Limit what the agent may edit or run, per path and command"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer