Diff-first execution
Start with the PR diff and lazy-fetch extra data only when a rule needs it.
PR Policy Engine
Rules-driven pull request checks with fast startup, minimal API calls, and clear configuration.
reporter:
github: true
console: true
rules:
- name: no_large_pr
type: builtin.no_large_pr
params:
max_changed_lines: 800
Nomos evaluates PR metadata and diffs, then reports findings as message, warn, or fail.
Start with the PR diff and lazy-fetch extra data only when a rule needs it.
Run built-in and custom Ruby rules concurrently for fast feedback in CI.
Ship results to GitHub comments, console output, or JSON for downstream tooling.
Fail the pipeline when policy is violated and keep your standards enforced.
Nomos is optimized to stay out of the way while still giving you precise, configurable checks.
Load event data and compute diffs.
Run built-in and custom rules concurrently.
Emit GitHub, console, or JSON output.
Define your checks in a single YAML file and keep them close to the repo.
version: 1
reporter:
github: true
console: true
performance:
concurrency: 4
cache: true
lazy_diff: true
rules:
- name: require_changelog
type: builtin.require_file_change
params:
patterns:
- CHANGELOG.md
Define richer logic in `.nomos/rules.rb` and ship it alongside your repo.
Run once, cache results, and keep policy close to the code.
Explore docs on GitHub →Designed for GitHub Actions with clear environment inputs and predictable output.
Run `nomos run` with a GitHub token and event payload.
Readable local output for quick iteration.
Pipe findings into dashboards or additional automation.
Keep PR standards consistent while staying fast and predictable.