Team rules
Choose who must approve a change before it joins your main branch. Signed on each persons computer, enforced when merging.
Since Revly 0.7.0 team rules are called Approval rules and live in Contributions > Security. See Approval rules.
Team rules let the owner of a code project decide who must approve a change before it joins a protected branch such as main. Approvals and rules are signed on each person's own computer, so they cannot be faked, and Revly keeps a history of every decision that the team can export. Team rules are optional: a project without them works exactly as before.
What you get
- Signed approvals. The owner chooses which people may approve. An approval names one branch and one change and is signed with that person's own key.
- A real gate. A merge into a protected branch through Revly is refused until the rules are met. A refused merge merges nothing, and the reasons are shown in plain words.
- The owner's choice of strictness. Every change needs approval, or an approval keeps going while the same person keeps adding to the branch, or one approval covers the branch. You can also require two approvers, no open must-fix findings, a recorded test result or a completed AI review, and protect files or folders that always need a fresh approval.
- An override with a reason. Only the owner can override a block, once, with a written reason that is saved in the signed history. Approvers cannot.
- Sealed and signed contributions. A contribution can be signed by its author so the team knows who really made it. Plain, unsigned contributions cannot enter a protected branch.
Turning it on
- Set up Team Access for the project (Contributions page).
- Open the project's Team rules page and press Turn on team rules. You become the owner and Revly makes a signing key on your computer.
- Write down the 24-word recovery phrase, type three of the words to show you did, and save an encrypted copy of the key on an external drive. Revly reads the file back to make sure it works.
- Ask each teammate to open Team rules and choose Join: they send you their public key, and they paste yours after comparing its fingerprint with you. Add them to the team with a role (member, approver or recovery contact).
- Choose the rules and press Save these rules.
Keeping the owner key safe
The key lives in your computer's credential store. If that computer is lost you can put the key back from the recovery phrase or the key file. See If the owner key is lost.
Good to know
- Team rules gate merges made through Revly (the app and connected AI agents). They are not server-side branch protection: git used outside Revly can still merge.
- An AI agent can read what a merge still needs but cannot approve, override or change the rules.
- Documents projects do not have team rules.
- A commit's author is matched to the team list by its git email, which the author sets. Signed contributions are the proof of who made something.