REA Lefthook notes (unofficial)

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

  1. Authorize the Lefthook config (+ artifacts you hold).
  2. Quote selected hook job names / commands you actually see (redact secrets).
  3. Workspace cousin → rea-pnpm-workspace-yaml; gitignore cousin → rea-gitignore-patterns.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
lefthook.ymlHook-pin identity facts
pnpm workspace cousinrea-pnpm-workspace-yaml
gitignore cousinrea-gitignore-patterns
Evidence binderrea-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).

Sources