brevio-core
A zero-token pull-request gate that catches the mistakes coding agents keep repeating.
It reads the lines a change adds and checks them against 122 deterministic code rules. It makes no model call, needs no API key and sends nothing anywhere. Every finding names a rule, and every rule has a page that says what it catches, why, and what to write instead.
Version 0.1.0. Licensed under Apache-2.0.
Install
pip install brevio-core
Python 3.10 or newer. There are no runtime dependencies.
Use
brevio-core scan src/ # files or folders
brevio-core scan --diff origin/main # only the lines added against a base
brevio-core scan --diff --sarif out.sarif
The exit code is 0 when nothing is found, 1 when there are findings and 2 for a usage error.
GitHub Action
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Brevio-Ventures/brevio-core@v0
The Action installs brevio-core, scans the pull request diff and fails the check on a finding. It needs no secrets.
pre-commit
repos:
- repo: https://github.com/Brevio-Ventures/brevio-core
rev: v0.1.0
hooks:
- id: brevio-core
Rules
Each rule has a page under docs/rules. There is no ignore comment: a comment that silences a
rule is the easiest way for an automated author to pass its own gate, so the fix goes in the code.
What it does not claim
This release publishes no benchmark. When a reproducible one exists, its method and data will be published with the number.
Project
- Contributing (sign-off required)
- Security
- Code of conduct
- Trademark policy
Made by Brevio.
Metadata
Release files for brevio-core 0.1.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 |
|---|---|---|---|---|
| brevio_core-0.1.0.tar.gz | 49.9 kB | With provenance | Details for brevio_core-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brevio_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for brevio_core-0.1.0-py3-none-any.whl |
Total release size: 104.4 kB
Release files / brevio_core-0.1.0.tar.gz
| Download URL | brevio_core-0.1.0.tar.gz |
|---|---|
| Size | 49.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63629dd14139719db4ddc6dd25488c9ebd8b253212eb55b2e44ecfadf0f4bd72
|
|
BLAKE2b-256 checksum How to use checksums |
64117438b6518ed63407ce121108fc9cd93556cf6a45cae625d860cedb357ddf
|
| 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 5, 2026.
Transparency logRelease files / brevio_core-0.1.0-py3-none-any.whl
| Download URL | brevio_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 54.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26be360c0625df652ff8a3a97c02b161329c609a997958441cd8b614c8b3a44b
|
|
BLAKE2b-256 checksum How to use checksums |
e56efa1af6b97c6eaa5646e0676aac40f8d590c66c4eebd8456df9cc8f34e48e
|
| 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 5, 2026.
Transparency logSecurity for brevio-core 0.1.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.
Attestation for brevio_core-0.1.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 5, 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.