Shared Mutable State

Kind: anti-pattern

Layer: Enforcement Core

Record: architecture:shared-mutable-state

Severity: discouraged

Scope: modularity, state_transaction

Formed by: Expose writable state across modules, allow multiple actors to mutate it, omit ownership and synchronization, and let behavior depend on mutation order.

Canonical: Ontology

A defect in which writable state is shared across modules with no owner and no synchronization.

Listed in Architecture principles, after Hardcoded Configuration and before Boundary Leakage.

Refactored by

Severity

Category

Force

Detected by

Negated by

Violates

Linked from