Objective
Autopilot must prepare an org-wide rollout plan and optionally apply it where safe.
Required behavior
- Enumerate all repos in this org.
- For each repo:
- Detect if it already contains a workflow that creates issues on CI failure.
- Detect CI workflow names (YAML files + workflow "name:" field).
- Create a PR (in THIS repo) that adds:
- /docs/rollout-plan.md with a table:
- repo name
- primary language
- CI workflow names
- has failure->issue workflow? (yes/no)
- recommended action
- For repos that are clearly safe (no restrictions detected), open PRs that add:
.github/workflows/autofix-create-issue.yml
using the template from /templates/workflows/.
- Post a single summary comment in this issue:
- list of PR links created
- repos skipped + why
Constraints
- Never ask questions.
- If permissions prevent repo PRs, create issues in those repos titled:
"Opt-in required: add CI failure issue workflow"
with copy-paste instructions.
- Do not auto-merge anything.
Objective
Autopilot must prepare an org-wide rollout plan and optionally apply it where safe.
Required behavior
.github/workflows/autofix-create-issue.ymlusing the template from /templates/workflows/.
Constraints
"Opt-in required: add CI failure issue workflow"
with copy-paste instructions.