Events
An event is something that happened in an app — a person updated, an invoice paid — that other systems may want to know about.
Declared, not ad hoc
Each app declares the events it publishes: a name, a version, and the exact fields each carries. An event that doesn't match its declaration is refused where it is published, not discovered later by a subscriber. Changing what an event carries means a new version, never an edit, because subscribers depend on it.
Published with the change
An app publishes inside the same database transaction as the change. If the change rolls back, nothing is sent. The event waits in a short send queue in the app's own database and is delivered after the commit, so a brief outage here only delays events — it never loses them.
One log, with causes
Every event is stored once, centrally, with its causation chain: what caused it, how many hops deep it is, and which apps it passed through. Staff read it on the Events page, newest first; open an event to see its chain.
Loop protection
Chains are cut off at a depth limit — 10 by default — so two apps reacting to each other can't loop forever. An event can lower its own limit but never raise it.