Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
46 lines (41 loc) · 2.36 KB
/
Copy path.gitattributes
File metadata and controls
46 lines (41 loc) · 2.36 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
# CSP pin stability (issue #60): desktop/main/security/csp.ts hash-pins the inline
# theme-bootstrap script of this file, so its served bytes must be identical on
# every checkout regardless of core.autocrlf. LF everywhere, no exceptions.
web_ui/index.html text eol=lf
# Byte-stable paths (issue #77): the Storyline fixture payloads and the packtool
# acceptance checks are hashed byte-for-byte by the issue-tracer checkpoint
# manifest; CRLF conversion on checkout would break blob verification and
# golden-file equality. No conversion, no exceptions.
tests/fixtures/storyline-mini/** -text
packtool/** -text
desktop/e2e/fixtures/storyline-nav/** -text
contracts/fixtures/packs/** -text
# Issue #73: the build-docs fixture sources hash into docs[].sha256 at build
# time; byte-stable checkouts keep two builds reproducible cross-machine.
contracts/fixtures/source-docs/** -text
# E1 staging scripts (issue #84): both carry a #!/usr/bin/env node shebang AND
# are dynamically imported by desktop vitest specs (the consumer-contract
# spec). Vite's SSR module runner throws SyntaxError on shebang + CRLF even
# though plain node accepts it, and a fresh Windows CI checkout materializes
# CRLF without an eol rule. LF everywhere, no exceptions.
desktop/scripts/*.mjs text eol=lf
# Harness runners (issue #216 AC5; PR #220 review PRR-017 + final-critic):
# the bench and web_ui script runners carry #!/usr/bin/env node shebangs and
# are now dynamically imported by desktop vitest specs
# (harness-runner-contract-*.test.ts) — the same shebang + CRLF SyntaxError
# surface as the E1 staging scripts above. The shared kill wrapper
# (scripts/kill-guard.mjs) is imported by the specs and e2e helpers too, and
# its .d.mts declaration is covered for checkout byte-stability. Globs below
# cover the top-level and nested script trees these specs import; LF
# everywhere in them.
bench/*.mjs text eol=lf
web_ui/scripts/*.mjs text eol=lf
web_ui/scripts/**/*.mjs text eol=lf
scripts/*.mjs text eol=lf
scripts/*.mts text eol=lf
# Twinned pack archive rules (trace browser-training-parity, ADR-0012): the
# desktop and browser copies are compared byte-for-byte by
# desktop/src/__tests__/pack-archive-rules-drift.test.ts, so both must check
# out with the same line endings on every machine. LF everywhere.
desktop/main/backend/packs/pack-archive-rules.ts text eol=lf
web_ui/src/lib/packs/pack-archive-rules.ts text eol=lf