Many cloth diaper manufacturers recommend cloth-based detergents because they do not contain fabric softener which is a common cause of residue build-up. As residue can propagate bacterial and ammonia retention, the later a particularly unpleasant, eye-tearing smell and odors, the avoidance of fabric softener in detergent used for cloth diaper laundering sounds like a particularly good idea.
This work is an elimination of detergents for cloth diaper laundry based on problem ingredients and a compilation of known detergent complications with cloth diaper laundry. Even from the recommended detergents all of the detergents may not be compatible with your water or washing routine. At least you will have fewer detergents to experiment with. Best success in your real-life chemistry adventure. Please let me know how I can help.