dev → main: rule overlap check, design-guidance write arm, usage chip seam, divergence meaning gate #180

Merged
bvandeusen merged 7 commits from dev into main 2026-09-22 07:48:54 -04:00
Showing only changes of commit ad4bd101db - Show all commits
+5 -2
View File
@@ -268,6 +268,9 @@ def test_every_rule_create_door_asks():
def test_the_stale_premise_is_gone():
"""find_duplicate_rule claimed rules were not a semantic-retrieval surface
— false since rules were embedded, and the reason this gap survived."""
doc = inspect.getdoc(dedup.find_duplicate_rule) or ""
assert "aren't a semantic-retrieval" not in doc
# Flattened: the docstring is hard-wrapped, and the claim straddled a
# line. Keyed on the CONCLUSION it drew, not the premise — the corrected
# docstring quotes the premise in order to retire it.
doc = " ".join((inspect.getdoc(dedup.find_duplicate_rule) or "").split())
assert "the right (and only) signal" not in doc
assert "find_overlapping_rules" in doc