Just checked, and it doesn't seem so. I think you are confusing it with Self-Destroy for a building that has not been completely built yet. In that case I think the resources recouped are according to the unbuilt fraction, which makes perfect sense if one thinks of it as the resources having been set apart beforehand for construction, the resources already used being lost since Self-Destruct is (when not just a cancellation of plans) a fast destructive way to get rid of stuff (making things collapse or setting them on fire, maybe some graphics representing that would be nice, not so much for the suicide of organic units though...), quite different from salvaging.
When asking a player for neutrality and he refuses, my own setting automatically returns to "enemy". But when I am being attacked by that player later in game, my troops consider him as being neutral (while my indication in diplomacy menu still shows "enemy").
When the other player accepted neutrality, my own setting still automatically returns to "enemy".
Have I overlooked some setting or change in game play mechanics?
Thanks for any advice!
Edit: Apologies as this is a duplicate to this...
Also, adding onto what was said about it being an error, those are all component problems, unrelated to PetraBot. UnitAI and BuildingAI control things like stances and arrow shooting stuff.