Skip to content

Auto Run: GitHub Issues as task source with parallel worktree execution #454

@pedramamini

Description

@pedramamini

Summary

Extend Auto Run to pull GitHub issues (by label or manual selection), convert each into an auto-run task, execute them in parallel worktrees, and automatically open PRs for completed work.

Goal: "Give Maestro a labeled backlog and a parallelism limit, and let it continuously produce PRs."

Core Workflow

1. Source Selection

  • New mode in Auto Run: GitHub-fueled alongside existing docs-based mode
  • User can:
    • Select specific issues manually, or
    • Specify a label (e.g., runmaestro, autofix) and pull all matching issues

2. Queue & Organize

  • Selected issues appear as a reorderable queue inside Auto Run
  • Drag-to-reorder for priority
  • Support encoding blocking/dependencies in issue descriptions — agent figures out ordering if needed

3. Parallel Execution

  • User specifies parallelism limit (e.g., 6 concurrent)
  • Per issue, Maestro:
    • Spins up a worktree per issue/feature
    • Runs each as an independent agent/auto-run
    • Continuously cycles through the queue, maintaining N parallel runs as agents finish

4. PR Creation & Feedback

  • For each completed issue:
    • Branch/worktree is created automatically
    • Changes implemented by agent
    • PR opened automatically linking back to the issue
  • Leverage existing GitHub CLI wrappers and worktree infrastructure

Relation to Existing Features

Feature Today With This
Auto Run docs Attach local docs/playbooks, Maestro executes Add second tab where GitHub issues drive auto-run
Worktrees Used for isolated agent execution Systematically spun up per-issue, managed as a pool
Symphony / token donation N/A Long-term: labeled issues (e.g., RunMyStro.AI) appear in shared UI; other users can donate CPU + tokens to run them

Pain Points Solved

  • Eliminates manual translation of GitHub issues → auto-run docs
  • Eliminates manually spinning up an agent per issue
  • Moves from "one issue, one manual agent" to "labeled backlog in, PRs out"

Open Questions

  • UI placement: new tab in Auto Run panel vs. separate view?
  • How to handle issue dependencies / ordering constraints?
  • PR template / naming conventions?
  • How to surface agent progress per-issue back to the queue UI?
  • Token budget / cost guardrails per issue?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions