Org-level AI autopilot operator — scans GitHub issues labeled autofix + queued, invokes Codex to generate fixes, and opens pull requests automatically across the Coding-Autopilot-System organization.
Part of the Coding-Autopilot-System autonomous CI repair platform alongside ci-autopilot and autopilot-demo.
flowchart LR
A[CI Failure] --> B[autopilot-create-issue.yml]
B --> C[Issue: autofix + queued]
C --> D[autopilot-operator.yml]
D --> E[Codex Fix Generation]
E --> F[Pull Request Opened]
F --> G[Auto-merge / Review]
- A CI failure in any opted-in repo triggers
autopilot-create-issue.yml, creating an issue labeledautofix + queued. autopilot-operator.ymlruns on a schedule on the self-hosted Windows runner, scanning for labeled issues.- For each eligible issue, the operator invokes Codex to generate a targeted fix.
- The fix is committed to a branch and a pull request is opened in the target repo.
autopilot-org-installer.ymlscans the org hourly and installs the intake workflow into repos that opt in via.autopilot/opt-in.
- Set org variable
ORGin GitHub Actions for this repo. - Install
autopilot-create-issue.ymlinto target repos (or useautopilot-org-installer.yml). - Ensure a self-hosted Windows runner with Codex and
OPENAI_API_KEYis online. - Trigger
autopilot-operator.ymlmanually to validate the setup.
- Acts only on issues labeled
autofix + queued. - Skips issues labeled
riskyorneeds-design. - Minimal diffs only — no secrets, no destructive operations.
- Best-effort verification before PR creation.
| Workflow | Trigger | Purpose |
|---|---|---|
ci.yml |
push/PR to main | Portfolio CI — YAML validation (ubuntu-latest) |
autopilot-operator.yml |
schedule + dispatch | Core operator — scan issues, run Codex, open PRs |
autopilot-org-installer.yml |
hourly + dispatch | Install intake workflow into opted-in repos |
autopilot-create-issue.yml |
workflow_run failure | Create intake issue when monitored workflow fails |
autopilot-docs-daily.yml |
daily | Update dashboard status page |