OfficeFloor has released ImpactGate, a tool designed to measure and gate the structural decay introduced by code changes. The tool aims to address a growing challenge in software development: the accumulation of complexity facilitated by AI, which can lead to "god methods" and "god classes" that become unmaintainable for humans.
Product LaunchesOfficeFloorImpactGate
ImpactGate Introduced to Measure and Gate Structural Code Decay in AI-Augmented Development
ImpactGate calculates a "change-impact" score based on the amount of complexity added to an existing structure. Unlike simple line-count metrics, the formula considers the complexity already present in the target container. This means adding a new file is considered "cheap," while adding logic to an already complex class is "expensive." The metric uses a combination of files changed, Weighted Methods per Class (WMC), Cyclomatic Complexity (CC), and the number of lines changed.
The tool can be integrated into various workflows, including as a standalone CLI, a git pre-commit hook, or a plugin for CI/CD platforms like GitHub, GitLab, and Jenkins. It offers two modes of enforcement: "warn," which reports the impact, and "block," which fails the build if the impact exceeds a defined threshold.
To account for varying project scales, ImpactGate provides a "grading" feature that evaluates a change's percentile against a distribution of the project's own history. This allows developers to set thresholds based on percentiles rather than arbitrary absolute numbers.
The tool is available via pip install impact-gate or through a Docker image. While it identifies where complexity is concentrating to facilitate refactoring, the developers note that ImpactGate is designed to measure structural decay and does not claim to predict software bugs.
Sources
- ImpactGate: A merge gate that scores the structural decay AI adds (Hacker News Frontpage, 2026-09-16)
- Website