Skip to content

Decide the next step for each pull request

A pull request can take several paths. A docs-only change can merge at once. A code change needs a review. A red build needs a fix. A pending build means the agent waits.

In Rein, the first decision asks one question: does this change touch only documentation? Each answer leads to a different next step. The agent answers from what it sees in the pull request.

CI status is a fixed set of options. Each option gets its own case. If the team adds a new status, the checker reports the gap until someone writes what the agent does next.

Security-sensitive changes can move to a review step with a stricter focus. Pointers keep each rule in its own file, so one rule can change without touching the others.

The flow in one picture

yesnoPull requestDocs only?CI status?ApproveReview codeFix the buildWait for CI
Each question has a yes or no answer, or one answer from a fixed set. Each answer leads to one next step.

Alpha, private

Try this with early access

Rein is a proof of concept. Syntax and tools can still change. Request early access by email, and tell us which decision flow you want to build.

Back to Rein home