REA direnv .envrc notes (unofficial)

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

direnv .envrc describes per-directory env layout. In REA 6.7.x, treat selected layout facts as Evidence beside archive/package routes — complementing rea-asdf-tool-versions and rea-mise-toml.

Mental model

  1. Authorize the .envrc (+ artifacts you hold).
  2. Quote structure (which vars are named) — never paste secret values into public notes.
  3. asdf cousin → rea-asdf-tool-versions; mise cousin → rea-mise-toml.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a direnv-load API REA never called.

Minimal path

# authorized .envrc (+ artifact you hold)
# quote redacted layout facts into case notes (names only)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_direnv .

Compare

ArtifactHonest posture
.envrcEnv layout identity (redacted)
asdf cousinrea-asdf-tool-versions
mise cousinrea-mise-toml
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_direnv / automatic env dumps.
  • No credential theft from .envrc / .env secrets.
  • No pirate redistribution of paid artifacts.
  • No crack framing via env layout.

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

FAQ

How is this different from rea-asdf-tool-versions / rea-mise-toml?

Those pages cover tool-version pins. This page zooms on direnv .envrc layout identity as Evidence — it does not overwrite those pages.

Is there inspect_direnv in 6.7.0?

Not assumed. Quote .envrc layout facts you actually open, then use documented package/archive lanes. Do not invent inspect_direnv.

Does REA execute direnv or dump secrets from .envrc?

No. Local trees only. Redact API keys, tokens, and PII before Evidence; never treat REA as a secret scraper.

.envrc vs .env files?

Label Evidence by the file present. Prefer redacted layout notes over pasting secret values.

npm version checked?

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

Sources