AI’m Hooman
"beep boop ... ai'm hooman"
aimhooman: AI works. Hoomans ship.
Human-owned, not human-washed. aimhooman removes tooling residue and sets human
ownership. It does not fake authorship or strip disclosure your policy requires.
TL;DR
Keep AI session files and stray Co-authored-by: lines out of your Git history —
a vendor-neutral guard, repair-first by default, without a per-tool ignore list and
without faking who wrote the code. Zero runtime dependencies. Node 22.8+, Git 2.28+.
The problem
Your AI agent works in your repo and quietly leaves state behind: .claude/session.json,
chat history, caches, and Co-authored-by: an AI. One git add -A later, it is in your
history. Ignore lists are per-tool and never complete, and a local git hook is one
--no-verify away from being skipped.
How it works
One detection core, many enforcement surfaces. On the default profile the ordinary commit
path repairs hygiene findings when it can; commit-msg checks the pinned would-be tree,
and the final ref boundary independently scans every commit introduced to HEAD or a
branch. A block that survives repair stops the commit; an incomplete scan warns on
clean/compliance and still vetoes at the final ref guard, unless the only gap is a
file over the per-file size budget. pre-push scans what a push would send, so a commit
pushed by raw object ID with git push cannot bypass the local guards.
flowchart TD
SESS([Session start]) -. once .-> EXCL["Auto-exclude known<br/>AI artifacts in .git/info/exclude"]
AGENT([Agent calls a tool]) -. proactive .-> ADV["PreToolUse parses the command,<br/>resolves repo/policy, and checks bypass risk"]
RUN([You run the CLI]) -. on demand .-> CLI["check · fix · explain"]
COMMIT([Ordinary git commit or merge]) --> PRE["pre-commit / pre-merge-commit<br/>run predecessor, resolve staged policy,<br/>scan exact index"]
DIRECT([Sequencer or direct ref path<br/>cherry-pick · rebase · fetch · worktree · update-ref]) --> REF
PRE -->|clean: safe repair| MSG["commit-msg snapshots would-be tree,<br/>runs predecessor, then checks<br/>the message and pinned full tree"]
PRE -->|strict violation or failed repair| BLOCK([Operation stops])
MSG -->|message and tree accepted| REF["reference-transaction prepared<br/>scans what each introduced commit changes<br/>(messages of commits made here, not fetched history)"]
MSG -->|unsafe or unrepairable| BLOCK
REF -->|accepted| SHIP([Ref update commits])
REF -->|violation or incomplete scan| BLOCK
PUSH([git push]) --> PREPUSH["pre-push<br/>scans every commit the push would send,<br/>messages included — even a push by raw object ID"]
PREPUSH -->|accepted| SENT([Objects leave for the remote])
PREPUSH -->|violation| BLOCK
classDef entry fill:#f8fafc,stroke:#94a3b8,color:#0f172a,stroke-width:1.5px
classDef hook fill:#eef2ff,stroke:#6366f1,color:#312e81,stroke-width:2px
classDef ok fill:#ecfdf5,stroke:#10b981,color:#064e3b,stroke-width:1.5px
classDef stop fill:#fef2f2,stroke:#ef4444,color:#7f1d1d,stroke-width:2px
class SESS,AGENT,RUN,COMMIT,DIRECT,PUSH entry
class PRE,MSG,REF,PREPUSH hook
class SHIP,SENT ok
class BLOCK stop
- Prevent: known AI artifacts go into
.git/info/exclude on session start, so they never show in git status.
- Catch:
pre-commit unstages what slips through; commit-msg removes exact high-confidence attribution lines.
- Advise: the plugin's
PreToolUse reports paths early and denies protected commit/ref operations it cannot prove safe.
- Block:
strict cancels instead of repairing; on every profile the final ref guard stops an unscannable or blocked commit.
Quick start