Workflows
Moa runs six GitHub-native workflows on one engine. Each is a recipe for a real job — triage, solve, review, fix CI, address feedback, merge. Start any of them from the CLI, a dashboard button, or a GitHub event.
Read-only workflows (triage, review) never touch code. The writing workflows put changes on a branch and open or update a PR — they never push to main directly. Every CLI command below takes --watch to stream the live step timeline.
Triage an incoming issue#
Reads a new issue, categorizes it, applies the right labels, and leaves a comment. Pure reasoning over the issue — no branch, no code.
moa wf triage your-org/your-repo 7It also fires automatically: when an issue is opened, Moa can triage it. Labeling an issue moa escalates straight to solve (below).
Turn an issue into a PR#
The headline workflow. Moa branches, the agent writes the fix, the verify-gate runs (typecheck, lint, build), and a PR opens — only if the gate passes.
moa wf solve your-org/your-repo 7 --watchmoa label to the issue on GitHub and this same workflow runs from the webhook.Review a pull request#
Reads the diff, leaves specific inline comments, and gives a clear approve or request-changes verdict. Read-only — the agent never touches the branch.
moa wf review your-org/your-repo 12PRs that are opened, reopened, or pushed to are auto-reviewed — except commits from Moa's own bot account, so it never reviews itself.
Fix failing CI#
Reads the failing checks and their logs, fixes the real cause, runs the local verify-gate, and pushes. CI re-runs — expected green.
moa wf fix-ci your-org/your-repo 12Address review comments#
Reads the open review threads, pushes a fix for each requested change, and replies in the conversation so reviewers can see what moved.
moa wf address your-org/your-repo 12To converge a PR to approval in one shot — review, then address, then re-review until green — use the combined loop where available; otherwise run review and address in turn.
Merge when green#
Once checks are green and the review approves, Moa merges. You decide whether merging is automatic or stays a manual click — the engine does the same work either way.
moa wf merge your-org/your-repo 12What never changes#
- The agent only reasons; the harness does every
gitandghaction. - Writing workflows work on an isolated branch and open or update a PR — never a direct push to
main. - Nothing merges until the verify-gate passes and CI is green.