How to use CRRE
CRRE is a deterministic decision engine. Apps ask it a governed question (“may this happen?”, “what may this customer see?”) and get back a verdict plus obligations to enforce. CRRE decides; your app enforces. It never reaches into your database. Every page also has a ? button (top bar) explaining that page.
The one-minute model
- You register your app and declare its facts (its vocabulary) and the effects it may emit — its contract.
- You write rules on a scenario (a decision context). Rules read facts and emit effects (deny, obligations, routing…).
- Your app calls
/v1/rules/evaluatewith facts. CRRE runs the rules and returns a decision (PLAN / DENY / HUMAN_REQUIRED / CONFLICT) + obligations. - Your app enforces that decision. Every decision is audited and replayable.
Golden rule: declare facts before rules — a rule reading an undeclared fact silently fails closed on every request.