Skip to main content

Edit Scope: limit the editing area

Use Edit Scope when the agent should change only certain files or folders.

How to limit changes

  1. Open the Explyt chat.
  2. Click + next to the input field and attach the files or folders you allow the agent to change.
  3. Click the Edit scope icon next to the attached file or folder you want to restrict the agent to. The agent will not be able to edit any files other than the ones you marked as Edit scope.
  4. Send the task to the agent.
  5. When the agent finishes, review the list of changed files and the diff.

The agent can read files outside the scope, but it can only write changes to existing attached files and to existing files inside the attached folders. It cannot create new files or directories inside the selected folders.

How to change or clear the scope

If a file or folder should no longer be editable, remove just that entry: open the list with the Edit scope button, select the entry and press Delete or Backspace. You can also click the remove icon to the right of the entry. The remaining restrictions stay in place.

To lift all restrictions before a new task, or to let the agent change any accessible file again, open the Edit scope list and click Clear All. The same action is available with Alt+R.

What to check

  • Every file the agent needs to change is attached to the chat.
  • There are no extra files or folders in the scope.
  • Every file the agent needs to change already exists.
  • The list of changes contains no files outside the allowed area.

Limitations

Edit Scope restricts writing only. .readignore separately forbids reading the listed paths, and .writeignore forbids writing and creating files. To close a path for both reading and writing, add it to both files. They use gitignore-like patterns, but support for the entire .gitignore syntax is not guaranteed.