Full Technical Findings & Reproducible Telemetry
1. Layer 0 Auto-Healing vs. Multi-Turn LLM Repair
Instead of paying an LLM 3,500 tokens to fix a missing threshold in an acceptance criterion or replace a banned sub-12px font class, deterministic Python healers repair the artifact on disk before the linter runs. Across test suites, PM node invocations dropped from 3 LLM calls to exactly 1 call while maintaining 1.0 AC testability.
Engine Module | Catalog Size | Layer 0 Zero-Token Auto-Healer | Net Token Delta
--------------------------------+--------------+-----------------------------------------------+-------------------
brevio/pipeline/dev_rules.py | 42 Rules | Git diff added-line scanner + targeted brief | 0 tokens on pass
brevio/pipeline/design_rules.py | 40 Rules | Auto-heal text-[10px]/h-6/gradients in <1ms | -1,800 tokens/run
brevio/pipeline/pm_rules.py | 40 Rules | Auto-heal weak ACs, (source: F#) & 3-tier KPI | -4,150 tokens/run2. Three-Layer Execution Architecture (<2ms Latency)
Layer 0 mutates known deterministic defects directly in the AST or text buffer. Layer 1 verifies the diff against all 122 catalog rules in under 2 milliseconds. Only if a semantic violation remains does Layer 2 attach a compact, <110-token remediation directive targeted to the exact failing rule ID.