Regarding the control and detection of double kerning pairs in libraries

Is there a way that detects the existence of kerning pairs that appear twice and cause disruption and gaps between what is seen in the font manager and Adobe programming,
Many times I come across such problems while working and I would love to have control over it

Do you mean you have kerning pairs in multiple pair positioning lookups?

There is no automated way to detect them. I agree it is better to have only one item, but shaping engines should not struggle with it.

Indeed, there are pairs that repeat themselves perhaps in different groups and it is possible that they also add to the disruption of the kerning, there should be an indication of a duplicate pair and it already appears in the ciphers

You might get warnings when you recompile the lookup or the complete script in FEA code.

Let us know if that helps.