REA .pre-commit-config.yaml notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
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
- Authorize
.pre-commit-config.yaml(+ related lint configs you hold). - Quote selected
repo/rev/ hookidpins you actually see. - Ruff → rea-ruff-config; ESLint → rea-eslint-lock; Prettier → rea-prettier-config.
- Tox cousin → rea-tox-notes.
- 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
| Artifact | Honest posture |
|---|---|
.pre-commit-config.yaml | Hook inventory facts |
| Ruff / ESLint / Prettier | rea-ruff-config / rea-eslint-lock / rea-prettier-config |
| tox cousin | rea-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).