Update 6/25/24: Updated geometry to be a more secure fit and also fit A1 Mini (big thanks to Aleks89 for feedback and testing on the Mini).
After the 3rd time my cable snagged on the upper frame, I decided to make a quick cable guide. I'm not sure why this wasn't included in the printer design as it seems like it would be a common issue even with the recommended AMS locations.
There are lots of ways you could achieve this, mine rides on the z axis and holds the end of the cable far enough in it doesn't snag on the corner of the frame.
It should snap into place with a little effort.