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.)
(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.)