I created a simple proof of concept for generation graph of all dependencies in container: link to gist file.
For this I used "custom" auto_inject register for creating included_keys
class method with all dependencies.
After that I detect all classes with this method and generate "AST" with associations between classes.
With this changes we can detect unused dependencies in container, build GUI graph for easily understand system (like UML diagrams) and ect.
We can start build something like this for dry-system, WDYT? I can create a simple plan with small steps for this feature if you want.