Published October 17, 2026 | Version v0.23.0

Discipline: universal CI/CD gatekeeper and AI coding agent diff sentinel

Authors/Creators

Description

Discipline is a CI/CD diff sentinel and AI coding agent gatekeeper built in Rust. One static binary runs the same declarative gates in GitHub Actions, GitLab CI/CD, Forgejo and Gitea Actions, Argo Workflows, pre-commit hooks, and a coding agent's local loop. Its gates read changes through tree-sitter syntax trees: weakened or deleted assertions, vacuous tests, unsafe blocks without a SAFETY justification, unexplained deletions of tests and benchmarks, and CPU cycle and instruction regressions judged with confidence intervals.

Dual-licensed MIT OR Apache-2.0. This record lists Apache-2.0 because Zenodo accepts a single licence identifier; the MIT option applies equally (see LICENSE-MIT in the archived source).

Files

orieg/discipline-v0.23.0.zip

Files (4.5 MB)

Name Size
md5:a0fe5a151735ccea01c5e488457a6145
4.5 MB Preview Download

Additional details

Related works

Software