REA .pre-commit-config.yaml notes (unofficial)

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

.pre-commit-config.yaml pins git-hook tool identity. In REA 6.7.x, treat those pins as Evidence beside lint/format routes — complementing rea-ruff-config.

Mental model

  1. Authorize .pre-commit-config.yaml (+ related lint configs you hold).
  2. Quote selected repo / rev / hook id pins you actually see.
  3. Ruff → rea-ruff-config; ESLint → rea-eslint-lock; Prettier → rea-prettier-config.
  4. Tox cousin → rea-tox-notes.
  5. Do not invent hook run results REA never executed.

Minimal path

# authorized .pre-commit-config.yaml (+ lint configs you hold)
# quote selected repo/rev/hook id pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_pre_commit .

Compare

ArtifactHonest posture
.pre-commit-config.yamlHook inventory facts
Ruff / ESLint / Prettierrea-ruff-config / rea-eslint-lock / rea-prettier-config
tox cousinrea-tox-notes

Scope we will not cover

  • No inventing inspect_pre_commit / automatic hook installers.
  • No git/npm credential theft via hook repos.
  • No pirate redistribution of paid hook plugins.
  • No bypass framing for security hooks (mentions of bypass only as refusals).

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

FAQ

How is this different from rea-ruff-config / rea-eslint-lock?

Those pages cover specific linter/formatter identity. This page zooms on pre-commit hook inventory as Evidence — it does not overwrite them.

Is there inspect_pre_commit in 6.7.0?

Not assumed. Quote repos/rev/hooks fields you actually open. Do not invent inspect_pre_commit.

Does REA run pre-commit / download hook repos?

No. Local trees only. No automatic git clone of hook repos; no credential theft.

pre-commit vs tox / CI?

See rea-tox-notes for tox; quote CI configs you actually hold separately — do not invent a pipeline REA never ran.

npm version checked?

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

Sources