[enh] diagnostic:formats adds factory & resolver + tweaks
[enh] diagnostic commands working