We've encountered few similar pattern on investigating through the issues of collective.behavior.amp.
And concluded that most of the weird issues that we are getting, can be removed just by implementing a validator for AMP.
And we agreed on using this for the task.
This thread describes the other valid options
Coming on the implementation part, well this is the activity where everyone has to come together and decide.
So we welcome @everyone for their valuable suggestion.