# Golden reference hashes must stay byte-stable across platforms (no CRLF).
priv/rate/golden.refs text eol=lf

# Harness degradation-tier goldens are raw terminal byte streams compared
# byte-for-byte in tests -- their \r\n sequences are sealed-line protocol
# bytes, not line endings. Any eol normalization would corrupt them.
test/fixtures/harness/goldens/*.golden binary

# Escaped textual sidecars (one per golden, see
# Raxol.Harness.Surface.Golden.escape_lines/1) are pure ASCII,
# inspect()-escaped renderings of the same bytes -- reviewable in a PR
# diff, unlike the binary golden above. Pinned LF so the sidecar itself
# can't be eol-mangled. `*.golden` above does NOT also match
# `*.golden.txt` (verified via `git check-attr`), so this line is the
# only one governing these files.
test/fixtures/harness/goldens/*.golden.txt text eol=lf

# Multi-surface parity artifacts (Raxol.Harness.Surface.Parity) are compared
# byte-for-byte against a fresh render, and the refs file hashes those exact
# bytes. A CRLF checkout on Windows makes every one of them "drift" for a
# reason that has nothing to do with rendering, so pin LF everywhere. They are
# pure escaped text (no raw CR), so `text` is safe here where the degradation
# goldens above need `binary`.
test/fixtures/harness/parity/*.txt text eol=lf
priv/harness/parity.refs text eol=lf

# Recorded hero surface artifacts. The pane renders these verbatim and the
# SSH one holds raw ESC bytes, so eol normalization would change what the
# page shows.
web/priv/hero_frames/*/surface.ansi text eol=lf
web/priv/hero_frames/*/surface.mcp.json text eol=lf
