REA Lefthook 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
lefthook.yml pins git-hook runner identity. In REA 6.7.x, treat selected pre-commit/pre-push pins as Evidence beside archive/package routes — without inventing APIs.
Mental model
- Authorize the Lefthook config (+ artifacts you hold).
- Quote selected hook job names / commands you actually see (redact secrets).
- Workspace cousin → rea-pnpm-workspace-yaml; gitignore cousin → rea-gitignore-patterns.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a Lefthook API REA never called.
Minimal path
# authorized lefthook.yml (+ artifact you hold)
# quote selected hook pins into case notes (redact secrets)
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_lefthook .
Compare
| Artifact | Honest posture |
|---|---|
lefthook.yml | Hook-pin identity facts |
| pnpm workspace cousin | rea-pnpm-workspace-yaml |
| gitignore cousin | rea-gitignore-patterns |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_lefthook/ automatic hook installs. - No credential theft from hook scripts or env.
- No pirate redistribution of paid artifacts.
- No crack framing via hook pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
What does this page cover?
It zooms on lefthook.yml / .lefthook* hook pins as Evidence — not a Lefthook tutorial, and not an invented REA product API.
Is there inspect_lefthook in 6.7.0?
Not assumed. Quote hook pins you actually open, then use documented package/archive lanes. Do not invent inspect_lefthook.
Does REA install git hooks or steal secrets from hook scripts?
No. Local trees only. Do not treat REA as a hook runner; redact secrets in Evidence.
Lefthook vs plain git hooks?
Label Evidence by the file present (lefthook.yml vs .husky/*). Keep this Lefthook lane separate unless a dedicated husky page exists.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).