# v0.70.0: enforce LF line endings for files that are byte-compared in CI.
# `tests/test_v066_research_workspace_docs.py::test_packaged_skill_mirror_byte_identical`
# diffs `skills/<name>/SKILL.md` against `src/research_hub/skills_data/<name>/SKILL.md`.
# Without this, a Windows runner with `core.autocrlf=true` could mangle one
# path's line endings on checkout (the other path stays LF because it's under
# `src/`), making the byte-compare flake.

# Skills (source + packaged mirror)
skills/**/SKILL.md          text eol=lf
skills/**/evals/evals.json  text eol=lf
src/research_hub/skills_data/**/SKILL.md          text eol=lf
src/research_hub/skills_data/**/evals/evals.json  text eol=lf

# Python source — keep LF everywhere for cross-platform reproducibility
*.py text eol=lf

# pyproject + workflow YAML — LF (used by GitHub Actions on Linux runners)
pyproject.toml text eol=lf
.github/workflows/*.yml text eol=lf

# Direction-review fixture evidence has frozen raw-byte SHA-256 values.
tests/fixtures/direction_review/** text eol=lf

# Restricted abstract profiles hash these public instruction bytes exactly.
# Preserve canonical Git LF bytes at checkout; never normalize them at runtime.
skills/research-hub/references/research-protocol.md text eol=lf
skills/research-hub/references/source-claim-audit.md text eol=lf
src/research_hub/skills_data/research-hub/references/research-protocol.md text eol=lf
src/research_hub/skills_data/research-hub/references/source-claim-audit.md text eol=lf

# Immutable profile bundle references retain their historical Git byte hashes.
src/research_hub/skills_data/_profiles/abstract-draft-instructions-v1/research-hub/references/research-protocol.md text eol=lf
src/research_hub/skills_data/_profiles/abstract-draft-instructions-v1/research-hub/references/source-claim-audit.md text eol=lf

# Web workstation sources and bundled assets must stay LF so cross-platform Vite hashes match CI.
web/** text eol=lf
src/research_hub/workspace_static/** text eol=lf
