REA Husky hooks notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Husky pins git-hook path identity. In REA 6.7.x, treat selected .husky/* scripts as Evidence beside archive/package routes — complementing rea-lefthook without inventing APIs.

Mental model

  1. Authorize the Husky hook files (+ artifacts you hold).
  2. Quote selected hook names / script lines you actually see (redact tokens).
  3. Lefthook cousin → rea-lefthook; commitlint → rea-commitlint-config.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a Husky API REA never called.

Minimal path

# authorized .husky/* (+ package.json prepare) (+ artifact you hold)
# quote selected hook names/scripts into case notes (redact tokens)
# cousins → lefthook / pre-commit / commitlint
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_husky .

Compare

ArtifactHonest posture
Husky hooksHook-path identity facts
lefthook cousinrea-lefthook
commitlint cousinrea-commitlint-config
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_husky / automatic hook install.
  • No credential theft from hook scripts / CI tokens.
  • No pirate redistribution of paid tooling.
  • No crack framing via Husky pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-lefthook / rea-pre-commit-config?

rea-lefthook zooms on Lefthook YAML. rea-pre-commit-config zooms on pre-commit. This page zooms on Husky hook path/scripts as Evidence — it does not overwrite those pages.

Is there inspect_husky in 6.7.0?

Not assumed. Quote Husky hook pins, then use documented package/archive lanes. Do not invent inspect_husky.

Does REA install git hooks or steal credentials from hook scripts?

No. Local trees only. Redact tokens in hook scripts; do not treat REA as a hook installer.

Husky vs commitlint / lefthook?

Label Evidence by the file present. Keep this lane separate from rea-commitlint-config and rea-lefthook.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources