No description
  • F* 74.7%
  • Rocq Prover 14.1%
  • Python 4.3%
  • OCaml 3.6%
  • Go 1.2%
  • Other 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-24 01:58:29 +02:00
corpora Q-131 review fixes: the population's recording commit in the provenance 2026-10-23 23:47:15 +02:00
docs Ledger: Q-134 (R0 Check handler's format checks) 2026-10-24 01:58:29 +02:00
legacy Move the Rocq/OCaml project to legacy/ and promote corpora and tools 2026-10-08 21:54:56 +02:00
mk Merge V1.3: the semantic DSL front end (Dsl.Lex/Parse/Transform, byte-equal to the pinned fga CLI on a recorded corpus, analyze --model MODEL.fga) 2026-10-23 11:25:21 +02:00
oracle V1.7b.3a review fixes: two more checkbody rows, the placeholder written with escapes (replaced after decoding) and an encoding/json syntax error (body_decode) (n2) 2026-10-23 18:02:12 +02:00
spikes Q-099 review fixes: ADR 0004 dates the historical extraction; spikes/Makefile comments in the past, no dead branch, shadow obsolete (M-1, M-2) 2026-10-23 09:30:24 +02:00
src Q-131 review fixes: the entrypoint population takes the review's 26 rows (6 fuzz budget rows, the 13 V1.3 DSL models the walk refuses, an accepted fan-out, R0's write-path limits) recorded at 2000 samples, and checks the walk's reason against R0's message: 217/209 agree, 0 violations, 127 reasons compared, 0 differing (I-2, M-1, F-1, Q-133) 2026-10-23 23:47:08 +02:00
test Q-131 review fixes: the entrypoint population takes the review's 26 rows (6 fuzz budget rows, the 13 V1.3 DSL models the walk refuses, an accepted fan-out, R0's write-path limits) recorded at 2000 samples, and checks the walk's reason against R0's message: 217/209 agree, 0 violations, 127 reasons compared, 0 differing (I-2, M-1, F-1, Q-133) 2026-10-23 23:47:08 +02:00
toolchain V1.7b.3a: the checkbody binary is the pinned oracle; every recorded corpus moves to it (D-096) 2026-10-23 14:38:43 +02:00
tools Q-131 review fixes: the entrypoint population takes the review's 26 rows (6 fuzz budget rows, the 13 V1.3 DSL models the walk refuses, an accepted fan-out, R0's write-path limits) recorded at 2000 samples, and checks the walk's reason against R0's message: 217/209 agree, 0 violations, 127 reasons compared, 0 differing (I-2, M-1, F-1, Q-133) 2026-10-23 23:47:08 +02:00
.gitignore Hygiene: pin the oracle's Go image by GO_IMAGE and drop the Rocq-era ignore patterns 2026-10-19 04:36:00 +02:00
AGENTS.md Q-099: docs for F* v2026.10.18 (ADR 0004 amendment, Z3 decision, measurements) 2026-10-23 08:37:08 +02:00
CLAUDE.md T0.6: agent guidance, frozen-interface rubric, module templates and pitfalls 2026-10-19 12:11:05 +02:00
Makefile Q-131: the entrypoint population (42 hand rows, 358 seeded random models) recorded against R0 validate at 2000 samples and replayed by Fga.Model.R0.Test: 207 accepted and 193 refused by both, we-accept-r0-refuse 0, we-refuse-r0-accept 0 2026-10-23 22:08:43 +02:00
PLAN.md Q-099 review fixes: PLAN's tooling annex dates its F* and Custard facts (m-3) 2026-10-23 09:32:12 +02:00
README.md Audit 2026-10-21: repair status, deferred, AGENTS, README, mk/README and PLAN state sections 2026-10-21 22:52:57 +02:00

satisfgable

An OpenFGA validator written and verified in F*, extracted to OCaml.

  1. 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.
  2. 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.
  3. 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.