docs(agents): prefer runner images and small fixes over selection code
Merged
TH
1d ago+9+9+0123456789-4-4-0123456789
Summary
On #4305, the agent kept the release job on the macOS 26 image and wrote an Xcode 27 selection step, although the provider's macOS 27 image has Xcode 27 as its default. Each bot finding then hardened the script instead of asking whether it should exist. #4311 removes it. This PR changes the guidance that let it happen:
docs/agents/code-ownership.md, new "CI toolchains": select a preinstalled toolchain, such as Xcode, with the runner image inruns-on; if no image provides it, add selection code and record why. TheAGENTS.mdrouting row now names CI.docs/agents/pull-requests.md: fix accepted findings with the smallest change, and prefer configuration or deletion to new code.- To stay within the guidance byte budgets, it drops the two 1,000-line file rules that
oxlint.config.tsmax-linesalready enforces, for source and test files.
4 files. The root cause and wording were cross-checked with an independent reviewer on another model provider. That reviewer found no other in-job toolchain selection in .github.
Validation
Head 171d56edef: pnpm check:affected --run --head 171d56edef passed, exactCommit=true, including agent-guidance: docs/agents 39,992/40,000 bytes, AGENTS.md 3,995/4,000. Docs-only, so runtime tests do not apply.
š¤ Generated with Claude Code