_load_raw_config published into, iterated and popped a module dict shared by every thread (one
gateway serves many profiles, each with its own config.yaml): concurrent eviction raised
RuntimeError('dictionary changed size during iteration') or KeyError. A module lock now guards
lookup, publish+evict and clear; the stat and YAML read stay outside it.