Auto-heal used to know only its own branch. It could write a fix that a teammate's open pull request already made, then conflict with it once that pull request merged.
Now auto-heal lists the open pull requests into the tested branch before it starts, on GitHub and GitLab. The agent reads their changes and judges whether one already repairs a failure.
- A failure a teammate's open pull request already fixes is left to that pull request
- The heal pull request names each open pull request its fix conflicts with
- Draft pull requests count too, so heal does not rewrite a test someone is rewriting