How JamBase works
JamBase checks every open pull request against the branch it merges into, and against every other open pull request, using the compiler. It tells you, on the pull request and here, whether merging would break the build, and what to do about it.
It reads your code and never runs it, never sends it to an AI model, and never pushes to your repository. What JamBase keeps says exactly what it stores and for how long.
What each verdict means
main or develop). The compiler found code that no longer fits.What to do: Read the lines listed under it, fix them, and push. JamBase checks again on its own within a few minutes. The comment also carries a prompt you can paste into your own coding agent, for a branch whose code you trust: it names the places in files the pull request did not change, and your agent reads the rest itself.Blocks merging? Yes, if you made the check required (below). Besides a conflict with that branch, the only other verdict that fails the JamBase check is Your check fired.git merge main) and resolve the file. Against another pull request: whichever merges second resolves it.Blocks merging? A conflict with the branch it merges into, yes; GitHub would not merge it either. With another pull request, no.Where you see it
- On the pull request: a check named JamBase: clashes on every pull request, and one comment from JamBase when something needs attention: it breaks or clashes, or a check found something. The comment's first line is the verdict, and it is edited in place on every push. A pull request with nothing to fix gets the check alone.
- On the dashboard: your repositories, what needs a decision first, and a page for every pull request with the full list and what to do.
- In the check record: a signed record of each check, linked from the comment, saying what was checked and what was left out.
Make the check required, so nothing that breaks the build can merge
JamBase never blocks a merge by itself. To stop a pull request that breaks the build from merging, make its check required on GitHub:
- On GitHub, open the repository's Settings, then Rules, then Rulesets, and create a branch ruleset for your main branch. (Older repositories: Settings, Branches, Add branch protection rule.)
- Turn on Require status checks to pass.
- Search for JamBase: clashes and add it. It appears in the list once JamBase has checked one pull request in the repository.
- Save. From now on, GitHub refuses to merge a pull request that breaks the build. A clash with another pull request still passes, as it should.
When JamBase gets it wrong
Every JamBase comment ends with Was this wrong? Tell us. A person reads every report, and each confirmed one becomes a test, so the same mistake is not made again.
To make JamBase skip files, or change where clashes are shown, add a file named .jambase.yml to the root of your main branch. It is read from the branch pull requests merge into, so a pull request cannot change its own rules:
# Files JamBase does not judge (a conflict is still shown: git cannot merge it either way)
ignore:
- "generated/**"
# Where clashes with other pull requests show: comment (default), check, or silent
heads_up: comment
# When JamBase comments: when-needed (default: only when something breaks, clashes or a check finds something), or always
comment: when-needed
# Pattern checks to turn off
rules_off: []
# Your own coding agents' GitHub logins, so their pull requests are named as agents'
agents: []
# Label each pull request with its state (jambase: ready, jambase: not ready, ...) to sort by on GitHub
labels: false
The pattern checks you can turn off:
checker-silenced: turns a check offtest-weakened: weakens a testerror-swallowed: swallows an errorpackage-unknown: adds a package worth checkinghelper-rewritten: rewrites a helper the repository already hasdeprecated-use: uses something deprecated
If the file has a mistake, JamBase says so on the check and uses the defaults; it never ignores it without a word.
Commands
Comment one of these on a pull request (the repository's owner, members and collaborators can):
@jambase why: what this pull request breaks or clashes with, in plain words, and what to do.@jambase recheck: check it again now. JamBase reacts with ๐ when it starts; the check and the comment update within a few minutes.@jambase order: a suggested order for merging every open pull request into the same branch.@jambase add check, on a line in Files changed: turn the mistake on that line into one of your team's checks. JamBase answers in that thread with a link to the Library, where an admin adds the fixed version and saves it.@jambase help: the list of commands.
Words you will see
main. GitHub calls it the base branch.a1b2c3d.