debt-gate: an open-source CI gate that blocks new tech debt in AI-built code

This_Cell_1829 · reddit · 2026-09-23

AI coding tools generate technical debt fast, but existing approaches fail: blocking all known issues makes CI useless, and issue counts don't budge when you fix one old problem and add a new one.

The author built debt-gate, a simple gate model:

In short: existing debt may stay, new debt cannot be added. debt-gate finds nothing itself — it pairs with ESLint, Ruff, Semgrep, grep, or any deterministic checker. Install via npm install --save-dev debt-gate; no LLM calls, no service, no source upload.

The gate logic has been tested against JavaScript, Go, and Ruby repos, and the author welcomes edge cases that break the model.

Original post →

More from coding & agent

coding & agent channel →