Skip to main content
Run two steps on every pull request: your tests on the real kernel, and bijection check.
.github/workflows/test.yml

What bijection check gates

  • Label flow. Every read, write, open, call and disclosure fits its function’s under. A refusal is a remedy sentence, such as ReadAbove or WriteBelow.
  • The lock file. The committed bijection.lock matches the tree. A change to exposure, labels, grave acts or guards fails as AuthorityLockStale until someone runs bijection check --write-lock and commits the reviewed diff.
  • Guards. With z3 or cvc5 on PATH, it warns about where: guards that can never match and reports the acts the change newly forbids or allows, with an example each. Without a solver it prints analysis unavailable, so install one on the runner.
Review the bijection.lock diff with each change. See bijection check and bijection.lock. A typed client pins the contract line of the same bijection.lock, so bijection check also catches a stale client contract.