REA lefthook.yml notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
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

  1. Authorize the lefthook.yml (+ artifacts you hold).
  2. Quote selected job / command pins you actually see (never paste secrets).
  3. Cousins → rea-lefthook · rea-husky-dir · rea-lintstaged-rc · rea-npmrc-engine.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
lefthook.ymlHook-job identity facts
lefthook lanerea-lefthook
husky / lint-stagedrea-husky-dir · rea-lintstaged-rc
Evidence binderrea-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).

Sources