Contribute
Turn the outage you lived through into a check for everyone
The rules are open, and anyone can add one. Write a check with tests, send an idea, or contribute straight from the console. DCO sign-off, no contributor agreement, open forever.
$ tomosu rules new 22.retry-without-backoff $ tomosu rules test rules/v1/pre-merge/python/22.retry-without-backoff # runs the rule against its positive and negative examples $ tomosu rules contribute --all --engine http://localhost:7600 # plans everything not yet sent, then opens one pull request as you
Pick the one that fits.
Write a check
Scaffold it, test it against its examples, open a PR.
tomosu rules new <id> tomosu rules test <dir>
No code needed
The failure you hit, a code example and the fix.
Reject, edit, contribute
Reject a false positive or write a custom rule, review what is sent, sign off.
Everything at once
Cleans and tests every pending item, then opens one PR as you.
tomosu rules contribute --all
Every rejection makes a rule sharper.
Nothing is sent until you choose. Review the plan, then follow each contribution to its pull request.
Rejected findings become your rules
Reject a finding and say why. A false positive becomes a negative example for its rule; a wrong fix becomes a wrong-fix report. Tomosu Agent can correct the rule with you, and Auto Contribute plans everything not yet sent, cleaned and tested, as one pull request to tomosuai/tomosu.

See where each contribution stands
Every contribution you proposed or saved is listed with its status: proposed on GitHub, ready to open as a pull request, or saved as a file to download.

Where rules live
One folder per check, with check.yaml and tests. Format: docs/rules-format.md.
# pre-merge, by language $ ls rules/v1/pre-merge/{python,javascript,go,rust}/<id>/ # runtime signals $ ls rules/v1/runtime/<id>/ $ make rules-test
Contributing questions
Do I need to sign a contributor agreement?
No. Contributions use DCO sign-off, and community rules stay permanently open under a permissive license.
Can I contribute without writing code?
Yes. Send the failure you hit, a code example and the fix as an issue, and maintainers can turn it into a check.
What makes a rule acceptable?
The production failure it prevents, public sources, positive and negative tests, and a fix that makes no logic change.