It would be easy to assume conventional evolutionary heritage and have humans move into caves later, but in this otherwise earth-like world, the surface was never habitable. Given the somewhat axiomatic scientific consensus that bipedal adaptation is a culmination of surviving the geological transition to a grassland habitat (where it allegedly facilitated long treks and enabled vision over the grass), I'm not sure if I can realistically supplant man's arboreal primate lineage to caves. Clearly, vision is not a priority in the dark and trees are not common in caves.
While there are a few glaring dietary and physiological riddles I couldn't resolve, I still felt there was enough trait overlap to merit an attempt. Namely, the traits of climbing and skills to hunt insects seemed reasonable enough to assume a plausible primate-like troglophauna.
Question
If we accept primate-like troglophauna as an immutable part of my world, what is a plausible evolutionary narrative for the emergence of bipedalism?