Files
rose-ash/lib/acl/explain.sx
giles 15c97119e4
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 40s
acl: Phase 3 explanation + audit, 35 tests
explain.sx reconstructs a canonical proof tree (first-rule, first-solution)
by goal-directed search over the saturated db, since Datalog keeps no
provenance; depth-capped for cyclic safety. acl-explain returns
{:allowed? :proof :reason} with the blocking eff_deny proof on denial.
audit.sx is an append-only decision log (monotonic seq, disk serializer).
api gains acl/explain, acl/audit, acl/audit-tail.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 16:47:07 +00:00

4.1 KiB