Grok Bot + Opus 5.5: Build a 24/7 AI Engineering Team in 12 Steps
by Mori (@0xjmori) · 2026-10-12
✓ Opened via the X API (post + article text) on 2026-10-17
Read the original ↗A Chief bot and four specialists turn labeled GitHub bugs into reproduced, fixed, independently reviewed draft PRs overnight, with a morning report that separates done from attempted.
- Starts with one small workflow: take one labeled bug, reproduce it, fix it on a branch, verify, open a draft PR.
- Creates a Chief plus Triage, Builder, Reviewer and Release bots, and a shared workspace folder (queue, issues, reviews, approved, logs).
- Keeps a per-issue record as the source of truth: one owner, a current state, and an artifact for every state change.
- Triage writes a failing test first; Builder hands the fix to Cursor cloud agents in separate environments; Reviewer must open the diff and run the tests, not repeat the builder's summary.
- Caps repair rounds, saves the process as a skill, then runs it as a routine on a narrow label with a small issue limit.
- Ends each night with a morning report: PRs ready for review, blocked issues, and failed attempts.
“Let the Bots do the work. Keep the merge button.”— Mori (@0xjmori), X (article)
Summary written by Agent Cookbook. See the original for the full context.
Adapted by us from what the source described. Fill in the [BRACKETS].
The prompt
Set it up
- Protect the default branch and require CI on PRs, so "never merge" is enforced outside the prompt.
- Connect GitHub and set up the coding agent's environment so tests run there.
- Run the flow by hand on one harmless bug and fix whatever was hard.
- Save it as a skill, run it on a second issue, then schedule the routine.
- Read the morning report and review the draft PRs yourself.
Common failures
- Two bots pick the same issue; the one-owner rule in the issue record has to be checked before dispatch.
- "Fixed, tests pass" with no evidence; require the reviewer's diff and test output as an artifact.
- Endless repair loops burn usage; keep the round limit low.
- The cloud machine gets rebuilt and loses installed tools; keep setup reproducible and code in git.
Variations
- Daytime mode: trigger on a label being added instead of a nightly schedule.
- Swap the builder for Claude Code or Codex CLI on the box.
- Tests-only shift: the same loop, but it only adds missing tests.