- F* 74.7%
- Rocq Prover 14.1%
- Python 4.3%
- OCaml 3.6%
- Go 1.2%
- Other 2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| corpora | ||
| docs | ||
| legacy | ||
| mk | ||
| oracle | ||
| spikes | ||
| src | ||
| test | ||
| toolchain | ||
| tools | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| Makefile | ||
| PLAN.md | ||
| README.md | ||
satisfgable
An OpenFGA validator written and verified in F*, extracted to OCaml.
- It reproduces OpenFGA v1.20.0 (cel-go v0.31.0, Go 1.26.8) exactly, or refuses: formats,
model and tuple validation, CEL conditions,
Check,BatchCheck,Expand,ListObjects,ListUsers, the store, model, tuple and assertion API and the AuthZEN layer. - It validates models over all admissible configurations of a declared scope: inclusion and equivalence of relations, vacuity, differences between model versions, forbidden capability combinations and the effect of administration writes.
- It certifies its conclusions: a witness is replayed, an absence is backed by an LRAT proof checked by a verified extracted checker.
Status. V0 is complete; V1 is in progress. Current state, branches and next actions: docs/superpowers/status.md. PLAN.md (in French) is the master plan: scope, lots, milestones and exit criteria; dated rulings are in docs/superpowers/decisions.md, known debt in docs/deferred.md.
| Path | Content |
|---|---|
src/ |
F* sources: Smoke.* (the extracted program), Cnf.Spec and Lrat.* (the LRAT checker), Native.* interfaces; hand-written OCaml in src/ml/ |
test/ |
golden outputs (test/golden/), the test/ints harness for the patched fstar.lib, the test/lrat proof vectors, the test/audit mutation suite |
mk/ |
Make fragments: verify, extract, test, audit, quake, report, audit-test |
toolchain/ |
the Docker image: F*, Pulse, Z3, OCaml, CaDiCaL, Go and the pinned patches |
spikes/ |
throw-away F* and OCaml sources of the extraction spikes |
corpora/ |
recorded corpora, vectors and the divergence ledger |
oracle/ |
Go test oracle: the official OpenFGA, never called at run time |
tools/ |
corpus recording, ledger comparison, pin and documentation-link checks |
docs/ |
analyses, ADRs, references, spikes, tcb.md; docs/agents/ has the agent rubric, module templates and pitfalls |
legacy/ |
the former Rocq/OCaml project, read-only (git tag rocq-final) |
Tests and CI
Every build runs in the toolchain image; no F* or OCaml toolchain is needed on the host
(mk/README.md):
make in-docker T=ci # fast subset: verify, extract, every golden
make in-docker T=audit # escape-hatch gate: fresh -f checks, scans, extraction guards
make in-docker T=audit-test # mutation test of the gate
make ci-full # the full gate (host-level), see below
make ci-full is the gate a merge must pass; its exact composition and requirements are in
mk/README.md (Full gate). No orchestrator or nightly job runs it yet
(docs/deferred.md Q-040).
The trusted base is documented in docs/tcb.md; every guarantee that is not in
ci-full is listed in docs/deferred.md.
Licence: not decided yet.