Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 48s
Bug-hunt round probed magic-sets against many edge cases. No new bugs surfaced. Added regression tests for two patterns that exercise the worklist post-fix: - 3-stratum program (a → c via not-b → d via not-banned). Distinct rule heads at three strata; magic must rewrite each. - Aggregate-derived chain (count(src) → cnt → active threshold). Magic correctly handles multi-step aggregate dependencies. Magic-sets is robust against: 3-stratum negation, aggregate chains, mutual recursion, all-bound goals, multi-arity rules, diagonal queries, EDB-only goals, and rules whose body has identical positive lits.