07 / Gate
One answer to “is this ready to merge?”
BareCI: ready is one GitHub check on each pull request head. It turns green only when every module you enabled agrees, and while it is not green it lists every reason, each with a link and the exact command or MCP call that fixes it. Make it required in branch protection, and the merge queue can trust it.
{
"ready": false,
"reasons": [
{
"module": "reviews",
"kind": "blocking",
"message": "1 open high finding in src/cart.ts",
"fix": "bareci findings"
}
]
} How it works
Every module, one verdict
Required jobs passed on this head, no new flaky test unacknowledged, flows passed in strict replay, required reviewers ran with no open blocking finding, the preview built, and your policy met.
Reasons an agent can act on
bareci ready and the ready MCP tool return the same verdict as JSON, with the next step named, so an agent never has to read GitHub to know what to do.
Pending is not failing
While checks run, a reviewer reviews or a preview builds, the check is in progress. It fails only when something needs a fix.
Merge queue aware
The Gate posts its verdict on the merge queue's commit too, and can enqueue a pull request when it turns green, if the repository allows it.
Questions
Does the Gate replace branch protection?
It works inside it. Make BareCI: ready a required check and GitHub enforces it like any other.
What if I only use some modules?
The Gate counts only what is enabled for the repository. A repository with only Runners and Tests gets a verdict from those alone.