Skip to main content

Module heuristic

Module heuristic 

Source
Expand description

The deterministic, dependency-free scorer.

Always available, sub-microsecond, and the graceful-degradation path when no GGUF model is present. It produces an honest one-line summary from the Tier-1 rule id and a severity score from the class plus signal words in the command. It never sees a catastrophic command in the decision path (the daemon only scores the ambiguous band), but it can summarize one for the hold card.

Structsยง

HeuristicScorer
A fixed scoring backend with no external dependencies.