MCPcopy Create free account
hub / github.com/anthropics/claude-code / __init__

Method __init__

plugins/hookify/core/rule_engine.py:30–33  ·  view source on GitHub ↗

Initialize rule engine.

(self)

Source from the content-addressed store, hash-verified

28 """Evaluates rules against hook input data."""
29
30 def __init__(self):
31 """Initialize rule engine."""
32 # No need for instance cache anymore - using global lru_cache
33 pass
34
35 def evaluate_rules(self, rules: List[Rule], input_data: Dict[str, Any]) -> Dict[str, Any]:
36 """Evaluate all rules and return combined results.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected