AntiPattern
Identity Mismatch Invariants
cross-layer-identity-mismatch
State and identity invariants silently diverge across layers (class loaders, tenant/auth identities, ORM type hints, and client state), so runtime behavior fetches, resolves, or persists using the wrong referent. Symptoms look correct in one context but fail elsewhere.