fix-ci
Reproduce a red GitHub check in the sandbox and make it green.
- Call
prepare_repository, includingpr_numberfor an existing PR. - If the brief names a failing check, reproduce that command. Use the read-only GitHub Actions tools if you need its log. Never use
gh. - Work on the returned safe head branch.
- Edit until the reproduced command exits 0.
- If green, commit locally and call
publish_changes. - If red, do not call
publish_changes. Return the log tail.