Handwavy and overambitious, but there might be an interesting idea here. Starts with philosophical phenomenology, which is trying to model human subjective experience, but has the problem that at the most general level phenomenology assigns “subjective experience” to any physical system whose current stage depends on its earlier stages in any way. So basically absolutely everything in the physical universe.
The attempt to make this more relevant for humans are the complexity classes, which have the system’s inner state contain plausible representations of the outside world (which gets us from rocks and trees to animal brains), representations of other intentional agents (flatworms are probably out now, cats are probably still in) and then going into most likely human-exclusive territory various levels of more recursive theories of mind. The further human levels get mapped to Robert Kegan’s stages of adult development model.