Most GitHub projects use forks for all contributions. Beside keeping the main repo much cleaner when there are multiple contributors, GitHub forks use an entirely different 'open source' security model. Forks do not have access to the repo's secrets and can't modify the main repo (until merged).
To enhance security, match what teams are doing today, and follow GitHub's standards, the coding agent should have the ability to use a fork for all PRs.
Most GitHub projects use forks for all contributions. Beside keeping the main repo much cleaner when there are multiple contributors, GitHub forks use an entirely different 'open source' security model. Forks do not have access to the repo's secrets and can't modify the main repo (until merged).
To enhance security, match what teams are doing today, and follow GitHub's standards, the coding agent should have the ability to use a fork for all PRs.