--- model: gpt-5.6-sol service: opencode session: tractor-addr-unpacking timestamp: 2026-08-21T05:20:52Z git_ref: 3690e43a scope: config substantive: true raw_file: 20260821T052052Z_3690e43a_prompt_io.raw.md --- ## Prompt The human asked for a main-first patch using an off-the-shelf pytest plugin to cope with tractor's changing macOS CI flakes without mixing that mitigation into PR #505. ## Response summary Added `pytest-rerunfailures` to tractor's testing dependencies and configured the GitHub Actions matrix to retry failures only on macOS. Linux and Windows remain strict first-attempt runs, while persistent macOS failures still fail after two visible reruns. ## Files changed - `.github/workflows/ci.yml` - macOS-only pytest rerun budget. - `pyproject.toml` - testing plugin dependency and rationale. - `uv.lock` - resolved `pytest-rerunfailures` package metadata. ## Human edits The human selected a main-first mitigation after PR #505 failed two different macOS tests on consecutive runs and required the change to remain an incremental patch with its own commit plan. The agent implemented and verified that direction; no direct manual source edits were observed.