Files
leleka/.gitattributes
T
Pavlo Ratushnyi b4db01728c Keep the Strata files Rust and the product read in third_party/strata (STRA-406)
Owner decision 2026-11-23: the vendored Strata tree engine/strata is removed for good. This first step moves what is still read
at build, test or ship time into one small directory, byte for byte:

- third_party/strata/LICENSE (MIT; `leleka engine license` embeds it, the packagers ship it)
- third_party/strata/ggml/LICENSE, project-maya/LICENSE, project-maya/NOTICE.md (licence texts the release packager ships)
- third_party/strata/serve/chat_template.jinja (one copy, embedded by control-plane server_api.rs and gateway-text prompt.rs)
- third_party/strata/serve/chat_golden.json (gateway-text prompt tests)
- third_party/strata/tests/data/native_experts/*.txt (control-plane native_pack tests)
- control-plane/tests/mcp_hub/mcp_fake_server.py next to its test harness
- third_party/strata/UPSTREAM.md replaces engine/upstream.md: pin 41cf05a0, URL, the 25 locally patched files, where the removed tree is in history

include_str! paths, deploy/build.rs (the `leleka version` Strata pin now reads third_party/strata/UPSTREAM.md), Dockerfile.static-cli,
.dockerignore, .gitattributes, the release packagers (package-5090.sh, package-release.py: the subtree facts of the removed tree are
dropped from PROVENANCE) and the evidence capture scripts follow the move. The tree itself is deleted in a later commit.
2026-11-23 21:11:53 +01:00

33 lines
1.9 KiB
Plaintext

# Rust sources under crates/ and the GPU bring-up scripts are LF in the repository.
# text=auto leaves files that already carry CRLF in the index untouched (no mass renormalization)
# and skips binary-looking files; it only stops CRLF from entering LF files at commit time.
crates/**/*.rs text=auto eol=lf
scripts/gpu-bringup/**/*.py text=auto eol=lf
# Codex lossy-delta study: task files are hashed byte for byte (no EOL conversion); the runner scripts are LF.
scripts/e2e/codex/tasks/** -text
scripts/e2e/codex/delta/** text eol=lf
# Release reproducibility: the sealed PTX files are pinned by SHA-256 in the sources, so the bytes in the
# working tree must be the bytes in the index on every platform. Without this line a Windows checkout with core.autocrlf=true turns 212 of the
# 273 .ptx files into CRLF (the other 61 end in a NUL byte, which git treats as binary) so the embedded PTX is not the sealed one (a CRLF checkout built a binary 9 MB smaller than every earlier one).
*.ptx -text
# The release packager and the files it copies into the tarball are POSIX shell and systemd text: LF everywhere.
scripts/release/** text eol=lf
deploy/rust-runtime/** text eol=lf
# The embedded expert profile is pinned by SHA-256 in the sources: the bytes in the working tree must be the bytes in the index on every platform.
crates/deploy/data/expert-profile.bin -text binary
# CI entry points run on Linux runners: LF whatever the checkout host's autocrlf says.
scripts/ci/** text eol=lf
scripts/check-local.sh text eol=lf
scripts/check-clippy-limits.sh text eol=lf
scripts/check-ci-coverage.py text eol=lf
scripts/install-pinned-rustup.sh text eol=lf
scripts/test-cuda-fixed-ptx.sh text eol=lf
.github/workflows/*.yml text eol=lf
# Strata files kept for the shipped product and the Rust tests (third_party/strata/UPSTREAM.md): embedded and hashed byte for byte, never converted.
third_party/strata/** -text