Pull requests
When the builder agent delivers a code change, Flezise opens a pull request on the connected repository. The title and body are generated from the approved story and the diff, not copied from a fixed template.
What Flezise writes into the PR
A governed pr-description prompt receives the story content, a summary of diff statistics, and the list of changed files. The generator produces a title and a description that explain what the change does and why.
If description generation fails (timeout or network error), the PR body falls back to Implementation of story on branch <branch>.
The PR opens as a draft by default and targets the main branch unless the repository's delivery configuration specifies a different base.
Flezise does not read a repository's own pull_request_template file. The PR body always comes from the pr-description generator.
Generated descriptions apply to every Git provider that supports PR creation: GitHub, GitLab, and Bitbucket.
CI autofix
When CI checks fail on the PR branch, Flezise can run a bounded fix loop to address them. This loop is opt-in and off by default.
The loop is GitHub-only. Providers that do not support CI check polling are skipped immediately, and the loop records a skip reason without attempting a fix.
Each fix round follows this sequence:
- Wait for all CI checks on the PR branch to reach a completed state.
- Collect the names of failing checks and, on GitHub, any PR review comments already posted.
- Run a sandbox session with the failure context as input.
- Commit any changes as
fix: address CI failures (round N)and push to the same PR branch. - Poll CI again.
The loop runs up to two rounds. If checks still fail after two rounds, or if the agent produces no file changes in a round, Flezise escalates: it posts a comment on the work item and sends a notification so a person can take over.
There is no UI toggle for CI autofix. Enable it by setting ci_feedback_enabled in the project's pipeline configuration.