Reactors
A customer's payments are put on hold, and the unresolved invoices need to be flagged for review. A new invoice arriving tomorrow needs the same treatment. If applying the rule depends on each application remembering to run the review mutation, another way of adding invoices can miss that step. The business rule then depends on the route by which information entered the dataset.
Standing rules
A reactor runs a stored mutation as a standing rule when data changes. The invoice review rule can apply when the customer's payment restriction changes or when another unresolved invoice appears. The responsibility belongs with the dataset, so each application can record the information it knows without reproducing every consequence. New applications can participate without independently implementing the review policy.
A review flag expresses something the application has concluded from other facts. Keeping that conclusion current is work the team would otherwise have to coordinate across the applications that can change those facts. Reactors provide a place for that responsibility alongside the rule itself. A query can then select the resulting information for an investigation view or payment workflow.
The source facts and the derived facts belong to one transaction. A membership removal and its permission revocation become visible together. A historical query at that transaction sees both changes. A successful write already includes the reactor results, so the caller does not wait for a later synchronization.
Within a transaction, affected rules evaluate the same pending state. Their patches merge by priority, and further rounds process the fields that changed. The transaction commits when a round changes nothing. An evaluation error, a conflicting patch or a chain that does not settle rejects the whole write.
Priority decides which conflicting patch wins, not which reactor runs first. A priority 10 grant overrides a priority 0 reset when both propose a value for the same permission field. Both read the same snapshot. A rule that reads their merged permission result sees it in the next round, whatever its priority. Definition order does not establish an execution order.
The query's field dependencies select which rules run. Rules that can write the same field run together, including default rules that clear unsupported values. A change to an unrelated field leaves those rules idle. When a rule's inputs are unknown, changes to any field can run it. Large standing queries still add work to the source write.
Evolution
The review policy remains part of the dataset. If the team adds an amount threshold, that revision belongs to the mutation's history just like any other change to a definition. People can examine the rule and how its meaning developed alongside the invoices it concerns. Automatic changes still need review, especially when several applications rely on their effects.