Policy and profiles

What happens after an "inside" verdict is set by the system's policy. Policies are versioned, and an approval given under an earlier policy is not grounds for a merge after the policy changes.

Three profiles

Profile
Who cannot approve
After an inside verdict
General
The author and whoever directed the agent
Lands according to policy
Public
Also the same team at the same rank
A staff member other than the approver confirms, then it lands
Finance
Also the same team at the same rank
A verifier checks the verdict and its evidence, then it lands. Never automatically
What each profile requires after an inside verdict.
Profile
After "inside"
Independence default
General
Merged according to policy.
Excludes only the author and the person who directed the agent
Public
Merged after a staff member other than the approver confirms.
Excludes the same organization at the same grade, verifier rules
Finance
No automatic merge. Merged after a verifier checks the verdict and its evidence.
Excludes the same organization at the same grade, verifier rules

A profile is a starting point. Pick one at install time and adjust it. In the public and finance profiles, the person who approved the plan cannot be the one who confirms its result.

Observation mode

The mode for the period right after installation. Verdicts and records are produced as usual, but nothing lands without a person. Under the General profile the protected branch does not move even on "inside", and the terminal says that the policy is observing and the branch has not moved. Public and Finance never land automatically anyway, so in observation mode a change still lands once a person confirms it. After watching for a while, switch to real merges.

Independence rules

  • Authors cannot approve their own plans. For a plan an agent wrote, the person who directed the agent is the author. No profile can turn this off.
  • Finance and public turn on two more rules by default: the approver may not share the author's organization and grade, and verifier rules exclude the author, their organization's manager, the requesting business owner and the acceptance owner.
  • When an organization or grade is unknown, the answer is "unknown", not "different", and unknown never counts as independence.
  • Each stage of a multi-stage confirmation is done by a different person.

Blocked attempts are recorded too. Turning a rule on or off is a policy change, and who turned it off is recorded.