Why we're open-sourcing a tool that grades your code
Tomosu checks code for production reliability before merge, and the engine behind it is going open source soon. This post is the reasoning, plus what one of the rules looks like, since that's the part people will actually read.
Every rule started as an outage
The checks aren't style opinions. Each one is a failure that took something down somewhere: a retry with no idempotency key that charged a customer twice, an HTTP client with no timeout that held requests open until the pool ran dry, a lock that wasn't released on an error path.
Here's the shape of one, in plain terms:
failure a POST retried after a timeout, but the first attempt had committed
detects a retry wrapper around a non-idempotent call with no idempotency key
risk duplicate side effects: double charges, duplicate orders
suggested send an idempotency key and dedupe on the server, or don't retry the call
Why that has to be open
If a rule can mark your pull request Not Ready, you should be able to open it and check three things: what it looks for, the failure it came from, and the tests that show it fires on the bad case and stays quiet on the good one.
A closed tool grading your code is one more opinion in review. Engineers are right to ignore opinions they can't inspect.
The practical reasons
- It runs in your environment. One binary, offline, no account. Your code doesn't leave unless you turn on model assist.
- The same rules run before merge and at runtime. With OpenTelemetry connected, a production slowdown and a pre-merge finding share one rule ID, so you can tell when a pattern in a PR is already hurting you live.
- Rules improve when the people who lived through the outage write them. Open rules mean anyone can contribute one, with their name on it.
- Security review is faster when the reviewer can read the source instead of a questionnaire.
What's next
The engine opens soon. Before merge it covers Python, JavaScript, TypeScript, Go, Rust and SQL. At runtime it covers any language that sends OpenTelemetry.
If you've got an outage you think should be a rule, leave it in the comments. That's exactly the input we want before launch.
The waitlist for the first group is here.
About the author
- Tomosu continuously scores every application and closes its reliability gaps across development, pre-merge and runtime, using the Production Reliability Index (PRI) and a multi-tier agentic system.
Comments
Join the discussionNo comments yet. Be the first to comment.


