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

Community rules

The open-source engine ships with 218 pre-merge checks in 6 languages and 137 runtime signals. They are the community rules: open under Apache-2.0, deterministic, and grouped by the same category ids before merge and in production. Every active one is listed below.

  • 218 pre-merge checks
  • 137 runtime signals
  • Python · JS/TS · Go · Rust · SQL
  • Updated

What are the community rules?

They are the rules that ship with the open-source engine, licensed under Apache-2.0 and open for good. Each one is a deterministic check with examples of code it must flag and code it must leave alone. A model never decides whether a rule fires. This page lists every active community rule: 218 pre-merge checks across 6 languages (Python, JavaScript, TypeScript, Go, Rust, SQL) and 137 runtime signals from OpenTelemetry data.

The same list is in the console under Community Rules, with each rule’s track record on your own code, and in the terminal with tomosu rules catalog list. Pre-merge checks and runtime signals share category ids, so a finding in code and a signal in production about the same failure are joined. Pro rules come from Tomosu Cloud and are not listed here.

Which pre-merge checks are there?

218 checks on code, run by tomosu scan, in CI and on pull requests. A check written for several languages is one row here, with each language it covers.

Stability Observability Support Readiness Traffic Management Async Messaging Database Performance Timers, Clocks & Backoff Concurrency Safety Error-Handling Semantics Partial Failure & Retry Safety Resource Lifecycle Caching Resilience Failure-Path Signal Coverage Security Agent Execution Tracing Retries and Error Recovery (agentic) Cost and Execution Budgets (agentic) DataOps State Safety User-Facing Diagnostics Tool Contracts and Selection Planning and Termination Code Execution and Isolation Human Approval and Escalation Latency and Capacity HTTP Client Errors HTTP Server and Network Errors RPC Status Handling Relational Database Errors (PostgreSQL subset) Cache and Cluster Errors (Redis) AI Provider Errors

Stability 01 · 10

CheckLanguagesWhat it catches
External call timeouts
01.external-call-timeouts
Python, JavaScript, TypeScript, Go, RustOutbound calls without explicit timeouts hang until worker capacity is exhausted.
Graceful shutdown handler
01.graceful-shutdown
JavaScript, TypeScriptDeploys and restarts drop in-flight requests.
Inbound server has no read, header or idle timeouts
01.server-timeouts-missing
GoSlow or stalled clients hold connections open until the service runs out of connections, threads or file handles (the Slowloris pattern).
Model call without an explicit timeout
01.model-call-timeouts
PythonThis model call has no timeout of its own, so it falls back to the SDK default, which for the OpenAI and Anthropic SDKs is ten minutes.
Request path panics on unexpected input
01.panic-on-bad-input
RustOne malformed request crashes the handler or the whole process: Rust unwrap/expect, Go type assertion without the ok check or write to a nil map, unguarded JSON.parse.
Retry policy with backoff
01.retry-backoff
Python, JavaScript, TypeScriptImmediate retries multiply load on a dependency that is already failing.

Observability 02 · 5

CheckLanguagesWhat it catches
Unbounded values used as metric labels
02.unbounded-metric-labels
Python, JavaScript, TypeScript, Go, RustThe monitoring system runs out of memory, taking alerting down, or the monitoring bill spikes.
Unsampled logging added to a hot path
02.unsampled-hot-path-logging
PythonLog pipelines saturate and drop other services' logs; error logging adds load during incidents.

Support Readiness 10 · 4

CheckLanguagesWhat it catches
Error log lacks request or record identifiers
10.error-log-missing-ids
Python, JavaScript, TypeScript, GoThousands of identical lines appear and on-call cannot tell which customers are affected.
Original cause dropped when rewrapping errors
10.cause-dropped-on-rewrap
GoLogs show only a generic failure; retry logic can no longer tell a timeout from a bad request.

Traffic Management 11 · 8

CheckLanguagesWhat it catches
Full queue drops silently or blocks forever
11.full-queue-drops-or-blocks
PythonEvents vanish under load with no record, or request threads pile up behind a stalled consumer.
Rate limiting middleware
11.rate-limiting-middleware
PythonOne client can consume all capacity.
Regular expression with catastrophic backtracking on input
11.regex-catastrophic-backtracking
Python, JavaScript, TypeScriptOne crafted request pinning the event loop, which freezes every other request on the process.
Unbounded in-memory queue hides overload
11.unbounded-inmemory-queue
Python, RustThe queue absorbs overload invisibly until memory runs out; queued work is lost on restart.
Unlimited parallel calls sized by input
11.unbounded-parallel-calls
JavaScript, TypeScript, RustA large input triggers thousands of simultaneous calls, exhausting connections and overloading the downstream.

Async Messaging 12 · 9

CheckLanguagesWhat it catches
Bad message redelivered forever
12.bad-message-redelivered-forever
Python, JavaScript, TypeScriptOne unprocessable message occupies a worker in a loop and blocks everything behind it.
Dead letter queue configured
12.dlq-configured
Python, JavaScript, TypeScriptUnprocessable messages loop or disappear.
Fire-and-forget prevention
12.fire-and-forget
Python, JavaScript, TypeScriptPublishes are not checked, so failed sends go unnoticed.
Message acknowledged before work is safely done
12.ack-before-work-done
PythonA crash between acknowledgment and completion silently loses messages such as payments or orders.
Queue consumer with no prefetch or batch limit
12.consumer-unbounded-prefetch
Python, JavaScript, TypeScriptThe broker pushes more messages than the consumer can hold or finish in time: memory spikes, and consumers are repeatedly dropped from the group and reshuffled.

Database Performance 13 · 14

CheckLanguagesWhat it catches
Bulk data backfill run in one transaction
13.backfill-one-transaction
SQLLocks are held for the whole backfill, replicas lag, and a late failure rolls everything back.
Constraint added with immediate full validation
13.constraint-full-validation
SQLWrites are blocked during the scan, or the migration fails on existing bad rows.
Index built with a blocking table lock
13.index-blocking-lock
SQLAll writes to the table stop during the build and timeouts cascade.
Migration runs without lock or statement timeouts
13.migration-without-timeouts
SQLA quick change waits behind a long transaction and every later query queues behind it.
N+1 query detection
13.n-plus-one
Python, JavaScript, TypeScript, Go, RustOne query per row slows pages as data grows.
Pagination enforced on list queries
13.pagination-on-list-queries
JavaScript, TypeScriptUnbounded list queries grow with data and time out.
Required-value rule added to live table unsafely
13.required-value-added-unsafely
SQLThe table is locked while every row is checked, or inserts from old servers fail during rollout.
Schema change rewrites entire table under lock
13.table-rewrite-under-lock
SQLThe table is unavailable for minutes to hours; narrowing a type can truncate values.
Search with a leading wildcard
13.leading-wildcard-like
Python, JavaScript, TypeScript, SQLLIKE '%term' cannot use an index, so every search scans the whole table and slows as data grows.
SELECT * prevention
13.select-star
Python, JavaScript, TypeScriptReads that grow silently as columns are added.

Timers, Clocks & Backoff 17 · 12

CheckLanguagesWhat it catches
Backoff has no cap or overflows
17.backoff-uncapped-or-overflows
Python, JavaScript, TypeScriptAfter a long outage delays flip to zero and all clients hammer the recovering dependency.
Calendar math ignores leap days and daylight saving
17.calendar-math-dst-leap
Python, JavaScript, TypeScriptJobs fail on specific days, run twice or not at all on clock-change days.
Error path skips the loop's wait
17.error-path-skips-wait
Python, JavaScript, TypeScriptWhen a dependency is down the loop spins at full speed, flooding logs and hammering it.
Negative remaining time reaches timer or deadline
17.negative-remaining-time
PythonRenewal fires in a tight loop, or work starts with an already-expired deadline.
Periodic runs overlap or are silently skipped
17.periodic-runs-overlap-or-skip
JavaScript, TypeScriptA slow run overlaps the next and processes the same batch twice, or runs are skipped.
Periodic work synchronized across all servers
17.periodic-work-synchronized
Python, JavaScript, TypeScriptEvery server calls a shared dependency at the same instant, creating load spikes.
Time unit mismatch between seconds and milliseconds
17.time-unit-mismatch
Python, JavaScript, TypeScriptEvery call times out right after deploy, or expiries are a thousand times too long.

Concurrency Safety 18 · 18

CheckLanguagesWhat it catches
Background task captures a changing variable
18.task-captures-changing-variable
GoWork applied to the wrong item: some items processed twice, others skipped.
Blocking call or inconsistent order while holding locks
18.blocking-under-lock
Python, GoRequests freeze waiting on each other, or one slow call stalls everything behind a shared lock.
Blocking lock held across an await
18.lock-held-across-await
PythonA task keeps a thread-blocking lock while it waits, stalling or deadlocking every other task on that runtime.
Blocking work on the event loop
18.blocking-on-event-loop
Python, JavaScript, TypeScript, RustOne slow synchronous call freezing every concurrent request on the process.
Cleanup deferred inside a loop
18.defer-in-loop
GoEvery file or connection opened in the loop stays open until the whole function returns, exhausting file handles or the connection pool.
Lock not released on every exit path
18.lock-not-released
Python, GoOne failed request leaves a mutex held, every later request blocks forever, and the service looks healthy while serving nothing.
Shared map modified without synchronization
18.shared-map-unsynchronized
Python, GoThe process aborting with "fatal error: concurrent map writes" under load.
Timeout or cancel does not stop the work
18.cancel-does-not-stop-work
Python, GoAbandoned requests keep consuming connections and slots; late completions apply duplicate changes.
Timers created repeatedly and never stopped
18.timer-leak-in-loop
GoTimers pile up in memory until the process slows or runs out of memory: Go time.After inside a for-select loop, JavaScript setInterval never cleared.
Unawaited async call crashes process or loses work
18.unawaited-async-call
Python, JavaScript, TypeScriptWork silently dropped, and unhandled rejections that terminate the process on Node 15 and later.
Unhandled crash in a background worker
18.background-worker-unhandled-crash
GoOne malformed item crashes the service and each replacement hits it again: a crash loop everywhere.

Error-Handling Semantics 21 · 14

CheckLanguagesWhat it catches
Background task failure goes unnoticed
21.background-failure-unnoticed
Python, RustA periodic job stops forever after one error and the service fails hours later.
Broad error handler shuts the process down
21.broad-handler-exits-process
RustA brief upstream glitch seen by every instance at once makes every instance abort, turning a blip into an outage everywhere.
Cancel or shutdown signal swallowed
21.cancel-signal-swallowed
PythonShutdown hangs until force-killed, cutting work mid-write and duplicating processing.
Error detected but success returned
21.error-detected-success-returned
GoThe caller is told the operation succeeded and moves on, but the write never happened, so data is silently lost.
Error ignored from final save or commit
21.final-commit-error-ignored
GoTruncated or missing output is reported as success when disks fill or connections drop.
Fallback value hides failure as valid answer
21.fallback-hides-failure
Python, JavaScript, TypeScript, RustA failed dependency is served to users as an empty or default answer, with nothing recording it.
Returned error explicitly discarded
21.error-value-discarded
GoA failure is thrown away with no log, metric or retry, and the request reports success: Go _ = f(), Rust let _ = or .ok() on a Result, JavaScript .catch(() => {}).
To-do placeholder left in error handling
21.todo-in-error-handling
Python, JavaScript, TypeScript, Go, RustA rare failure has no real handling and leaves jobs hung.

Partial Failure & Retry Safety 22 · 14

CheckLanguagesWhat it catches
Bulk operation result not checked per item
22.bulk-result-not-checked
Python, JavaScript, TypeScript, GoSome items are silently rejected while everything reports success.
Duplicate-protection key changes between retries
22.idempotency-key-changes
Python, JavaScript, TypeScriptDuplicates slip through even though protection appears to be in place.
Retry has no attempt cap or overall deadline
22.retry-no-cap-or-deadline
Python, JavaScript, TypeScriptA caller held forever by a dependency that stays down.
Retry inside a database transaction
22.retry-inside-db-transaction
PythonLocks and connections are held through retries, spreading the outage to the database.
Retry repeats payments or other one-time actions
22.retry-repeats-one-time-action
Python, JavaScript, TypeScriptDuplicate charges, orders or messages when a reply is lost rather than the request.
Retrying errors that can never succeed
22.retrying-permanent-errors
Python, JavaScript, TypeScript, Go, RustInvalid requests are retried pointlessly and one bad message blocks a queue.

Resource Lifecycle 23 · 13

CheckLanguagesWhat it catches
HTTP client keeps too few idle connections per host
23.http-client-low-idle-conns
GoUnder load the client opens and closes connections constantly, exhausting outbound ports and adding a handshake to every call.
In-memory map or cache grows without limit
23.unbounded-inmemory-cache
PythonMemory grows on every server until it is killed; unique keys speed it up.
New client or pool created per request
23.client-per-request
Python, JavaScript, TypeScript, Go, RustConnections pile up with traffic and downstreams see connection storms.
Pooled connection not returned on error
23.pooled-connection-not-returned
Python, JavaScript, TypeScriptEach failed request drains one database connection until every request waits forever.
Query cursor not closed on early exit
23.cursor-not-closed
GoEach leaked cursor ties up a connection until the pool is exhausted.
Response body not closed on every path
23.response-body-not-closed
GoLeaked HTTP connections whenever a dependency returns errors, until the service runs out of connections.
Timer or listener added per request, never removed
23.listener-per-request
JavaScript, TypeScriptMemory and processor use grow with every request until the service is killed.
Transaction left open on early exit
23.transaction-open-on-early-exit
GoAn abandoned transaction holds locks and connections run out during error bursts.
Whole response or file read into memory
23.whole-payload-in-memory
GoA single large upload or response exhausts memory and kills the service.

Caching Resilience 24 · 9

CheckLanguagesWhat it catches
Cache entries all expire at the same moment
24.synchronized-expiry
PythonThe whole cache expires together, sending a wave of load at intervals or after deploys.
One cache call per item in a loop
24.cache-call-per-item
Python, JavaScript, TypeScript, Go, RustA request makes hundreds of sequential cache round trips instead of one multi-get or pipeline, so latency grows with the size of the data.
Popular cache entry expiry causes recompute stampede
24.expiry-stampede
PythonEvery concurrent request rebuilds a popular entry at once, spiking backend load.
Whole-keyspace or unbounded cache command in application code
24.blocking-cache-command
Python, JavaScript, TypeScript, GoKEYS *, FLUSHALL, or reading an unbounded set or hash in one command freezes a single-threaded cache for every caller.

Failure-Path Signal Coverage 27 · 7

CheckLanguagesWhat it catches
Failure branch emits no log or metric
27.failure-branch-no-signal
Python, JavaScript, TypeScript, RustOperations fail with no dashboard change; customers report it first.
Retries and retry exhaustion emit no signal
27.retries-no-signal
Python, JavaScript, TypeScript, Go, RustA dependency fails a third of calls yet error rates look flat.

Security 03 · 4

CheckLanguagesWhat it catches
No hardcoded secrets
03.no-hardcoded-secrets
Python, JavaScript, TypeScript, GoCredentials committed to the repository are exposed to everyone with read access and survive in history after removal.
PII masking in logs
03.pii-masking-in-logs
PythonPersonal data written into log aggregators is exposed to anyone with log access, creating regulatory risk.

Agent Execution Tracing A01 · 5

CheckLanguagesWhat it catches
Agent failures swallowed without recording terminal error
A01.failures-swallowed
Python, JavaScript, TypeScriptSuppressed exceptions make failed work appear healthy.
Model call made outside a trace span
A01.model-call-outside-span
Python, JavaScript, TypeScriptMissing model-call context makes an incorrect answer difficult to reconstruct.
Tool invocation not logged with name, argument hash and outcome
A01.tool-invocation-not-logged
PythonAn unexplained account action creates investigation and recovery delays.

Retries and Error Recovery (agentic) A04 · 3

CheckLanguagesWhat it catches
Permanent failures retried without classification
A04.permanent-failures-retried
PythonRetrying an unchanged invalid request cannot restore service.
Tool or model retries have no effective attempt bound
A04.no-attempt-bound
PythonPersistent faults trap agents in repeated execution.
Transient retries ignore backoff, jitter or server retry guidance
A04.ignores-backoff-retry-after
PythonSynchronized recovery traffic prolongs dependency outages.

Cost and Execution Budgets (agentic) A21 · 1

CheckLanguagesWhat it catches
Agent has no effective per-run token or spend budget
A21.no-run-budget
PythonRunaway execution makes a routine task commercially unsustainable.

DataOps 04 · 4

CheckLanguagesWhat it catches
Paging over a non-unique or unstable order
04.paging-unstable-order
Python, JavaScript, TypeScript, GoRecords are skipped or duplicated between pages, so exports and data migrations silently miss rows.
Partial or paged result treated as complete
04.partial-result-treated-complete
PythonIt works until data grows past one page, then cleanup jobs miss records and sync jobs delete items they wrongly think are missing.

State Safety 08 · 1

CheckLanguagesWhat it catches
Mutable default shared across requests
08.mutable-default-shared
PythonInformation leaks between requests or customers in long-running workers, and tests pass on a fresh process while production drifts.

User-Facing Diagnostics 14 · 3

CheckLanguagesWhat it catches
Silent cache failure prevention
14.silent-cache-failure-prevention
PythonA cache error is swallowed and served as a miss or an empty result.
Timezone / UTC enforcement
14.timezone-utc-enforcement
PythonDate handling that only breaks for customers in other timezones.
Webhook signature verification
14.webhook-signature-verification
PythonUnverified inbound callbacks are trusted and acted on.

Tool Contracts and Selection A03 · 2

CheckLanguagesWhat it catches
Tool arguments reach execution without schema validation
A03.arguments-without-schema-validation
Python, JavaScript, TypeScriptInvalid inputs cause avoidable errors or unintended actions.

Planning and Termination A06 · 2

CheckLanguagesWhat it catches
Agent execution loop has no effective stop or iteration limit
A06.loop-no-iteration-limit
Python, JavaScript, TypeScriptUnbounded planning can consume resources indefinitely.

Code Execution and Isolation A14 · 2

CheckLanguagesWhat it catches
Generated strings flow into shell, SQL or evaluation sinks without controls
A14.generated-strings-reach-sinks
Python, JavaScript, TypeScriptText generation can become unintended command or query execution.

Human Approval and Escalation A20 · 1

CheckLanguagesWhat it catches
Consequential action can bypass its required approval gate
A20.approval-gate-bypassable
PythonA workflow may act before the designated person authorizes it.

Latency and Capacity A22 · 2

CheckLanguagesWhat it catches
Independent safe calls forced into avoidable serial execution
A22.avoidable-serial-execution
Python, JavaScript, TypeScriptUnnecessary sequencing increases latency without improving correctness.

HTTP Client Errors E01 · 5

CheckLanguagesWhat it catches
HTTP 401 handled in code
E01.http-401
Python, JavaScript, TypeScriptAuthentication recovery can loop or reuse expired credentials.
HTTP 409 handled in code
E01.http-409
Python, JavaScript, TypeScriptConflict handling replays stale state.
HTTP 429 handled in code
E01.http-429
PythonRate-limit handling ignores Retry-After or stacks SDK and application retries.

HTTP Server and Network Errors E02 · 1

CheckLanguagesWhat it catches
HTTP 500 handled in code
E02.http-500
PythonServer errors have no operation-specific recovery policy.

RPC Status Handling E05 · 1

CheckLanguagesWhat it catches
gRPC 4 DEADLINE_EXCEEDED handled in code
E05.grpc-deadline-exceeded
PythonDeadline recovery assumes mutations were not committed.

Relational Database Errors (PostgreSQL subset) E06 · 20

CheckLanguagesWhat it catches
SQLSTATE 08006 / 08007 handled in code
E06.pg-08006-08007
Python, JavaScript, TypeScriptConnection and unknown transaction outcome handling lacks reconciliation.
SQLSTATE 23502 / 23503 / 23514 handled in code
E06.pg-23502-23503-23514
Python, JavaScript, TypeScript, GoRequired fields, relationships and constraints have no validation path.
SQLSTATE 23505 handled in code
E06.pg-23505
Python, JavaScript, TypeScript, GoUnique conflicts are automatically retried or accepted without identity checks.
SQLSTATE 25P02 handled in code
E06.pg-25P02
PythonFailed transactions can return to the pool without rollback.
SQLSTATE 40001 / 40P01 handled in code
E06.pg-40001-40P01
Python, JavaScript, TypeScript, GoSerialization and deadlock recovery retries statements instead of complete transactions.
SQLSTATE 53100 / 53200 / 53300 handled in code
E06.pg-53100-53200-53300
Python, GoDisk, memory and connection exhaustion have no admission controls.
SQLSTATE 55P03 handled in code
E06.pg-55P03
Python, JavaScript, TypeScript, GoLock contention recovery has no bounded wait or replay policy.
SQLSTATE 57014 handled in code
E06.pg-57014
Python, JavaScript, TypeScript, GoQuery cancellation is treated as proof that all business work failed.

Cache and Cluster Errors (Redis) E08 · 15

CheckLanguagesWhat it catches
CROSSSLOT handled in code
E08.redis-crossslot
Python, JavaScript, TypeScriptMulti-key operations assume arbitrary keys share a cluster slot.
EXECABORT / null EXEC / EXEC item errors handled in code
E08.redis-exec-outcomes
Python, JavaScript, TypeScriptTransactions treat all EXEC outcomes as all-or-nothing success or rollback.
MOVED handled in code
E08.redis-moved
Python, JavaScript, TypeScript, Go, RustCluster clients lack slot-map refresh handling.
OOM handled in code
E08.redis-oom
Python, JavaScript, TypeScript, Go, RustMemory-denied writes use retry-only recovery.
TRYAGAIN handled in code
E08.redis-tryagain
Python, JavaScript, TypeScript, GoResharding recovery lacks bounded delay and deadline handling.

AI Provider Errors E18 · 9

CheckLanguagesWhat it catches
Claude 429 rate_limit_error handled in code
E18.claude-429
Python, JavaScript, TypeScriptA retry storm on a throttled account, and retries of spend limits that retrying cannot clear.
Claude 529 overloaded_error handled in code
E18.claude-529
PythonVendor overload status is omitted from the recovery policy.
Gemini 429 RESOURCE_EXHAUSTED handled in code
E18.gemini-429
PythonQuota exhaustion and shared-capacity overload use the same unconditional retries.
OpenAI 429 credit/spend/usage limit codes handled in code
E18.openai-429-billing
Python, JavaScript, TypeScriptBilling and usage-limit failures enter transient rate-limit retries.
OpenAI 429 rate limits / slow_down handled in code
E18.openai-429-rate
Python, JavaScript, TypeScriptA retry storm on a throttled account, on top of the SDK's own retries.
OpenAI 500 / 503 server_is_overloaded handled in code
E18.openai-500-503
PythonProvider failover lacks compatible model, budget and task checks.

Which runtime signals are there?

137 signals computed from the OpenTelemetry traces, metrics and logs your services already send, on any language. When one fires, the engine looks at the code it points to and ranks the pre-merge findings that can explain it.

Latency & Tail Behaviour Traffic & Overload Compute & Memory Saturation Disk, Network & File-Handle Exhaustion Database Runtime Health Queue & Stream Health Cache Runtime Health Downstream Dependency Health Log Failure Signatures Log & Telemetry Health Failures Hidden by Aggregates Platform & Capacity Health Post-Deploy Regression Schedules, Clocks & Certificates Agent Execution Tracing Retries and Error Recovery (agentic) Cost and Execution Budgets (agentic) Tool Contracts and Selection Planning and Termination Latency and Capacity HTTP Client Errors HTTP Server and Network Errors RPC Status Handling Relational Database Errors (PostgreSQL subset) Cache and Cluster Errors (Redis) Network and Operating System Errors AI Provider Errors

Latency & Tail Behaviour R02 · 7

SignalNeedsWhat it means
Failed requests take longer than successful ones
R02.failures-slower-than-success
TracesEach failure waits out a full timeout first, tying up capacity and speeding the slide into overload.
Requests or calls still running far past any normal duration
R02.hung-requests
Traces, MetricsSomething is waiting with no timeout; each hung request holds a worker until capacity runs out.
Response times split into fast and slow groups
R02.bimodal-latency
Traces, MetricsTimeouts and capacity plans built on the average fit neither group; a cache outage would make every request slow.
Slowest requests far slower than usual
R02.p99-far-slower
Traces, MetricsCustomers notice slowness and timeouts; often the earliest sign a service is running out of capacity.
Small backend delays multiply across parallel calls
R02.fanout-tail-amplification
TracesAn occasionally slow backend makes most requests slow because each request calls it many times.
Small share of requests extremely slow
R02.extreme-tail
Traces, MetricsAverages look healthy while the heaviest or most valuable customers get a slow experience.
Too many requests slower than the target
R02.slow-share-over-target
Traces, MetricsCustomers are served too slowly even though requests succeed, causing abandonment that never shows on error charts.

Traffic & Overload R03 · 6

SignalNeedsWhat it means
Clients give up before the server answers
R03.client-gave-up
Traces, LogsCustomers saw a failure the service never recorded as one, and the server's work was wasted.
Incoming traffic drops sharply or stops
R03.traffic-drop
Traces, MetricsRequests are no longer arriving, so customers are locked out while error charts look perfect.
Open connections grow while the request rate stays flat
R03.idle-connections-piling-up
MetricsSlow or stalled clients are holding connections open; the service will stop accepting new ones when the limit is reached.
Requests rejected at the concurrency limit
R03.concurrency-limit-rejections
Traces, Metrics, LogsNew customers are turned away at peak because the service has hit its configured ceiling.
Service turning requests away to shed load
R03.load-shedding
Traces, Metrics, LogsLegitimate work is rejected because a limit is too low, a client is misbehaving, or capacity is short.
Traffic surge causing errors or slowness
R03.traffic-surge
Traces, MetricsA surge from real demand, bots or a looping client is saturating the service and driving up cost.

Compute & Memory Saturation R05 · 11

SignalNeedsWhat it means
Application crashes after exhausting its memory allowance
R05.app-memory-exhausted
Logs, MetricsThe application exits or is left half-working, so requests fail until it is restarted.
Background tasks, goroutines or timers keep growing
R05.task-count-climb
MetricsWork is started and never finishes or is never stopped; memory and scheduling overhead grow until the process slows or crashes.
Container held back by its processor limit
R05.cpu-throttled
MetricsSome requests are delayed sharply even though average usage looks fine; health checks may time out.
Container killed for exceeding its memory limit
R05.container-oom-killed
Kubernetes events, MetricsThe service restarts with empty caches and can fall into a restart loop.
Container memory close to its limit
R05.container-memory-near-limit
MetricsNo headroom left; the next traffic spike can crash the service.
Memory climbing steadily toward its limit
R05.memory-climb
MetricsMemory that is never released will end in a crash and restart loop, with slowdowns beforehand.
Request loop blocked by long-running work
R05.event-loop-blocked
Metrics, TracesEvery request on that process is delayed, and health checks can time out.
Server memory nearly full and swapping
R05.host-swapping
MetricsResponse times collapse as the server struggles for memory; process kills come next.
Server processors saturated with work waiting
R05.cpu-saturated
MetricsEvery request on the server slows down, leading to timeouts and failed health checks.
Service runs out of threads
R05.threads-exhausted
Metrics, LogsThe service can no longer accept work.
Shared hardware taking processor time away
R05.cpu-steal
MetricsUnexplained slowness with normal-looking usage, caused by the hosting platform rather than code.

Disk, Network & File-Handle Exhaustion R06 · 6

SignalNeedsWhat it means
Disk space running out
R06.disk-full
Metrics, LogsWrites fail and processes hang or crash.
Disk too slow to keep up
R06.disk-slow
MetricsQueries and writes slow down for everything sharing that storage.
Network link showing errors or saturation
R06.network-link-errors
MetricsSlow responses and dropped connections, usually an infrastructure fault rather than code.
Outbound connection ports used up
R06.ephemeral-ports-exhausted
Metrics, LogsCalls to a dependency fail intermittently because connections are opened faster than released.
Outbound connections opened and closed at nearly the request rate
R06.connection-churn
Metrics, TracesConnections are not being reused; every call pays a handshake and outbound ports run out under load.
Service runs out of file handles
R06.fd-exhausted
Metrics, LogsThe service can no longer accept connections, open files or reach its dependencies.

Database Runtime Health R08 · 8

SignalNeedsWhat it means
Database calls failing
R08.database-errors
TracesRequests fail or return partial results; errors the code does not handle reach customers or are silently lost.
Database copies lagging or no longer updating
R08.replica-lag
MetricsCustomers see stale data after saving; more data would be lost on primary failure.
Database refusing new connections
R08.connections-refused
Traces, Logs, MetricsNew requests fail because every database connection is taken; often the first sign of a wider outage.
Queries stuck waiting on locks
R08.lock-waits
Traces, Metrics, LogsRequests pile up behind one blocking operation and can use up every connection.
Same query repeated many times per request
R08.repeated-query-per-request
TracesPages slow down as data grows, often only for the largest customers.
Slow database queries increasing
R08.slow-queries-rising
Traces, MetricsPages get slower, connections fill up, and timeouts follow.
Tables bloated as cleanup falls behind
R08.table-bloat
MetricsQueries slow down gradually and storage keeps growing.
Transactions left open too long
R08.long-transactions
Traces, MetricsOpen transactions hold locks and block cleanup, slowing the database and tying up connections.

Queue & Stream Health R09 · 9

SignalNeedsWhat it means
Consumers repeatedly reshuffling their work
R09.consumer-rebalancing
Logs, MetricsProcessing pauses during each reshuffle and some messages are handled twice.
Delivered but unacknowledged messages piling up on consumers
R09.unacked-messages-piling-up
MetricsConsumers have taken more work than they can finish; memory grows and the messages are redelivered when a consumer restarts.
Failed messages piling up in holding queue
R09.dlq-growing
MetricsBusiness events are silently set aside and lost when the holding period expires.
Messages cannot be published to the queue
R09.publish-failing
Traces, LogsBusiness events are lost if the sender does not retry, or requests hang waiting to publish.
Oldest queued message too old
R09.oldest-message-age
MetricsWork is completed too late to be useful, however short the queue looks.
Queue backlog keeps growing
R09.backlog-growing
MetricsWork arrives faster than it is processed, delaying emails, payments or notifications.
Queue consumer failing messages
R09.consumer-failing
TracesMessages are redelivered, delayed or dropped, and the work they carry is not done.
Queue consumer stalled or missing
R09.consumer-stalled
Metrics, TracesProcessing has halted for that queue and the backlog grows at the full arrival rate.
Same message failing and redelivered repeatedly
R09.poison-redelivery
Traces, LogsOne bad message wastes capacity and can block everything queued behind it.

Cache Runtime Health R10 · 6

SignalNeedsWhat it means
Cache calls failing
R10.cache-errors
TracesRequests fall through to the database or fail outright, and latency rises.
Cache full, evicting entries or rejecting writes
R10.cache-full-evicting
Metrics, LogsSessions, locks and counters fail to save, or popular entries are pushed out onto the database.
Cache refusing new connections
R10.cache-connections-refused
Traces, LogsCache calls fail or hang, and requests slow down to the timeout.
Cache server restarted or failed over
R10.cache-restarted
Metrics, LogsAn empty cache joins the pool and a wave of requests hits the database behind it.
Many cache entries expire at once
R10.mass-expiry
Metrics, TracesThe database is hit by a synchronized wave of rebuild work at regular intervals.
Many single-key cache calls within one request
R10.repeated-cache-call-per-request
TracesRequests make a cache round trip per item, so response time grows with the amount of data.

Downstream Dependency Health R11 · 9

SignalNeedsWhat it means
A dependency failing a share of calls
R11.dependency-error-share
TracesCustomers see errors wherever there is no fallback; retries can make it worse.
A dependency failing calls for any reason
R11.dependency-failing
TracesCustomers see errors wherever there is no fallback; the failures the specific signals do not name still reach them.
Calls to a dependency keep timing out
R11.calls-timing-out
TracesFailed requests hold capacity for the full wait, and the retries add more load.
Connections to a dependency refused or dropped
R11.connections-refused-reset
Traces, LogsRequests fail in clusters, often around the dependency's deploys or restarts.
Overload persists after its cause is gone
R11.metastable-overload
Traces, MetricsThe outage sustains itself through retries and empty caches until load is deliberately shed.
Retries multiplying load on a struggling service
R11.retry-amplification
TracesRetries amplify load and stop the service from recovering even after the fault is fixed.
Safety cutoff tripped for a dependency
R11.circuit-open
Logs, Metrics, TracesCalls are blocked on purpose, so the feature is unavailable or on a fallback.
Service addresses failing to resolve
R11.dns-resolution-failing
Traces, LogsEvery call to that address fails at once, so everything depending on it fails together.
Third-party provider throttling our calls
R11.third-party-throttling
Traces, LogsA feature degrades because call volume exceeds the provider quota; ignoring its wait signal prolongs throttling.

Log Failure Signatures R16 · 8

SignalNeedsWhat it means
Burst of login or permission failures
R16.auth-failure-burst
Logs, TracesUsers or integrations are locked out by an expired credential or bad change, or an attack is under way.
Data mismatch or corruption messages in logs
R16.data-corruption-messages
LogsData is being lost or stored wrongly and may be shown to customers.
Known error rapidly getting worse
R16.known-error-worsening
LogsA tolerated background error is turning into an outage.
Requests failing with panic or crash traces while the process stays up
R16.request-panics
Logs, TracesSpecific inputs crash the request handler; affected users get errors and a worse input can take the process down.
Retries end without ever succeeding
R16.retries-exhausted
Logs, TracesWork such as emails or payments is quietly dropped while the service looks healthy.
Same error repeating in a tight loop
R16.error-tight-loop
LogsThe service floods itself with failed attempts, adding load and burying other evidence.
Service running on fallbacks, flooding warnings
R16.fallback-mode-flood
LogsA degraded mode has become normal, serving stale or default data and hiding the real failure.
Unhandled crash or fatal error in logs
R16.unhandled-crash
LogsAn error escaped all handling and ended a request or the process, dropping in-flight work.

Log & Telemetry Health R17 · 5

SignalNeedsWhat it means
Error lines carry no request reference
R17.errors-missing-request-ref
LogsFailures cannot be tied to a customer or ticket.
Log volume suddenly spikes
R17.log-volume-spike
LogsAn error storm or debug logging pushes useful evidence out of reach and raises storage cost.
Secrets or personal data in production logs
R17.secrets-pii-in-logs
LogsKeys or customer data are exposed to anyone with log access. Detect locally; never transmit the matched content.
Service stops logging while server is up
R17.logging-stopped
Logs, MetricsThe service is hung or logging is broken: an outage with no evidence.
Share of error-level log lines doubles
R17.error-share-doubled
LogsA broad early sign of degradation, or costly verbose logging left on.

Failures Hidden by Aggregates R04 · 3

SignalNeedsWhat it means
One server failing while the rest are healthy
R04.one-server-failing
Traces, MetricsOne bad instance fails its share of all requests, and fast failures can attract even more traffic to it.
One version failing while others run fine
R04.one-version-failing
Traces, MetricsA fault limited to one deployed version causes a partial outage that whole-service averages hide.
Rejected requests jump after an interface change
R04.rejections-after-interface-change
Traces, MetricsValid requests from some client versions are now refused, so a feature is broken while reliability figures stay green.

Platform & Capacity Health R07 · 4

SignalNeedsWhat it means
New instances cannot be placed on any server
R07.instances-unschedulable
Kubernetes eventsScale-outs and rollouts cannot complete, leaving a capacity shortfall during heavy load or after a server loss.
Servers failing or flapping on health checks
R07.health-check-flapping
Kubernetes events, MetricsServers drop in and out of rotation, capacity swings, and the remaining servers can overload.
Servers under resource pressure evicting workloads
R07.node-pressure-evictions
Kubernetes events, MetricsInstances are shut down abruptly, sometimes because of a neighbouring service's usage.
Service keeps crashing and restarting
R07.crash-restart-loop
Kubernetes events, MetricsCapacity is lost or the service is down, and each restart drops in-flight work; it often starts right after a deploy.

Post-Deploy Regression R12 · 3

SignalNeedsWhat it means
Error rate rises after a deploy
R12.error-rate-up-after-deploy
Deploy events, Metrics, TracesThe release introduced failures that customers are seeing, and every minute without a rollback costs transactions.
New error type appears after a deploy
R12.new-error-type-after-deploy
Deploy events, LogsA new failure has reached production; often the earliest sign, before error rates move or tickets arrive.
Response times worsen after a deploy
R12.latency-up-after-deploy
Deploy events, Metrics, TracesThe release made requests slower, causing timeouts for callers and lost conversions.

Schedules, Clocks & Certificates R15 · 2

SignalNeedsWhat it means
Security certificate expired or about to expire
R15.certificate-expiring
Metrics, LogsEvery connection to that address fails at the moment of expiry, and automatic renewal has evidently already failed.
Server clock out of sync
R15.clock-out-of-sync
Metrics, LogsLogins and security checks start failing, and the timelines used to diagnose incidents become wrong.

Agent Execution Tracing AR01 · 1

SignalNeedsWhat it means
Model calls logged with no run or trace ID
AR01.model-call-no-run-id
Traces, LogsA customer complaint cannot be linked to the model call that produced it.

Retries and Error Recovery (agentic) AR04 · 3

SignalNeedsWhat it means
Agent retries unchanged calls after a permanent validation or permission failure
AR04.retry-after-permanent-failure
TracesUsers wait while identical denied or invalid calls repeat.
Retry count exceeds the logical-operation budget
AR04.retry-over-budget
TracesOne failed request creates many failing calls and delays other users.
Retry storm violates configured backoff or retry-after guidance
AR04.retry-storm-ignores-backoff
TracesAgent retries overload an already degraded service.

Cost and Execution Budgets (agentic) AR21 · 1

SignalNeedsWhat it means
Run exceeds its configured token or spend ceiling
AR21.run-over-spend
TracesOne request spends beyond its authorized operating budget.

Tool Contracts and Selection AR03 · 1

SignalNeedsWhat it means
Tool arguments rejected by the declared schema
AR03.arguments-rejected-by-schema
Traces, LogsMalformed calls repeatedly fail customer workflows.

Planning and Termination AR06 · 1

SignalNeedsWhat it means
Agent loop exceeds its configured step bound
AR06.loop-exceeds-step-bound
Traces, MetricsThe customer request stalls while the agent continues working.

Latency and Capacity AR22 · 1

SignalNeedsWhat it means
Serial execution breaches budget for declared parallel-safe steps
AR22.serial-execution-breaches-budget
TracesUsers wait longer than the approved workflow design requires.

HTTP Client Errors E01 · 6

SignalNeedsWhat it means
HTTP 401 in production
E01.http-401.runtime
TracesAuthentication failures persist after one authorized refresh.
HTTP 403 in production
E01.http-403.runtime
TracesDenied operations are retried or interpreted as temporary service failure.
HTTP 409 in production
E01.http-409.runtime
TracesThe same resource conflict repeats with unchanged state.
HTTP 413 in production
E01.http-413.runtime
TracesOversized payloads are resent unchanged.
HTTP 415 in production
E01.http-415.runtime
TracesRequests repeat with rejected media types.
HTTP 429 in production
E01.http-429.runtime
TracesAttempts violate server delay guidance or exceed the configured retry budget.

HTTP Server and Network Errors E02 · 3

SignalNeedsWhat it means
HTTP 500 in production
E02.http-500.runtime
–Server failures exceed the endpoint error budget or trigger unsafe replay.
HTTP 503 in production
E02.http-503.runtime
TracesUnavailable responses persist or recovery attempts exceed capacity.
HTTP 507 in production
E02.http-507.runtime
TracesCapacity failures recur and writes continue without remediation.

RPC Status Handling E05 · 7

SignalNeedsWhat it means
gRPC 10 ABORTED in production
E05.grpc-aborted.runtime
TracesA conflicting read-modify-write sequence reuses stale decisions.
gRPC 13 INTERNAL in production
E05.grpc-internal.runtime
TracesInternal failures breach the error budget or hide behind success.
gRPC 14 UNAVAILABLE in production
E05.grpc-unavailable.runtime
TracesAvailability failures or retry amplification exceed thresholds.
gRPC 4 DEADLINE_EXCEEDED in production
E05.grpc-deadline-exceeded.runtime
TracesTimed-out writes are repeated without deduplication or reconciliation.
gRPC 6 ALREADY_EXISTS in production
E05.grpc-already-exists.runtime
TracesAn existing object is accepted without checking identity and attributes.
gRPC 8 RESOURCE_EXHAUSTED in production
E05.grpc-resource-exhausted.runtime
TracesQuota, memory or storage exhaustion repeats without cause-specific action.
gRPC 9 FAILED_PRECONDITION in production
E05.grpc-failed-precondition.runtime
TracesCalls repeat while the required state remains unmet.

Relational Database Errors (PostgreSQL subset) E06 · 13

SignalNeedsWhat it means
SQLSTATE 08006 / 08007 in production
E06.pg-08006-08007.runtime
TracesConnection loss is followed by an unverified replay of a write or commit.
SQLSTATE 22001 / 22003 / 22P02 in production
E06.pg-22001-22003-22P02.runtime
TracesRejected values repeat or are silently truncated/coerced.
SQLSTATE 23502 / 23503 / 23514 in production
E06.pg-23502-23503-23514.runtime
TracesConstraint failures recur or are swallowed.
SQLSTATE 23505 in production
E06.pg-23505.runtime
TracesA duplicate-key conflict is reported as success without matching the intended record.
SQLSTATE 25P02 in production
E06.pg-25P02.runtime
TracesCommands keep using an already-failed transaction.
SQLSTATE 28P01 / 42501 in production
E06.pg-28P01-42501.runtime
TracesAccess errors persist across attempts with unchanged identity.
SQLSTATE 40001 / 40P01 in production
E06.pg-40001-40P01.runtime
TracesRetries reuse stale transaction decisions or exceed their attempt budget.
SQLSTATE 42601 / 42703 / 42P01 / 42883 in production
E06.pg-42601-42703-42P01-42883.runtime
TracesSyntax or missing schema objects fail after deployment.
SQLSTATE 53100 / 53200 / 53300 in production
E06.pg-53100-53200-53300.runtime
TracesResource failures or pool pressure breach capacity thresholds.
SQLSTATE 55P03 in production
E06.pg-55P03.runtime
TracesLock acquisition failures exceed the contention budget.
SQLSTATE 57014 in production
E06.pg-57014.runtime
TracesCancelled statements leave unresolved earlier operations or trigger unlimited retries.
SQLSTATE 57P01 / 57P03 in production
E06.pg-57P01-57P03.runtime
TracesRequests keep targeting a shutting-down or unavailable database.
SQLSTATE XX001 in production
E06.pg-XX001.runtime
TracesCorruption errors are ignored or affected results continue downstream.

Cache and Cluster Errors (Redis) E08 · 6

SignalNeedsWhat it means
CLUSTERDOWN in production
E08.redis-clusterdown.runtime
TracesThe cluster stays unavailable or fallback violates the data contract.
CROSSSLOT in production
E08.redis-crossslot.runtime
TracesThe same incompatible key set is repeatedly submitted.
EXECABORT / null EXEC / EXEC item errors in production
E08.redis-exec-outcomes.runtime
TracesWATCH conflicts, rejection or item errors hide in successful-looking results.
MOVED in production
E08.redis-moved.runtime
TracesRequests keep targeting the old slot owner.
OOM in production
E08.redis-oom.runtime
TracesWrite failures persist at the memory limit.
TRYAGAIN in production
E08.redis-tryagain.runtime
TracesAttempts continue beyond the task recovery budget.

Network and Operating System Errors E13 · 1

SignalNeedsWhat it means
EACCES / EPERM / PermissionError in production
E13.eacces-eperm.runtime
–The same operation remains denied by the operating system.

AI Provider Errors E18 · 6

SignalNeedsWhat it means
Claude 429 rate_limit_error in production
E18.claude-429.runtime
Traces429s continue without cause-appropriate pacing or account action.
Claude 529 overloaded_error in production
E18.claude-529.runtime
TracesOverload responses cause uncontrolled replay or immediate false completion.
Gemini 429 RESOURCE_EXHAUSTED in production
E18.gemini-429.runtime
TracesExhaustion persists without capacity-specific mitigation.
OpenAI 429 credit/spend/usage limit codes in production
E18.openai-429-billing.runtime
TracesCalls continue after a persistent credit, spend or usage restriction.
OpenAI 429 rate limits / slow_down in production
E18.openai-429-rate.runtime
TracesRate or ramp limits persist while aggregate retry traffic increases.
OpenAI 500 / 503 server_is_overloaded in production
E18.openai-500-503.runtime
TracesProvider failures persist or fallback changes required task behavior.

Where do these rules come from?

From the rules/v1 folder of the engine’s repository: one folder per check, with its check.yaml and its tests. Only rules with status active are listed; rules in shadow run and are counted but are not shown yet. To change one on your engine, see the rules catalogue; to add one, see Write a rule.