agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

ao spawn --decompose creates multiple branches and PRs for one issue

Open nikhilachale opened this issue 7 months ago • 1 comments

Problem

When ao spawn --decompose splits a single issue into subtasks, each leaf agent creates its own branch and PR.

Observed behavior

For one issue, the decomposition flow can produce multiple PRs such as:

Issue #42 → PR #101 (feat/42-ao-1)
          → PR #102 (feat/42-ao-2)
          → PR #103 (feat/42-ao-3)

Why this is a problem

  • Multiple PRs are linked to one issue, which makes issue tracking messy.
  • Reviewers have to review several PRs in the correct order.
  • Merges become sequential and brittle because later PRs can depend on earlier ones landing cleanly.
  • Git history for one issue ends up fragmented across multiple branches.

nikhilachale avatar Apr 08 '26 15:04 nikhilachale

Closing in favor of #1045, which combines the related ao spawn --decompose problems into one issue.

nikhilachale avatar Apr 08 '26 15:04 nikhilachale