Ambient Context

Kind: anti-pattern

Layer: Enforcement Core

Record: architecture:ambient-context

Severity: discouraged

Scope: state_transaction

Formed by: Read user, tenant, locale, transaction, permissions, or request state from implicit global context instead of explicit parameters or scoped context objects.

Canonical: Ontology

A defect in which request, tenant or user state is read from implicit global context.

Listed in Architecture principles, after Action at a Distance and before Inconsistent Error Model.

Refactored by

Severity

Category

Force

Negated by

Linked from