To avoid ranged units not getting any bonus at all, I suppose it's necessary for now. Perhaps if it's possible you could change RoughAttack to be granted when your melee unit is in rough terrain for the sake of consistency? Such a change would make RoughAttack consistent with RoughDefense as well.
Okay. I don't understand the intricate details about what causes this issue (don't know anything about modding), so I'll try to paraphrase these points as accurately as possible in the bug report. For the first point, are you referring to how in v11 both melee and ranged units in the strength comparison each showed both the melee rough attack and ranged rough attack bonuses? Also, should I use the example of the ranged bonus appearing but not doing anything when your archer is in open terrain and the enemy is in rough terrain?
For the second point, I'll use the example of a friendly archer in rough terrain attacking an enemy in open terrain.
Just out of the blue, I discovered two issues of excessive and lacking flanking bonuses appearing in the strength comparison. The final strength calculation is correct in both cases (based on the final position of your unit after the attack command), but in case one there is an excessive bonus, and in case two there is a lacking bonus. Is this a known bug? Perhaps it is related to points one and two?
Reading your third point, are you referring to why RoughAttack doesn't work for ranged?
Yup that looks like a good summary. For RoughDefense, I tested in-game using IGE and confirmed your description.
I think it still doesn't work. I still can't build Red Fort in an inland river and lake city.