← gpuflo · Mikeroysoft/gpuflo · scripts/factory_*
A label-driven autonomous pipeline that triages GitHub issues, dispatches coding agents into git worktrees, gates their work deterministically, and publishes reviewed pull requests — humans keep the merge button.
Diagram A — system architecture
Nine components, twelve directed edges. GitHub on the left, the controller in the center, the per-ticket workbench on the right.
Diagram B — ticket lifecycle
One ticket, start to terminal: triage decision, worker attempts under the gate, one codex bounce, then human merge or escalation.
agent_gate.py
git grep for the seven-char markerscargo fmt --checkcargo clippy --all-targets --locked -- -D warningscargo test --all-targets --lockednotices.py must not change THIRD_PARTY_NOTICES.txtbase..HEAD — internal / confidential / Jira-style termsfactory_dispatch.py
MAX_ACTIVE=2 lock-held worktreesMAX_ATTEMPTS=3 worker+gate roundsready-for-human + comment with log path.factory/ · gitignored
wt-<n>/ + .lock + .factory-prompt.mdlogs/<n>-attempt-<a>.logpr-body-<n>.mdreview-<n>.mdgate-report-<n>.md