REA .gitignore patterns notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

.gitignore describes what a tree intends to exclude. In REA 6.7.x, treat selected ignore patterns as Evidence beside archive/package routes — complementing rea-gitattributes and rea-codeowners.

Mental model

  1. Authorize the .gitignore (+ artifacts you hold).
  2. Quote selected patterns / sections you actually see (build dirs, env files, OS junk).
  3. gitattributes cousin → rea-gitattributes; CODEOWNERS cousin → rea-codeowners.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a gitignore-bypass API REA never called.

Minimal path

# authorized .gitignore (+ artifact you hold)
# quote selected ignore patterns into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_gitignore .

Compare

ArtifactHonest posture
.gitignoreIgnore-pattern identity facts
gitattributes cousinrea-gitattributes
CODEOWNERS cousinrea-codeowners
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_gitignore / ignore-bypass tooling.
  • No credential theft from ignored secret files.
  • No pirate redistribution of paid artifacts.
  • No crack framing via ignore patterns.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-gitattributes / rea-codeowners?

Those pages cover attributes and ownership. This page zooms on .gitignore pattern identity as Evidence — it does not overwrite those pages.

Is there inspect_gitignore in 6.7.0?

Not assumed. Quote ignore patterns you actually open, then use documented package/archive lanes. Do not invent inspect_gitignore.

Does REA bypass .gitignore to steal secrets?

No. Local trees only. Redact secrets; never treat REA as a secret scraper or ignore-bypass tool.

Root .gitignore vs nested ignores?

Label Evidence by path. Quote which file supplied the pattern when it matters.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources