Skip to content

Multi-repo orchestration: plan-driven repo selection for cross-repo tickets #21

Closed

Description

@nambok

Problem

When a Jira ticket requires changes across multiple repos (e.g. backend-api + mobile), the current pipeline only targets a single repo chosen during triage. The plan pass can read from multiple repos for context, but implement/PR/review/security all operate on one repo.

Proposed Solution

Allow the plan pass to output a per-repo breakdown of changes needed, then orchestrate the implement → PR → review → security pipeline per repo.

Key changes needed:

  • Plan output: Add a repos field listing which repos need changes and what changes go where
  • Implement loop: Run implement pass per repo (separate branches, separate commits)
  • Multiple PRs: Create and link PRs across repos (e.g. "Part 1 of 2")
  • Per-PR passes: Review, security, and test run independently per PR
  • Linked status: All PRs tied to the same run, displayed together in the dashboard

Current workaround

  • Jira project → repo mapping (deterministic, no LLM guessing)
  • Users split cross-repo work into separate Jira tickets (one per repo)

Complexity

This is a significant pipeline rework. Needs careful design around:

  • Ordering (does repo A need to merge before repo B?)
  • Partial failure (what if one repos PR fails review?)
  • Dashboard UX (showing multi-PR runs)
  • Token budget (multiple implements = higher cost)

Activity

  1. added
    enhancement
    on Apr 17, 2026
  2. nambok commented on Apr 23, 2026

    @nambok
    CollaboratorAuthor

    Multi-repo orchestration implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions