YAGA
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)
Install the standalone yaga executable on Linux or macOS:
curl -fsSL https://dariuszpanas.github.io/yaga/install.sh | sh
On Windows, run this command in PowerShell:
irm https://dariuszpanas.github.io/yaga/install.ps1 | iex
The installer verifies the release checksum for your operating system and CPU. Native releases
run without Python or Cargo. You can also install the standalone CLI from crates.io
(cargo install --locked yaga-cli), install the zero-dependency yaga-cli Python 3.12+ launcher
(uv tool install --python 3.12 yaga-cli), build from a checkout with Cargo,
or use yaga-core in a Rust project.
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 Python package 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-triage,
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
- Get started — install YAGA and run your first check.
- Adoption recipes — add local hooks, CI checks, and review gates to an existing repository.
- Assess YAGA for CI — match your problem to a check and its prerequisites.
- GitHub Actions — inputs, outputs, and trust boundaries for the unified
YAGA ChecksAction. - Command reference — complete CLI and report index.
- Full documentation — policies, schemas, and operational guidance.
Optional review tools
Beyond deterministic repository checks, YAGA offers:
- Pull-request review checks, plans, and receipts — evaluate head-bound Codex, Copilot, Claude, or custom bot reviews from snapshots or live
ghstate and optionally submit commit-bound pull-request reviews. - Commit-message feedback — request an advisory review from OpenAI, Anthropic, Gemini, Amazon Bedrock, or your own OpenAI-compatible server.
- GitHub status-gate adapter — experimental multi-stage Codex lifecycle publisher for trusted workflows.
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.
Licensed under BSD-3-Clause.
Metadata
Release files for yaga-cli 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yaga_cli-0.6.0.tar.gz | 3.4 MB | With provenance | Details for yaga_cli-0.6.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| yaga_cli-0.6.0-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details for yaga_cli-0.6.0-py3-none-win_arm64.whl |
| yaga_cli-0.6.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for yaga_cli-0.6.0-py3-none-win_amd64.whl |
| yaga_cli-0.6.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for yaga_cli-0.6.0-py3-none-manylinux_2_28_x86_64.whl |
| yaga_cli-0.6.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for yaga_cli-0.6.0-py3-none-manylinux_2_28_aarch64.whl |
| yaga_cli-0.6.0-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details for yaga_cli-0.6.0-py3-none-macosx_11_0_x86_64.whl |
| yaga_cli-0.6.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for yaga_cli-0.6.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 61.5 MB
Release files / yaga_cli-0.6.0.tar.gz
| Download URL | yaga_cli-0.6.0.tar.gz |
|---|---|
| Size | 3.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f3a135b0e99d3596c1da885e533796e1cb9383586dd6f17637e19aeb575945b
|
|
BLAKE2b-256 checksum How to use checksums |
71c3d59431dd45b50166e088c220220fe8b2ca9a7ec14ffc0e89f406fdfd8b27
|
| 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 25, 2026.
Transparency logRelease files / yaga_cli-0.6.0-py3-none-win_arm64.whl
| Download URL | yaga_cli-0.6.0-py3-none-win_arm64.whl |
|---|---|
| Size | 8.2 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
ab1a369dfef33575ad4002e9d374da66d20305897ac9c406ada0825430f814e7
|
|
BLAKE2b-256 checksum How to use checksums |
332c6db9b5bd20c0c12fbe267369f00fc910f98703d8e311b9d373de1bb67709
|
| 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 25, 2026.
Transparency logRelease files / yaga_cli-0.6.0-py3-none-win_amd64.whl
| Download URL | yaga_cli-0.6.0-py3-none-win_amd64.whl |
|---|---|
| Size | 8.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0ce4cb275c28b3ae8c3b720516ed23a0027f969c0d5fe8394f4960eb326044af
|
|
BLAKE2b-256 checksum How to use checksums |
9b4ef83aa552189d7b7749a283a5c04e41d2252f780527f737bc7a621c18e062
|
| 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 25, 2026.
Transparency logRelease files / yaga_cli-0.6.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | yaga_cli-0.6.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.1 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
195a1e984906d48d8be71a90e8f602133ff342711060d57327a8f9b5415c58e4
|
|
BLAKE2b-256 checksum How to use checksums |
100fd81850df415e71605c81815442a9c1adddc1e6c26ba25548fc13efcea128
|
| 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 25, 2026.
Transparency logRelease files / yaga_cli-0.6.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | yaga_cli-0.6.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 10.7 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
c4b16fe4b7b7579cd15224be67ee3b00528d8c0e91cde07cd3d1d2792604a640
|
|
BLAKE2b-256 checksum How to use checksums |
9b9b2a98f7c27f4f16c3adf691c8a9593b449da1077372b920c92e4ae70d5b53
|
| 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 25, 2026.
Transparency logRelease files / yaga_cli-0.6.0-py3-none-macosx_11_0_x86_64.whl
| Download URL | yaga_cli-0.6.0-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
0791e8a617b936bf40937f79aca6d72dee252de1faf0b5c1af4ca442f8c5ee14
|
|
BLAKE2b-256 checksum How to use checksums |
b75a529903eaf2b70b818078ef9053f724e5167506c11b1e44cf1378dc24ca51
|
| 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 25, 2026.
Transparency logRelease files / yaga_cli-0.6.0-py3-none-macosx_11_0_arm64.whl
| Download URL | yaga_cli-0.6.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.6 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9838565bca0d06b4cd5d01ccd44f80c80d973c20aab1f6310706a3331f31847a
|
|
BLAKE2b-256 checksum How to use checksums |
182c900176ee0c2b43e7e2bf7610636ecc547840a8ccc41ace0cf35697f3508e
|
| 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 25, 2026.
Transparency logSecurity for yaga-cli 0.6.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
All 7 files in this release have been uploaded with provenance metadata.
Attestation for yaga_cli-0.6.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 25, 2026.
Transparency logA 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.