You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multiple developers (or multiple drones) submit PRs for concurrent PBIs, they all branch from the same base. Merging them in sequence requires rebasing each onto the previous merge — work that today falls entirely on the developer. At team scale, this becomes a coordination problem: who merges first? Who rebases? How are conflicts surfaced across the team?
The Outpost Work Inbox (#618) solves this for a single developer's queue — it rebases the next item after each local merge. This issue is the team-wide equivalent: Mothership coordinates merge order and rebase across all concurrent PBIs from all developers and all drones.
Proposed solution
Mothership tracks all in-flight PRs across the team and orchestrates the merge sequence when they complete.
PR registration
When a drone or outpost raises a PR, it registers it with Mothership:
PRs can declare dependencies — if PROJ-124 builds on PROJ-123, Mothership enforces that PROJ-123 merges first regardless of approval order.
Conflict resolution
When a rebase conflict surfaces:
Mothership pauses that PR in the sequence
Notifies the owning developer with the conflicting files and a Studio deep-link
Other independent PRs in the queue continue merging — only the conflicting one is blocked
On resolution, Mothership re-rebases and resumes
Dashboard surface
Mothership fleet dashboard shows the team's merge queue — which PRs are waiting, which are in conflict, estimated merge order. Developers can see where their PBI sits without asking teammates.
Scope
Merge queue management on Mothership
PR registration from outpost and drone on completion
Problem
When multiple developers (or multiple drones) submit PRs for concurrent PBIs, they all branch from the same base. Merging them in sequence requires rebasing each onto the previous merge — work that today falls entirely on the developer. At team scale, this becomes a coordination problem: who merges first? Who rebases? How are conflicts surfaced across the team?
The Outpost Work Inbox (#618) solves this for a single developer's queue — it rebases the next item after each local merge. This issue is the team-wide equivalent: Mothership coordinates merge order and rebase across all concurrent PBIs from all developers and all drones.
Proposed solution
Mothership tracks all in-flight PRs across the team and orchestrates the merge sequence when they complete.
PR registration
When a drone or outpost raises a PR, it registers it with Mothership:
{ "pr_url": "https://github.com/org/repo/pull/42", "branch": "feat/proj-123", "base": "main", "submitted_by": "outpost:carlos", "priority": 1, "depends_on": [] }Merge sequencing
Mothership maintains a merge queue ordered by priority and dependency. When a PR is approved and ready to merge:
Dependency-aware ordering
PRs can declare dependencies — if PROJ-124 builds on PROJ-123, Mothership enforces that PROJ-123 merges first regardless of approval order.
Conflict resolution
When a rebase conflict surfaces:
Dashboard surface
Mothership fleet dashboard shows the team's merge queue — which PRs are waiting, which are in conflict, estimated merge order. Developers can see where their PBI sits without asking teammates.
Scope
Out of scope
Acceptance criteria
Dependencies
Release
v4.3 — requires full drone fleet (#96, #593), event forwarding (#599), and outpost queue (#618) to be in place