REA lefthook.yml 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 / .lefthook.yml pins hook-job identity. In REA 6.7.x, treat selected job/command pins as Evidence beside archive/package routes — complementing rea-lefthook without inventing APIs.
Mental model
- Authorize the lefthook.yml (+ artifacts you hold).
- Quote selected job / command pins you actually see (never paste secrets).
- Cousins → rea-lefthook · rea-husky-dir · rea-lintstaged-rc · rea-npmrc-engine.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a lefthook-yml API REA never called.
Minimal path
# authorized lefthook.yml / .lefthook.yml (+ artifact you hold)
# quote selected job/command pins into case notes; never paste secrets
# cousins → lefthook / husky-dir / lintstaged-rc / npmrc-engine
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_lefthook_yml .
Compare
| Artifact | Honest posture |
|---|---|
| lefthook.yml | Hook-job identity facts |
| lefthook lane | rea-lefthook |
| husky / lint-staged | rea-husky-dir · rea-lintstaged-rc |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_lefthook_yml/ automatic Lefthook runs. - No credential theft from env / tokens in hook jobs.
- No pirate redistribution of paid packages.
- No crack framing via lefthook pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-lefthook / rea-husky-dir?
rea-lefthook covers the general lefthook lane; rea-husky-dir covers .husky/. This page zooms on lefthook.yml / .lefthook.yml Evidence — it does not overwrite those pages.
Is there inspect_lefthook_yml in 6.7.0?
Not assumed. Quote job/command pins you actually open. Do not invent inspect_lefthook_yml.
Does REA run Lefthook or call git hooks?
No. Local trees only. No credential theft.
lefthook.yml vs .lefthook.yml / lefthook-local.yml?
Label Evidence by the file present. Quote what you open; note local overrides carefully.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).