Overview
git-lrc is designed around one idea: review at the moment of commitment.
Instead of relying only on later review stages, it places an AI-assisted review decision near git commit, where developer intent and accountability are strongest.
Core Concepts
Commit-time guardrail
The check runs before commit lands. This catches problems while context is fresh and before risky code spreads.
Review loop
Developers iterate:
- Generate or edit code
- Run review
- Fix findings
- Repeat
Responsibility choices
review: run AI reviewvouch: no AI run, explicit ownershipskip: bypass review and ownership attestation
Traceability in git log
Each commit can include status metadata:
ran (iter:N, coverage:X%)vouched (iter:N, coverage:X%)skipped
This gives teams visibility into review behavior over time.
Practical Difference vs IDE-only flows
IDE integrations are useful but tool-specific. Git-level integration gives one review control point regardless of editor preference across a team.
Security-Oriented Framing
The model is aimed at high-impact diff risks such as:
- credential leakage
- sensitive logging
- behavior-changing logic removal
- expensive cloud operation insertion
For detailed risk categories, see Threat Model.