yeah i guess you're right about the libraries
i think it goes a bit further than that though
a lot of macos stuff runs in daemons that kind of depend on each other
i ran into this turning features off on macos 27
the spotlight window there actually runs as a process called Siri
so if you turn siri off, spotlight changes too
i'd guess there's a lot more of that once you start pulling pieces out