REA simple-git-hooks notes (unofficial)
simple-git-hooks (package.json simple-git-hooks / .simple-git-hooks.cjs) pins hook-name/command identity. In REA 6.7.x, treat selected hook-name/command labels as Evidence beside archive/package routes — complementing cousins without inventing APIs. Chosen instead of a pre-commit-yml near-dupe of pre-commit-config.
Mental model
- Authorize the simple-git-hooks project tree (+ packaged configs you hold).
- Quote selected hook-name/command labels you actually see (never paste secrets).
- Cousins → pre-commit-config · lefthook-yml · husky-hooks · lint-staged.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_simple_git_hooksAPI REA never called.
Minimal path
# authorized package.json simple-git-hooks / .simple-git-hooks.cjs (+ artifact you hold)
# quote selected hook-name/command labels into case notes
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_simple_git_hooks .
Compare
| Artifact | Honest posture |
|---|---|
| simple-git-hooks config | Git hook command identity facts |
| Peer | rea-pre-commit-config |
| Peer | rea-lefthook-yml |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote hook names (
pre-commit,pre-push) and command labels — enough for most Evidence binders. - Hook scripts may embed tokens — record command names only, never live secrets.
- Keep simple-git-hooks distinct from pre-commit framework configs and Husky/Lefthook peers in case notes.
- Package.json script pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for hook runners.
Scope we will not cover
- No inventing
inspect_simple_git_hooks/ automatic attacks against foreign simple-git-hooks hosts. - No credential theft from tokens, CI secrets, or remote URIs.
- No pirate redistribution of proprietary simple-git-hooks trees.
- No crack framing via simple-git-hooks pins.
- No cookbooks that weaken remote auth on foreign services.
Honest limits
RepoRead documents config literacy — how authorized simple-git-hooks trees relate to Evidence — not a full simple-git-hooks course. Prefer upstream simple-git-hooks docs for config details. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-pre-commit-config / rea-lefthook-yml / rea-husky-hooks?
rea-pre-commit-config, rea-lefthook-yml, and rea-husky-hooks cover peer lanes. This page zooms on simple-git-hooks identity — it does not overwrite those pages.
Is there inspect_simple_git_hooks in 6.7.0?
Not assumed. Quote hook-name/command labels you actually open, then use documented package/archive lanes. Do not invent inspect_simple_git_hooks.
Does REA connect to remote simple-git-hooks services or steal credentials?
No. Local trees only. Redact tokens, credentials, and remote URIs; do not treat REA as a simple-git-hooks runner. No credential theft.
How should I label Evidence vs other build/config files?
Label Evidence by the file present. Keep simple-git-hooks separate from rea-pre-commit-config, rea-lefthook-yml, and rea-husky-hooks.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).