Agent Ignore File

Agent Ignore File image
A configuration file added to a local project (for example, .aiignore or .copilotignore) that tells an AI coding agent which files it cannot see or access, used to prevent exposure of secrets or sensitive data such as .env files.

(NB. Caution is still paramount. This technique is not bulletproof as some AI coding tools can still see files explicitly stated in ignore files. For example, if the file is open in your IDE, or the file path is provided to the agent, or a tag such as @workspace is used.)
Explore MoT
Test Forward 2027 ยท Software Quality in the age of AI image
Tue, 19 Jan 2027
Test Forward is one afternoon at Station F with the QA and engineering people closing that gap in their own teams.
Prompting for Testers image
Unleash the power of generative AI to boost your software testing and day-to-day tech tasks
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter