fix resolution of dep files
improving dep registry
store generation info
fix isGenerated check