Skip to main content

rd0-trellis

Trellis stops your team from reviewing the same mistake twice. Part of rd0 — review debt, to zero.

Coding agents read AGENTS.md and still make the mistakes it forbids. Trellis turns those rules into checks:

  • trellis audit [path | owner/repo] reads AGENTS.md, CLAUDE.md, .cursor/rules and Copilot instructions, reports which rules nothing enforces, and writes ESLint, Ruff, import-linter or trellis.toml config for them.
  • trellis scan [PR-url | file.diff] flags agent slop with no config: scope creep (lockfiles, CI config, .gitignore, summary docs nobody asked for, files the PR doesn't mention), comments that excuse a workaround, lint/type suppressions with no reason, and commented-out code.
  • trellis check ratchets: it fails only when a rule set to error has more hits after the change than before, and reports the debt that is left.

Pure Python, no LLM, no API key. Python 3.9+.

$ pip install rd0-trellis
$ trellis audit .
AGENTS.md: 13 rules. 1 enforced by a check, 9 could be (10 of 13 are checkable), 3 are judgment calls.
$ trellis scan https://github.com/OWNER/REPO/pull/123
$ trellis check --base origin/main
import rd0_trellis

report = rd0_trellis.audit(".")
print(report.headline())

files = rd0_trellis.parse_diff(open("pr.diff").read())
for f in rd0_trellis.scan(files, pr_text="Fix the login timeout"):
    print(f.where, f.rule, f.message)

The GitHub Action, trellis.toml reference and the full guide are at https://github.com/harshuljain13/rd0-trellis.

Metadata

Release files for rd0-trellis 0.1.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 rd0-trellis 0.1.0
File Size Uploaded Provenance Actions
rd0_trellis-0.1.0.tar.gz 36.2 kB With provenance Details for rd0_trellis-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rd0-trellis 0.1.0
File Interpreter ABI Platform Actions
rd0_trellis-0.1.0-py3-none-any.whl Python 3 none any Details for rd0_trellis-0.1.0-py3-none-any.whl

Total release size: 67.8 kB

Release files / rd0_trellis-0.1.0.tar.gz

Download URL rd0_trellis-0.1.0.tar.gz
Size 36.2 kB
Tags Source
SHA-256 checksum
How to use checksums
889d390ce8b82cf6c5d447d9f3b4805aab0a9b2745619737484464eddf478453
BLAKE2b-256 checksum
How to use checksums
f153a9528aa789725c6b31e2ae381a317c4dee124021bc328d4e8de40ba6337a
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 20, 2026.

Transparency log

Release files / rd0_trellis-0.1.0-py3-none-any.whl

Download URL rd0_trellis-0.1.0-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f0cb92002508bf503e8d350528d5350ecf8b8f51be64ee00f61a38ffda7dba4
BLAKE2b-256 checksum
How to use checksums
9dbee959148f575aea6b4a6d1bb5a42e6b681f02c2495e7dc0d60293b71b8b6b
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 20, 2026.

Transparency log

Security for rd0-trellis 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.

Select from 2 files

Attestation for rd0_trellis-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 20, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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