Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

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.

Contributions
01Reject or writeReject a false positive, or turn a failure you lived through into a rule.
02Review and sign offExamples are cleaned of names and secrets. You see exactly what is sent.
03Open the PROne pull request to the open rules, as you. Maintainers review it.
$ 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
Four ways in

Pick the one that fits.

1 · A rule

Write a check

Scaffold it, test it against its examples, open a PR.

tomosu rules new <id>
tomosu rules test <dir>
2 · An idea

No code needed

The failure you hit, a code example and the fix.

3 · From the console

Reject, edit, contribute

Reject a false positive or write a custom rule, review what is sent, sign off.

4 · Auto Contribute

Everything at once

Cleans and tests every pending item, then opens one PR as you.

tomosu rules contribute --all
In the console

Every rejection makes a rule sharper.

Nothing is sent until you choose. Review the plan, then follow each contribution to its pull request.

Reject

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.

Tomosu · Contributions
Tomosu Contributions: Auto Contribute plans everything not yet sent as one pull request, and each rejected finding becomes a negative example or a wrong-fix report for its rule.
Follow

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.

Tomosu · Sent and saved
Tomosu Contributions, sent and saved: each contribution with its status, proposed on GitHub or saved as a file.
Layout

Where rules live

One folder per check, with check.yaml and tests. Format: docs/rules-format.md.

See the existing rules
# pre-merge, by language
$ ls rules/v1/pre-merge/{python,javascript,go,rust}/<id>/
# runtime signals
$ ls rules/v1/runtime/<id>/
$ make rules-test
FAQ

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.

See the rules