AcademySkillsDevelopment

gap-trap

Development teams that let coding agents write most of the code and need automatic checks to keep quality from drifting.

  • Recommendedour rating
  • 181gitHub stars
  • MITlicence
  • 8 days agolast update
git clone https://github.com/pliablepixels/gap-trap.git
README.md

Loading the file...

What it does

gap-trap is run once in a repository. It reads the code, writes rules that fit that codebase and adds a gate for each rule, a check that fails the commit or CI run when the rule is broken. It aims to keep AI-written code correct without reviewing every line.

Use cases

  1. 01Block agent code that bypasses a layer boundary
  2. 02Fail CI when a new test cannot fail
  3. 03Stop agents from duplicating existing helpers

Questions about
gap-trap.

What is gap-trap used for?

Development teams that let coding agents write most of the code and need automatic checks to keep quality from drifting. gap-trap is run once in a repository. It reads the code, writes rules that fit that codebase and adds a gate for each rule, a check that fails the commit or CI run when the rule is broken. It aims to keep AI-written code correct without reviewing every line.

How do I install gap-trap?

Run this in your terminal: git clone https://github.com/pliablepixels/gap-trap.git

Is gap-trap open source?

Yes. The code is on GitHub (pliablepixels/gap-trap) under the MIT licence.

Is gap-trap safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.