# Normalize line endings across macOS, Linux, and Windows/WSL checkouts.
# CRLF line endings on shell scripts break their shebang line silently.
* text=auto eol=lf

*.sh text eol=lf
*.py text eol=lf
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.md text eol=lf
*.json text eol=lf
Dockerfile text eol=lf
.env* text eol=lf

# Vendored upstream rubrics keep upstream's bytes, trailing whitespace and all:
# the byte-for-byte copies under profiles/<name>/rubrics/upstream/, the overlay
# patches made from them, and the shipped files regenerated from the two
# (profiles/<name>/rubrics/OVERLAY.md). git diff --check does not police them.
profiles/*/rubrics/upstream/* -whitespace
profiles/*/rubrics/overlay/* -whitespace
profiles/*/rubrics/task-proposal.md -whitespace
profiles/*/rubrics/task-implementation.toml -whitespace
profiles/*/rubrics/trial-analysis.toml -whitespace

# Binary formats that must not be touched
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.zip binary
*.tar binary
*.tar.gz binary
*.tgz binary
*.pdf binary
