On this page

Safety

Docs home · Permissions and sandbox · Privacy · Troubleshooting · 简体中文

Safety in Sigil is a decision process: understand the proposed action, inspect the relevant preview, and grant only the access needed for this task.

Risk Model

Repository reads are usually lower risk. Writes, deletes, commands, external paths, network access, MCP calls, code edits from language tools, and secret-bearing requests deserve more scrutiny. Sigil derives structured effects, targets, analysis completeness, and required execution containment before policy runs. A risk label explains what the action may do; it does not decide whether approval is required. Configuration, explicit rules, bounded session authority, and containment evidence decide whether an action runs, asks, or is denied; none makes an approved action correct.

Review An Approval

Before allowing an action, confirm:

  1. The goal matches your request.
  2. The files, command, server, or destination are expected.
  3. The diff or request preview is narrow enough.
  4. A one-time decision is sufficient; use a session decision only when Sigil offers the same semantic scope under the same execution boundary and repeated access is intentional.
  5. You know how to verify the result.

Deny and restate the scope when the preview is surprising or too broad.

Hard Limits To Remember

Use Permissions and sandbox for controls, Privacy for data and credentials, MCP for external-server trust, and Reference for local-service details.

Next: Configure permissions and sandbox limits.