Improve the prompt to challenge the framing of the issue reporter and consider misconfiguration etc.
Also fix some issues where the agent was trying to write where it was not allowed in CI (e.g. writing to tmp). I added some general prompts directly to the system prompt in the GitHub action (as it's only relevant for CI).