Recorded run · replay
Turns plain-English business rules into explicit, checkable rules that a fixed engine runs the same way every time.
The run was askedGiven a small business's booking rules in plain English, does the compiled rule set give the right decision for every combination of long booking, VIP customer and compliance hold?
Once the rules are explicit and ranked, a plain deterministic engine gets every combination right, flags genuine ties, and can say which sentence caused each decision.
This replay covers the deterministic runtime, not the model step that turns English into rules: here the rules were hand-compiled. The repo's model-level comparison is mixed (for example 42/48 strict structural correctness, below its 90% bar) and was a same-session exploratory run; see the public semantic-compiler-case-study. Two of the eight situations (vip_hold, long_hold) are omitted from the table; both were BLOCK.
Why custom: Asking a model to write booking code hides the rules inside the code; this keeps each rule as an explicit, prioritized statement tied back to the sentence it came from, so a fixed engine can run it and anyone can check why it decided.
Replayed from: Offline deterministic run of 06_runtime/policy_engine.py evaluate_policy() over 04_frappe_prototype/CANONICAL_CLIENT_MANIFEST.yaml and the 8 scenarios in 05_tests/POLICY_SCENARIOS_V0_1.yaml, plus 05_tests/test_policy_engine.py (disagreement injection); no model calls