# xg's own ignore file, applied after every .gitignore.
#
# One pattern per line, in git ignore syntax: a leading "!" re-includes, a
# leading "/" anchors to this directory, a trailing "/" matches directories
# only. Because this file is applied last, it wins over .gitignore.
#
# .gitignore already covers what git should not track. This file covers what git
# may track but xg should not read: local material that would be read as project
# content, generated files too large to be useful context, and material that
# costs more context than it returns.

# Local material that must not become model context. .gitignore does not cover
# these, so without them a stray .env is read and sent to a model.
.env
.env.*
*.pem
*.key
*.p12
id_rsa*

# Generated or vendored files that are expensive and uninformative as context.
*.min.js
*.min.css
*.map

# Tests are judged by running them, not by a model reading them. They are about
# a third of this tree and none of it is application code, so reading them costs
# the context budget that the source needs.
tests/
