Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
47 lines (39 loc) · 2.27 KB
/
Copy path.gitattributes
File metadata and controls
47 lines (39 loc) · 2.27 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
37
38
39
40
41
42
43
44
45
46
47
# Binary test fixtures — prevent LF/CRLF mangling
cpp/tests/fixtures/*.png binary
cpp/tests/fixtures/*.jpg binary
# content_digest hashes these fixture bytes raw (#2468), so an autocrlf checkout
# would change the hash and fail the vectors on Windows only.
tests/fixtures/skill_audit_digest/** -text
# Chunk-boundary fixtures are a byte-exact cross-runtime contract; a CRLF
# checkout rewrites the documents the committed chunks were generated from.
cpp/tests/fixtures/chunking/* -text
# Vendored third-party sources — never ours to reformat, lint, or review.
# linguist-vendored keeps them out of language stats; -diff keeps a 9 MB
# amalgamation out of every diff that touches the directory.
cpp/third_party/** linguist-vendored
cpp/third_party/sqlite/sqlite3.c -diff
cpp/third_party/sqlite/sqlite3.h -diff
# gaia eval fixtures: the POSIX gh shim needs an LF shebang everywhere, or the
# scenarios that shell out to it fail on a CRLF checkout. (No rule for the
# fixture-hub zips — they are built and signed per run into _prepared/, which
# .gitignore excludes, so none is ever tracked.)
tests/fixtures/gaia/fake_gh/gh eol=lf
# The dev launch scripts and the gaia-agent shim are executed by a POSIX shell
# and located by the TUI on PATH. A CRLF checkout breaks the shebang ("bad
# interpreter"), and both must stay executable or exec.LookPath cannot find
# them — which silently sends the TUI to the last INSTALLED agent instead.
scripts/dev/run-tui.sh text eol=lf
scripts/dev/bin/gaia-agent text eol=lf
# Every shell script is run by a POSIX shell, which reads a CRLF line ending as
# part of the word (`case ... in\r` is a syntax error), so keep them LF.
*.sh text eol=lf
# Generated from the Agent UI backend models; regenerate, never hand-edit.
src/gaia/apps/webui/src/types/api.gen.ts linguist-generated=true
src/gaia/apps/webui/src/types/api.schemas.json linguist-generated=true
# The gaia_email fixture mailbox is checked byte-for-byte against its builder.
tests/fixtures/gaia/email/*.mbox -text
# Skills are signed over their exact bytes on Linux at release; a CRLF checkout
# makes util/publish_skills.py see every published skill as changed.
hub/skills/** text eol=lf
# The eval's fixture hub copies of those skills are compared byte for byte.
tests/fixtures/gaia/fixture_hub/sources/** text eol=lf