REA .gitmodules notes (unofficial)

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

.gitmodules pins submodule identity. In REA 6.7.x, treat selected path/url/branch pins as Evidence beside archive/package routes — redact secrets in URLs; do not invent APIs.

Mental model

  1. Authorize the .gitmodules (+ artifacts you hold).
  2. Quote selected path / url / branch pins you actually see (redact tokens).
  3. Attributes cousins → rea-gitattributes, rea-gitattributes-linguist.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a gitmodules API REA never called.

Minimal path

# authorized .gitmodules (+ artifact you hold)
# quote selected path/url/branch pins into case notes (redact tokens)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_gitmodules .

Compare

ArtifactHonest posture
.gitmodulesSubmodule-pin identity facts
Attributes cousinrea-gitattributes
Linguist cousinrea-gitattributes-linguist
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_gitmodules / automatic submodule clones.
  • No credential theft from submodule URLs or tokens.
  • No pirate redistribution of paid artifacts.
  • No crack framing via submodule pins.

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

FAQ

What does this page cover?

It zooms on .gitmodules path/url/branch pins as Evidence — not a submodule tutorial, and not an invented REA product API.

Is there inspect_gitmodules in 6.7.0?

Not assumed. Quote submodule pins you actually open (redact secrets/tokens in URLs), then use documented package/archive lanes. Do not invent inspect_gitmodules.

Does REA clone private submodules or steal credentials from URLs?

No. Local trees only. Redact tokens embedded in submodule URLs; do not treat REA as a credential helper.

How does this relate to gitattributes pages?

Keep submodule identity separate from rea-gitattributes and rea-gitattributes-linguist.

npm version checked?

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

Sources