I encountered a chicken and egg problem between a new repository I created, and a Herald rule blocking pushes to master of changes that have not been reviewed.
Arcanist was refusing to submit a diff against the empty repository, and the Herald rule was blocking the initial commit.
It looked to me like adding a “Branches Exist” condition to the Herald rule might work, allowing the initial commit to slip past the evil dragon bureaucrats, but it does not seem to be doing what I expected. Even after adding that rule, the Herald transcript shows it is matching, despite no master branch existing on the server.
I can’t find any documentation about what condition “Branches Exist” is supposed to be checking. Am I mistaken in my expectation that it is checking whether the branches being pushed to exist in the server repository, or is this a bug?