REA .husky/ notes (unofficial)

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

.husky/ pins git-hook directory identity. In REA 6.7.x, treat selected hook-script pins as Evidence beside archive/package routes — complementing rea-husky-hooks without inventing APIs.

Mental model

  1. Authorize the .husky/ tree (+ artifacts you hold).
  2. Quote selected hook script names / first lines you actually see (never paste secrets).
  3. Cousins → rea-husky-hooks · rea-lintstaged-rc · rea-lefthook-yml · rea-editorconfig-root.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a husky-dir API REA never called.

Minimal path

# authorized .husky/ directory (+ artifact you hold)
# quote selected hook script names/pins into case notes; never paste secrets
# cousins → husky-hooks / lintstaged-rc / lefthook-yml / editorconfig-root
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_husky_dir .

Compare

ArtifactHonest posture
.husky/ directoryHook-directory identity facts
husky lanerea-husky-hooks
lint-staged / lefthookrea-lintstaged-rc · rea-lefthook-yml
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_husky_dir / automatic git-hook runs.
  • No credential theft from env / tokens in hook scripts.
  • No pirate redistribution of paid packages.
  • No crack framing via husky pins.

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

FAQ

How is this different from rea-husky-hooks / rea-lintstaged-rc?

rea-husky-hooks covers the general husky lane; rea-lintstaged-rc covers lint-staged RC. This page zooms on .husky/ directory Evidence — it does not overwrite those pages.

Is there inspect_husky_dir in 6.7.0?

Not assumed. Quote hook script names/pins you actually open. Do not invent inspect_husky_dir.

Does REA run husky hooks or call git?

No. Local trees only. No credential theft.

.husky/pre-commit vs husky.config.js?

Label Evidence by the path present. Quote what you open.

npm version checked?

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

Sources