I don't know if this is really a bug or some fluke of code misbehaving, but I was told to report it here along with the save file
https://files.catbox.moe/jazub8.zipSort version is I went to foundry and did the murder quest without talking to the mayor and afterwards could not get into the office to talk to him, and because I never talked to the Mayor, trying to talk to the chief says that he's engaged in a conversation still.
To fix it I used Exothermic Aura to make the Foundry Gunner move out of the way, from there I was able to talk to the mayor and the complete my quests normally with the chief.
I killed the mugger before doing the quest and used grenades to kill him, so perhaps that had some kind of effect on the positioning of the guard.
It's not a major issue, more of an inconvenience, but since it did happen I suppose it should be mentioned.