The current macOS implementation of preferences is appalling design in every respect, and is essentially undocumented even for developers. Is this the way that macOS is heading?
cfprefsd
Have you ever tried removing or editing a preference file, to no effect? This explains why that happens, and how to get changes to work properly.
