What can I contribute from the engine?
| From | Becomes | Console (Contributions) | Terminal |
|---|---|---|---|
| A finding you rejected as a false positive or a wrong fix | A negative example or a wrong-fix report that makes the rule more precise | Rejected findings → your rules, Correct the rule | contrib queue, contrib correct, rules contribute finding:<id> |
| A fix Tomosu Agent drafted and your team accepted | A fix template for the rule, so every install gets it without a model | Rule updated by Tomosu Agent | rules contribute |
| A problem Tomosu Agent found where no rule matched | A new rule, made from the pattern | New rule discovered by Tomosu Agent, Make a rule | contrib propose <pattern>, rules propose |
| A rule you wrote | A new community rule | Community Rules → your rule → Contribute | rules contribute <rule-id> |
How do I see what is ready to contribute?
Reject a finding as a false positive or with a wrong fix, and it waits on Contributions:
$ tomosu contrib queue --engine http://localhost:7600
1 rejected finding(s) ready to contribute:
2026-11-27 f-0ff9d4064115 23.unbounded-inmemory-cache · app.py:156 (false-positive)
Review one with: tomosu rules contribute finding:<id> --engine http://localhost:7600 --signoff "Name <email>"

What do I review before anything is sent?
- You see exactly what would be sent: the files, the examples and the description.
- Examples are taken from your code, so names, literals, paths and secrets are neutralised first, and you edit them before sending.
- You sign off under the Developer Certificate of Origin (DCO). There is no contributor agreement, and contributed rules stay open.
- Nothing is sent automatically. In the terminal,
rules contributeshows the contribution and sends it only with--yes.
What does Auto Contribute do?
One click on Auto Contribute, or tomosu rules contribute --all --engine URL, plans everything not yet sent: examples cleaned automatically, each rule tested, duplicates merged, and items with nothing to show left out with a reason. You review the plan, untick what you disagree with, and press Apply plan (tomosu contrib apply <plan-id>).
Where does a contribution go?
It is sent as a pull request to the rules repository (contrib.github_repo, tomosuai/tomosu by default), opened as you with your GitHub sign-in. Without a sign-in, the console opens GitHub’s own “propose a file” page in your account, so nothing leaves without your click. Maintainers review it, run it in shadow, and release it with credit to you.
The ways to contribute without the engine, including a rule idea with no code, are on Contribute a rule.