Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
48 lines (47 loc) · 2.93 KB
/
Copy path.gitattributes
File metadata and controls
48 lines (47 loc) · 2.93 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
48
# Keep text identical across checkouts: shell entrypoints, generated contracts,
# embedded assets, and their digests must survive Git for Windows autocrlf.
# Auto detection preserves binary assets; explicit -text rules below still win.
* text=auto eol=lf
# Force LF line endings for test fixtures. Tree-sitter grammars
# expect Unix line endings and produce wrong parse trees with CRLF.
tests/fixtures/** text eol=lf
# Embedded SQL is executed verbatim and its stored definitions feed exact
# schema-shape digests; a CRLF checkout rewrites those definitions and makes
# a released shape read as foreign.
*.sql text eol=lf
# The search-quality workload pins each corpus document against the blob in
# its source tree; the packaged evaluator embeds those same fixture bytes.
# One corpus document lives outside tests/fixtures, so enforce LF there too.
evals/agent_adoption/fixture/** text eol=lf
# Force LF for bundled plugin skill docs; the skill hygiene tests assert the
# canonical source files are LF-only, and Windows checkout otherwise rewrites
# them before the lint runs.
plugin/** text eol=lf
# Force LF for embedded Hermes plugin template assets. They are pulled into
# the binary via include_str! and the generated-plugin snapshot test asserts
# their exact bytes.
crates/tracedecay-agent-hosts/src/agents/hermes/templates/** text eol=lf
# Claude-observation benchmark evidence attests the embedded harness and manifest byte-for-byte.
# Keep those bytes identical when Git checks the repository out on Windows.
crates/tracedecay/src/sessions/claude_observation_benchmark.rs text eol=lf
crates/tracedecay/src/sessions/claude_observation_benchmark/** text eol=lf
benchmark_data/claude-observation/** text eol=lf
# Vendored tree-sitter grammar sources retain their upstream bytes;
# provenance and the import revision are documented beside the sources.
# Collapse them out of PR diffs and language stats.
crates/tracedecay-code-extraction/vendor/** linguist-generated=true
# Generated wire-contract and embedded-extension artifacts: the authoritative
# sources are Rust schemars output (contracts) and the extension TS sources;
# CI verifies the committed copies byte-for-byte (`contracts:check`, the
# extension staleness check). Collapse them out of PR diffs and stats.
dashboard/src/contracts/generated.ts linguist-generated=true
dashboard/src/contracts/index.ts linguist-generated=true
dashboard/codegen/schemas/dashboard-contracts.schema.json linguist-generated=true
plugin/cursor-native-extension/embedded/extension.js linguist-generated=true
# Generated TypeScript SDK sources: `//sdks/codegen:generate` writes these
# files from the canonical registry and `contracts:check` verifies the committed
# copies byte-for-byte. The authored client,
# request controls, automation terminal, tests, and generator stay reviewable.
sdks/typescript/src/operations.ts linguist-generated=true
sdks/typescript/src/types.ts linguist-generated=true
sdks/typescript/src/index.ts linguist-generated=true