Business Invariants

Invariants High oracle

A successful payment implies an order eventually becomes paid. order.total == sum(line_items). These are domain-level correctness sensors that need no knowledge of the implementation.

Business invariants are the highest-level invariant sensor: they check whether the system is accomplishing its business purpose, not just whether its internals are consistent. They require observability events as a data source.

Sensor properties

Property Value
Oracle strength High — a violation means the business is broken
Independence High — observes outcomes, not implementation
Scope System-level (domain-level)
Feedback latency Hours
Actionability Guiding — “17 payments have no order transition”
Type Retrospective

What it cannot detect

Business invariants can only check properties you thought to specify. They don’t find unknown unknowns — that’s what observability is for.

Related sensors

Categories: Invariants Domain Correctness Black-Box Sensors