# Normalize line endings
* text=auto eol=lf

# Source code
*.py text diff=python
*.pyi text diff=python

# Data and config
*.json text diff
*.yaml text diff
*.yml text diff
*.toml text diff
*.cfg text diff
*.ini text diff
*.lock text diff

# Documentation
*.md text diff=markdown
*.txt text diff
*.rst text diff

# Shell scripts
*.sh text eol=lf
*.bash text eol=lf

# CI and GitHub
Dockerfile text eol=lf

# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.whl binary
*.tar.gz binary
*.zip binary
*.gz binary
*.safetensors binary

# Vendored schemas — track but don't normalize. Only the large schema files skip
# text diffs; the manifest, notice and license files must stay reviewable.
src/nexus_symbiote/generators/schemas/vendor/** -text linguist-vendored
src/nexus_symbiote/generators/schemas/vendor/*/*.json -diff
src/nexus_symbiote/generators/schemas/vendor/*/*.jsonld -diff

# Evidence and parser fixtures must retain their exact recorded bytes.
benchmarks/fixtures/** -text
benchmarks/inventory/fixtures/** -text
tests/fixtures/** -text
