# Pull requests

> Reviews, comments on lines, checks, merge methods, and the use cases a change touches.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/repos/pull-requests/

For agents: Pull requests: from a branch (same repo or a fork) to a base; draft state; reviewers and teams; line comments and suggestions; review states (comment, approve, request changes); required checks; merge methods merge/squash/rebase; auto-merge when green. Shows the use cases touched (from Case: trailers) with a link to Cases, and the Run preview. Closes linked issues with 'Fixes #12'. Same API shape as GitHub's.

A pull request asks to bring a branch into another one, with a review.

- **Draft** while you work; **ready** when you want reviews.
- **Reviewers**: people or teams; each one comments, approves or asks for changes.
- **Comments on lines** and **suggestions** the author can apply with one click.
- **Checks**: Run's preview, `cases check`, and any external CI ([CI and Run](https://git.docs.sypnia.com/automation/ci-and-run)).
- **Merge**: merge commit, squash or rebase, as the branch rules allow; **auto-merge** when everything is green.

## The use cases it touches

The pull request lists the use cases its commits name in `Case:` trailers, with a link to each one in Cases, and warns when a commit names no case and the project has a map ([Issues and use cases](https://git.docs.sypnia.com/repos/issues-and-cases)).

## Closing issues

`Fixes #12` in the description or a commit closes issue 12 when the pull request is merged, as on GitHub.
