DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to limit what the agent may edit or run, per path and command with Aster

Pick one of Aster's permission modes and add allow, ask and deny rules in Aster.yaml, so tests run freely, migrations need approval and publishing is blocked.

Short answer: Choose a mode: plan never edits, manual asks before everything, auto pauses on risky commands like sudo, rm and curl, edit is the default; then 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/**). All steps.

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

  1. Choose a mode: plan never edits, manual asks before everything, auto pauses on risky commands like sudo, rm and curl, edit is the default
  2. Switch mode mid-chat with shift+tab, or for one run with --permission-mode
  3. In Aster.yaml add permissions with allow rules such as Bash(cargo test:*) and Edit(src/**)
  4. Add ask rules such as Edit(migrations/**) for paths that need your approval
  5. Add deny rules such as Bash(npm publish:*) for commands that must never run
  6. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer