REA Husky hooks notes (unofficial)
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
- Authorize the Husky hook files (+ artifacts you hold).
- Quote selected hook names / script lines you actually see (redact tokens).
- Lefthook cousin → rea-lefthook; commitlint → rea-commitlint-config.
- Bind absolute paths honestly → rea-absolute-paths.
- 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
| Artifact | Honest posture |
|---|---|
| Husky hooks | Hook-path identity facts |
| lefthook cousin | rea-lefthook |
| commitlint cousin | rea-commitlint-config |
| Evidence binder | rea-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).