I don't think I've seen opencode change the system prompt of a conversation, nor pi (though I have less experience there). Is there a specific scenario you're referring to where this could happen?
This is an example from opencode https://github.com/anomalyco/opencode/issues/32622
This is an example from opencode https://github.com/anomalyco/opencode/issues/32622