MWS' inner workings

I did a search of the forums and I’ve looked at the documentation, but I’m still trying to figure out how the MWS works behind the scenes.

I know deployed assets are put in the deploy folder any the temp directory is used to expand those assets,but thats about it.

Once I had a bad installation of MWS and support told me to remove certain files from the deploy folder and then remove the same files in a text file in a different directory. This caused the MWS to redeploy those assets during restart. Alas that email was erased.

My thinking is that if we understand how the MWS works we maybe able to remove poorly deployed assets and system features, which will cause the MWS to reploy them. I think this could save a lot trouble with bad installs and patches.