mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
\$or was silently ignored — the key was never read from the parsed pattern, so rules using \$or routed every source/detail-type-matched event regardless of the OR conditions. Add \$or handling to both matchesPattern (top-level) and matchesDetailNode (detail-level): - iterate each sub-pattern; return false if none match - skip the \$or key in the regular field-by-field AND loop Top-level \$or sub-patterns are full event patterns, so each is evaluated via recursive matchesPattern call. Detail-level sub-patterns are field-match objects, evaluated via recursive matchesDetailNode on the same actual node.