Working as a Team
Many Tasks, One Base
Tasks normally start from each repository’s configured base branch. Choose a different base for related work, and merge dependent changes in order.
The task lifecycle
Each task builds on its selected base branch, often main. Its changes reach that
base when you merge its pull request.
What "the base" means
The base branch contains the shared version of your product. Each task and its preview use a private copy. Tasks change the base only by merging a pull request.
A merged change becomes available to teammates and later tasks that use that base. Deployments depend on your repository’s release configuration.
Task base branches
Before launching, use the base branch picker in task details. Keep the default for independent work. It uses each repository’s configured base; when repositories differ, the picker reads Default and its menu lists each repository's branch. Select an existing branch to build on work already there, or type a new branch name for a shared feature branch. To hide the picker, turn off Show base branch selector under User Settings to Appearance.
A task-specific base has the same branch name in every writable repository in the stack. On first launch, Gleamrun creates a missing base branch from that repository’s normal base. Read-only repositories keep their configured base. The agent uses its own task branch for changes and targets the selected base with its pull requests.
Choose the base before work starts. If a running session or existing task sandbox requires a restart, the picker asks Restart agent to change base branch?. Confirm Restart agent to start on a new branch. Uncommitted changes may be lost, and the previous session stays in task history. An open or merged pull request blocks a base change. Close an unmerged pull request first, or create a new task.
Running tasks in parallel
- Each new task branch begins from its selected base as it is at launch.
- A task’s preview shows its selected base plus that task’s changes. Work on another branch appears only if that work is already part of the selected base.
- When a task merges, it becomes part of the base. Every task started after that from the same base includes it automatically.
Best practices
- If task B builds on task A, merge A into their shared base before starting B. Alternatively, select A’s branch as B’s base before launching. B’s pull request then targets A’s branch. Review that dependency and its merge order with your team.
- Merge finished work promptly. A task that sits unmerged for days is working from an old copy of the base. The longer it waits, the more likely it collides with what's merged since.
- Run independent tasks in parallel: A pricing-page rewrite, a new FAQ entry, and a logo swap can run at once and merge in any order when they do not overlap.
- Review before enabling auto-merge. A person with merge permission can enable auto-merge after reviewing the change. It can merge as soon as the merge rules pass. Its merge agent rebases and repairs conflicts and CI failures in tests, type checks, lint, and builds. Review findings still need attention unless the person who starts the merge run enables automatic finding fixes in their notification settings.
Large tasks take longer to review and can delay dependent work. While they wait, other merges can create conflicts. Split work into tasks you can review in one sitting, then merge each completed change promptly.
Next
- Review & Merge: make the merge decision.
- Steering Agents Together: coordinate when two people care about one task.