Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
36 lines (31 loc) · 1.86 KB
/
Copy path.gitattributes
File metadata and controls
36 lines (31 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Golden reference hashes must stay byte-stable across platforms (no CRLF).
priv/rate/golden.refs text eol=lf
# Frozen raxol_agent journal corpora (I9). A chained journal requires each line
# on disk to be its record's canonical JSON and hashes those bytes, so a CRLF
# checkout on Windows makes the v1.2.0 corpus read as :damaged.
packages/raxol_agent/test/invariants/fixtures/golden/** 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