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
  • Open Source
  • Community Powered
  • Evidence-Backed

Reliability Intelligence

Every rule is a production failure someone already lived through, turned into a check and a fix.

Tomosu’s rules matrix holds 218 pre-merge checks for Python, JavaScript, TypeScript, Go, Rust and SQL, and 137 runtime signals from OpenTelemetry. Each rule names the failure it prevents, ships with tests and a safe fix, and gets sharper as engines report which fixes held.

218 pre-merge checks · 137 runtime signals · 6 languages · Release Nov 2026

Contribute a rule →
22.retry-repeats-one-time-actionRetry repeats payments or other one-time actionsCommunity · active
The failure
A POST is retried without an idempotency key, so a lost reply means the action happens twice.
The fix
One idempotency key before the loop, sent on every attempt: headers={"Idempotency-Key": key}.
At runtime
Paired with R11.retry-amplification.
Tests
Positive and negative examples, run on every change.
Anatomy of a rule

More than a lint rule. A lesson from production.

Every Tomosu rule carries six things, so a finding is something you can trust and act on in seconds.

  1. 1The failure it preventsNamed in plain words: a double charge, a hung request, a database melting under one query per row.
  2. 2How it is detectedDeterministic and auditable. The same code always gets the same answer, with the facts that matched.
  3. 3A safe fixAdditive and drop-in: no logic change, signatures kept, imports included. You accept it as a pull request.
  4. 4Its production signalThe runtime signal that shows the same failure happening live, so code and production confirm each other.
  5. 5Its testsPositive and negative examples, written from scratch or public code, run on every change to the rule.
  6. 6Its track recordWhich findings teams accepted, which fixes they kept, and what changed in production afterwards.
One rule, two moments

The same rule before merge and in production.

A pre-merge check and its runtime signal share one rule ID. When the check matches your code and the signal fires in production on that same function, the finding is labelled Pre-merge + Runtime and ranked first: the risk is not theoretical, it is already happening.

  • Before merge. The check finds the pattern in your code or pull request.
  • In production. The paired signal shows the failure on live traffic.
  • Ranked first. Both together, with the fix, at the top of your list.
Coverage · before merge

What the checks catch in your code

Every category is named for the failure it prevents, in Python, JavaScript, TypeScript, Go, Rust and SQL.

See every check by name
01

Slow dependencies

One slow dependency cascading into an outage

02

Useless logs

Logs that exist but say nothing useful

03

Leaked secrets

Credentials in the repo, personal data in logs

10

Support readiness

“Something went wrong” is all anyone has

11

Traffic overload

One client taking down the API

13

Database load

One query per row in production

18

Concurrency

Shared state, locks, async and cancellation bugs

21

Error handling

An error detected, then handled wrongly

22

Retries and duplicates

Operations that half-succeed or run twice

23

Leaked resources

Leaked connections, bodies, cursors and files

24

Caching

A cache that fails unsafely

27

Silent failures

Failures that leave no log or metric

A04 · A21

AI agents

Retries that cannot succeed, runs with no budget

Coverage · in production

What the signals watch in production

Computed from standard OpenTelemetry, for any language.

See every signal by name
R02

Latency

p99 far slower, bimodal latency, failures slower than success

R03

Traffic

Surges, drops, clients giving up, load shedding

R05 · R06

Saturation

CPU, memory, threads, event loop, file handles, ports, OOM kills

R08 · R10

Databases and caches

Refused connections, slow queries, repeated queries, mass expiry

R11

Dependencies

Timeouts, resets, DNS, throttling, retry amplification

R16 · R17

Errors and logs

Crashes, retries exhausted, error share doubling, secrets in logs

E01 · E02 · E18

Error codes

HTTP 429 and 5xx, OpenAI, Anthropic and Gemini rate limits

How rules get sharper

Proven before release, measured after.

Rules earn their place. Noisy ones are tightened or retired; ones whose fixes hold earn trust.

  1. 1ContributedFrom the community, or learned from patterns seen across many teams.
  2. 2TestedIt must pass its own examples, stay within time limits and use sandboxed logic only.
  3. 3Shadow modeIt runs silently across engines and only counts, so noise is caught before anyone sees it.
  4. 4ReleasedTo every engine, with credit to its contributor.
  5. 5ProvenAccepted, kept and production impact are tracked, and feed the next version.
Community rules

Open, forever

Readable, permissively licensed and never relicensed. They run in every engine, offline, with no account.

Pro rules

Production-learned, delivered encrypted

Sharper rules learned from real outcomes, updated daily and opened only inside your engine. Detection logic is never shown.

Contribute

Lived through an outage? Turn it into a rule.

Your contribution stays open source forever, with your name on it and its impact shown back to you.

For engineers

Write a full rule

A YAML rule with its examples and the failure it prevents, tested locally with rules new, rules test and rules try.

For everyone

Share a rule idea

Describe the failure, show the code and the fix. Maintainers turn good ideas into rules.

From the product

Contribute in one click

Turn a false positive or a custom rule into a contribution from the console. You review exactly what is sent.

Contribute a rule →
FAQ

Rules questions

What is a Tomosu reliability rule?

A check for one way software fails in production: the failure it prevents, the code facts that detect it, a fix with no logic change, and tests.

Are the rules open source?

Community rules are open and stay open under a permissive license, with DCO sign-off and no contributor agreement. Pro rules come encrypted from Tomosu Cloud.

How do rules get better?

Engines report which findings were accepted or rejected and which fixes were kept or reverted. Noisy rules are tightened; rules whose fixes hold earn trust.