Context
Ignore files
What stays out of the index, and what does not.
Ignore files are not read yet
Goatfied does not currently read .gitignore. Marking a file as git-ignored does not keep it away from the model.
What the index skips
The indexer only picks up source and text files it recognises, and it never descends into node_modules, .git, dist, build, target, .next, .venv or __pycache__. Files without a recognised extension — .env among them — are not indexed.
Attachments are not filtered
An @-mention attaches whatever file you name, including one the index would have skipped. If you @-mention a file holding credentials, its contents go to the model. Check what you are attaching.
Keeping secrets out
Keep credentials out of the workspace, or in a directory the indexer skips, and do not @-mention them.
Next