← Brian Mills · selected workView code on GitHub ↗

Recorded run · replay

Requirement-to-Runtime Compiler

Turns plain-English business rules into explicit, checkable rules that a fixed engine runs the same way every time.

Code
BrianMills2718/semantic-compiler-public
Recorded
2026-09-26 · commit edcc8f9

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?

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