Is this when you are working your way through a building? I noticed that they just stay in their area unless the guards in your vicinity spot and and starting trying to fight you, then the others make their way to you. Sometimes, I take out the guard who was alerted and then stay hidden. Eventually they go back to normal. Then I continue sneaking through the gig.I noticed that not all punks around are eager at the same level to start a fight with you. Sometimes they insult you, draw their weapons, but then they just stay there doing nothing even if their icons are flashing red on the minimap. I don't know if it's tied to Street Cred (logic would dictate that a solo with high street cred would be feared by random street punks unless they're in a large group), a glitch or the game allows several different levels of aggression for NPCs.
I do not think this is tied to street cred. I think it depends on how the current situation is handled. However, I will say it does not function smoothly. The guards almost all go auto alert if just one guard in your area is on alert. I would prefer if the game has the guard alert the others. It is reminisce of how the NCPD teleports to you when you commit a crime. The enemies in these areas work along the same auto alert/auto aggro system it seems.
That depends on your proximity to the police. If you are too close, they start to get a little aggressive. If you do not move they actually get aggro.Other times, policemen would attack me just because I was a few meters away from them for no reason (I was not scanning them, nor I had any weapon ready at hand): in many cases I was even minding my own business looking elsewhere! In this case, however, felling them doesn't count like a criminal offense.