HeadlinesBriefing favicon HeadlinesBriefing.com

ImpactGate: Code Review by Change Impact

Hacker News •
×

Officefloor released ImpactGate, a tool that measures and gates structural decay introduced by code changes. Structural decay is complexity accreting into existing structures, such as a god-class gaining another method. ImpactGate scores changes against a base using a formula that weights complexity in pre-change state, making heavy modifications expensive and new imports cheap.

It runs as a standalone CLI, a git pre-commit hook, or a plugin in GitHub, Git Lab, and Jenkins CI. Install via pip or use the published Docker image without installation. When impact exceeds thresholds, it warns or blocks builds depending on enforcement settings.

Reports list files ranked by impact share, highlighting where decay concentrates. It skips files exceeding max_diff_lines to avoid distortion from generated dumps. Pre-commit hooks can block commits locally, and CI can gate on percentile curves built from project history or a seeded prior from a 20-repo open-source corpus.