{
  "id": 7793203,
  "title": "ImpactGate: A merge gate that scores the structural decay AI adds",
  "url": "https://urgent.news/2026/09/16/impactgate-a-merge-gate-that-scores-the-structural-decay-ai-adds",
  "topic": "ai",
  "section": "AI",
  "published": "2026-09-16T13:01:09.000Z",
  "source": {
    "name": "Hacker News",
    "slug": "hacker-news",
    "url": "https://github.com/officefloor/ImpactGate"
  },
  "original_language": "en",
  "account": "ImpactGate is a tool that evaluates the structural decay introduced by code changes. It can be run as a standalone command line interface, a Git pre-commit hook, or a plugin in GitHub, GitLab, and Jenkins CI. The tool scores a change against a base, typically the main branch, using the WMC_other metric, which measures complexity already present in the container being edited. Changes that add new files or classes are considered cheap, while adding to an already-heavy class is expensive, indicating structural decay. If the impact is too high, ImpactGate advises simplifying the change or refactoring the code. It can warn or block the commit, with the latter failing the build. The tool can also be run without installation via a published image, bundled with Git. The scoring process generates a list of files to consider for refactoring, ranked by their contribution to the overall impact. Changes with a diff larger than a specified maximum are typically skipped to prevent distortion of the impact score. The tool allows for customization of the threshold through a configuration file or command line flags, enabling teams to set an appropriate value based on their specific needs. ImpactGate can be integrated into CI pipelines, with a ready-made example available for GitLab CI workflows. By integrating ImpactGate into the development process, teams can proactively identify and address structural decay, improving code quality and maintainability.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}