Skip to main content

YAGA

YAGA terminal Y logo

Repository conventions you can check locally and enforce in CI.

YAGA helps teams turn recurring review feedback into repeatable, deterministic checks. Catch inconsistent commit structure, unfinished pull-request descriptions, missing companion changes, unwanted committed files, risky workflow settings, and stale agent reviews before they become another review conversation. Start with one check and adopt more as your project needs them.

What can YAGA help with?

Problem What YAGA checks
Commit messages and branch names follow inconsistent conventions Commit policy and branch naming defined by your team
Pull requests omit useful context or leave template sections unfinished Description checks for required content, headings, templates, and optional spelling
Agent reviews finish asynchronously or leave pull requests waiting for an approval verdict Pull-request review checks with codex, copilot, and claude presets, active-review polling, and opt-in APPROVE / REQUEST_CHANGES verdicts
A change lands without the related files your project expects Changed-path rules, such as source changes accompanied by tests
Unwanted files, oversized blobs, or incompatible paths enter the repository Committed-file checks for contents, sizes, names, and entry modes
GitHub Actions workflows drift from your security and maintenance rules Workflow checks for immutable references, permission and checkout rules, and syntax
Local checks and CI enforce different policies An explicit repository plan used in both places
A small change needs a clear test and qualification plan Test planning selects suites and required variants from explicit changed paths

Checks produce actionable text, versioned JSON, and escaped GitHub workflow annotations with stable exit codes (0 pass, 1 policy finding, 2 input or operational error). You choose the policies and checks; YAGA does not require adopting the entire CLI at once.

Quick start

Local CLI (yaga-cli)

YAGA requires Python 3.12 or newer. Install the yaga-cli distribution from PyPI (its command is yaga; the PyPI distribution named yaga is an unrelated project):

uv tool install --python 3.12 yaga-cli
yaga policy init --repo .
yaga policy check --repo .
yaga commit check

Use yaga policy init --repo . interactively (or pass policy names or --all) to scaffold starter policies under .yaga/, or yaga config init --repo . for a standalone .yaga.toml commit policy. See Get started for convenience installers, pipx, virtual environments, and pre-commit setup. The core CLI is tested on Python 3.12 through 3.15.

GitHub Action (YAGA Checks)

Run YAGA in GitHub Actions with uses: dariuszpanas/yaga@<commit-sha> (published on GitHub Marketplace as YAGA Checks). check defaults to commit and supports policy, pr-review, pr-description, repo, branch, change, workflow, workflow-security, workflow-lint, mode, path, size, tree, and gate:

- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
  with:
    ref: ${{ github.event.pull_request.head.sha }}
    fetch-depth: 0
    persist-credentials: false
- uses: dariuszpanas/yaga@<audited-40-character-sha>

See the GitHub Actions guide and copy-ready workflow examples for commit policy, repository plans, and trusted check: pr-review verdict workflows.

Documentation

Optional review tools

Beyond deterministic repository checks, YAGA offers:

Project status

YAGA is beta. CLI and configuration contracts may change before 1.0.0. Workflow security checks cover specific documented rules, not a complete security audit; see the security model for boundaries and reporting.

Changelog · Contributing

Licensed under BSD-3-Clause.

Metadata

Release files for yaga-cli 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yaga-cli 0.5.0
File Size Uploaded Provenance Actions
yaga_cli-0.5.0.tar.gz 3.7 MB With provenance Details for yaga_cli-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yaga-cli 0.5.0
File Interpreter ABI Platform Actions
yaga_cli-0.5.0-py3-none-any.whl Python 3 none any Details for yaga_cli-0.5.0-py3-none-any.whl

Total release size: 4.1 MB

Release files / yaga_cli-0.5.0.tar.gz

Download URL yaga_cli-0.5.0.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
73ca7a986bd1d14ed4c05f3da6bb212f1ac7e4f6a10ed727eedd3972881c4309
BLAKE2b-256 checksum
How to use checksums
2635863787f59d2803778c33a5101d9ffa2fa978255eccd1fe64a44dc57501a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / yaga_cli-0.5.0-py3-none-any.whl

Download URL yaga_cli-0.5.0-py3-none-any.whl
Size 403.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8139cff025d2f97b24e0ccd178006e9c915f83c86bdf55cf77b44781b71f5f8e
BLAKE2b-256 checksum
How to use checksums
0996a83d74b8aea6f2743da2779b8c87b232f569eab117d37476bd1eb3ed02c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for yaga-cli 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yaga_cli-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page