REA .gitattributes notes (unofficial)
.gitattributes pins path attribute identity (text/eol, sometimes LFS/linguist). In REA 6.7.x, treat selected attribute pins as Evidence beside archive/package routes — complementing rea-gitignore-patterns and rea-codeowners.
Mental model
- Authorize the
.gitattributes(+ artifacts you hold). - Quote selected path → attribute pins you actually see.
- gitignore cousin → rea-gitignore-patterns; CODEOWNERS cousin → rea-codeowners.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a gitattributes API REA never called.
Minimal path
# authorized .gitattributes (+ artifact you hold)
# quote selected attribute pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_gitattributes .
Compare
| Artifact | Honest posture |
|---|---|
.gitattributes | Attribute-pin identity facts |
| gitignore cousin | rea-gitignore-patterns |
| CODEOWNERS cousin | rea-codeowners |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_gitattributes/ automatic attribute rewrites. - No credential theft from LFS / remote secrets.
- No pirate redistribution of paid artifacts.
- No crack framing via attribute pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-gitignore-patterns / rea-codeowners?
Those pages cover ignore patterns and ownership. This page zooms on .gitattributes pins as Evidence — it does not overwrite those pages.
Is there inspect_gitattributes in 6.7.0?
Not assumed. Quote attribute pins you actually open, then use documented package/archive lanes. Do not invent inspect_gitattributes.
Does REA rewrite attributes or steal LFS credentials?
No. Local trees only. Do not treat REA as a git attribute rewriter; redact secrets in Evidence.
text/eol vs linguist / LFS attributes?
Label Evidence by the attribute family you actually saw. Keep notes honest about what was present.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).