I've been part of many discussions about why it's unsafe to store cooked food at room temperature past two hours. An old question (How long can cooked food be safely stored at room/warm temperature?) links to USDA with common guidance that it is not safe to keep cooked food at room temperature for beyond 2 hours.
However, government agency policies are fairly opaque. Here are specific questions:
If meat is cooked in a slow cooker, what happens to it once it cools off and is left at room temperature for over two hours? If it was safe to eat when it was hot, what happens past two hours? How to bacteria get in (were they already in) and when do toxins form?
I am looking only for published article citations, not common sense, government recommendations, popular websites of personal experiences. Pubmed preferred but anything goes, any study that either measured toxins/bacteria or was able to correlate cases of food poisoning to food storage. US/Canada preferred.