In biologically active soil, edible
carbon residues are generally exhausted in 8 weeks, after which the microbial activity is curtailed. In other words, if there are not
roots in the soil pumping sugar/starch exudates, the microbial herd will exhaust the available food in about 2 months. If there is a heavy layer of (for example) leaf litter on the soil surface and there are worms and other biota available to carry that biomass down into the soil profile, then the microbes will continue to eat beyond the 2 month window.
So, imagine a bag of worm castings. How much edible carbon residue remains for the microbial community to continue to eat? With each passing day, less and less. Obviously, there would be no living
root to continue to
feed the microbes, and no mulch layer on top of the bag of castings. The microbe buffet gets leaner and leaner by the minute.
If I were to venture a guess to your question, I'd say that within 2 months, a large number of those bagged-casting microbes would be starving, at which point they may go into a state of dormancy, or perhaps go so far as die. Clearly, the fresher your worm castings, the higher and healthier the population of microbes. So while the nutrients
should still be there in an old bag of worm castings, much of the biologic life would be dormant.
That is not a carefully researched answer—just me thinking aloud.