Skip to main content

.readignore/.writeignore

For cybersecurity reasons, it may be useful to prevent the agent from reading or editing certain folders or files in the project. This can be done by creating .readignore and .writeignore files in the .explyt/tools/ folder in the project.

The syntax of the files is the same as .gitignore.

If you add a file or folder to the .writeignore file, the agent will be able to read it but won't be able to edit it. This can be useful, for example, if you want to change your code in a TDD style with the agent, but ensure that tests won't be adjusted to fit the implementation.

If you add a file or folder to the .readignore file, the agent won't be able to read or write to it. This can be useful if a file contains confidential data, such as your API keys for paid services that are required for the application's logic, but you don't want the agent to see them.