uberblick/ub-agents v0.5.4
← All workflows

Ship to milestone branch instead of main

Issues in a milestone merge into the milestone's own branch instead of main. The team tries the whole milestone on a preview or on staging, then merges it into main by hand.

ub-agents is a minimal agent loop for experienced developers: plain GitHub labels, your own coding agents, nothing to host.

EACH ISSUE THE MILESTONE Team member files an issue in a milestone issue-preparer prepares it, attaches the ready label implementer builds the change, opens its PR into the milestone branch create the branch from main, on the milestone's first issue reviewer + integrator merges the PR into the milestone branch, closes the issue update the branch merges main in, fixes a trivial conflict Milestone branch every landed issue, tried together Milestone description names the milestone branch and its preview URL, if any Milestone PR from the branch into main, lists what landed In main · deployed The team decides tries the milestone decides to release the milestone resolves a complex conflict with main needs-preparation ready handed-off merged no branch yet Branch line added main has changed branch up to date complex conflict, with suggestions opens with the first issue releases it gates pass, merged by hand team member agent role milestone branch a person decides

Why it exists

When every merge to main deploys to production, a feature split into small issues reaches users half finished. Here a milestone is the feature. When the milestone has no branch yet, the implementer creates one from main, and every issue in the milestone merges into that branch instead of main. Once the first issue lands, one pull request from the branch into main opens and lists what has landed so far; a small workflow can keep it current. Whenever main changes, it is merged into the branch, by the agents working on the branch or by a workflow, so the milestone always runs on current main. A trivial conflict, such as a lockfile or a small hotfix line, is fixed on the spot; anything harder goes to the team with concrete suggestions for resolving it. The team tries the whole milestone on the branch's preview, or on staging when the host doesn't deploy every branch. When it decides to release, it checks the milestone PR's gates and merges it by hand.

Several milestones can run side by side. To finish them one at a time instead, turn on the queue's milestone gate.

What you gain

  • Small issues and small reviews, without shipping a feature in pieces.
  • One place, a preview or staging, where the team tries the whole milestone before anyone sees it.
  • A release that is a single, deliberate merge into main.

Where a person steps in

Trying the milestone and merging it into main, and resolving a conflict between main and a milestone branch that is too complex for the agents.

The diagram is drawn with ablauf by the ub-agents-flow skill, which can draw your own loop too. Running the workflow needs only ub-agents.