Published October 4, 2026 | Version v0.17.2

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.17.2.zip

Files (2.7 MB)

Name Size Download all
md5:4de95e8044816f4f2b0b957e492588dd
2.7 MB Preview Download

Additional details

Related works

Software