Branches and pull requests
How builds name their branches, open pull requests, and stay current.
Every build happens on its own branch and ends as a pull request on GitHub — or a merge request on GitLab — opened with your own sign-in. This page covers the parts you can shape and what Fragua does on its own.
Branch names
A build's branch is named <prefix>/feature/<slug> for a spec, or <prefix>/feature/fix/<slug> for an issue; a restart adds -2, -3, and so on. The prefix is fragua unless you change it in the Repository card on the Foundation page — letters, numbers, and . _ - /, up to 40 characters. A build keeps the prefix it started with, so a change affects only builds that haven't started.
GitHub or GitLab
Your machine opens the pull request with gh for GitHub and glab for GitLab, signed in as you.
Title and description
The pull request takes the spec's or issue's title, and its description opens with the summary of what was accepted. When a spec has a companion, each description links to the other. Want your repository's template instead? Ask for it in your Build rules, as the Workspace instructions guide shows.
Ready or draft
A build whose tests pass opens a ready pull request. If they still fail after the agent's last attempt, it opens as a draft, and a later turn that gets them passing marks it ready.
If the branch is pushed but no pull request could be opened — a GitHub outage, a CLI that's signed out — the build page says so and shows why. Open it yourself, then mark the work shipped.
Keeping branches current
About every 15 minutes, your machine rebases each open build branch onto its base branch and pushes it. If that would conflict, it leaves the branch alone and Fragua tells the build's owner. Open the build and press Resolve conflicts: the agent rebases, settles the conflicts, runs your checks, and pushes only if they pass. Reviewers will see rewritten history.
See also: Workspace instructions · Execution agent · My Work