Back to Engineering Blog
AI Development 4 min read

Quorum Math: Why the Author Counts as a Vote

Requiring three independent reviews sounded safer. With four agents and one always the author, it forced a metered fallback on every change. Author plus two is the real rule.

Jason NevillBy , Houston, TX
#AI-Logos#Quorum#Governance#PeerReview

Key Architectural Takeaways

  • The merge gate is the author plus two independent approving reviewers, on the current commit.
  • Three independent reviews would have forced a metered fallback reviewer onto every pull request.
  • Changes to the pipeline's own gate files merge on the same quorum, and the merge message lists them for the audit trail.

The bug that looked like a feature

The merge gate originally waited for three independent reviews. It read as cautious. In practice, we had four enabled agents and one of them is always the author, so three independent reviews meant the metered fallback reviewer had to participate in every single change. That ran against our policy of not depending on metered APIs for routine work.

The correct rule

Author plus two independent approving reviewers is a quorum. The author's own vote counts as one of the three, and the reviewers must be different agents. The gate now advances at two independent valid reviews.

Votes belong to a commit

An approval applies to one commit. A new push resets the votes, so what is approved is always what ships.

The gate files, and the hold we removed

Some files define the gate and the dispatchers themselves. We first put them on a self-protect list so that a person merged changes to them even when quorum was met. That hold was removed later on October 12 as a deliberate durability test: those changes now merge on the same quorum as everything else, and the merge message lists the gate files they touch so the audit trail stays visible. The risk is real, since reviewers are judging code that decides what gets reviewed, which is why the trail and the backup-before-deploy safeguards matter more than the hold did.

Takeaway

When a safety rule and a resource constraint seem to conflict, check whether the rule really says what you intended. Ours had quietly redefined 'independent' to exclude the author's vote.

Follow the build on LinkedIn or by RSS.

All Articles

Follow the build

Questions about the build, or spotted something we got wrong? Find us on LinkedIn and GitHub.