diff --git a/src/scribe/services/knowledge.py b/src/scribe/services/knowledge.py index 8373044..6fdfa43 100644 --- a/src/scribe/services/knowledge.py +++ b/src/scribe/services/knowledge.py @@ -120,6 +120,12 @@ def _location_clause(parts: dict[str, str]): # the verdict's: jsonpath compares the two fields within the row, so this stays # one index-served predicate rather than a post-filter that would make the # pagination total a lie. +# +# Same two-dialect discipline as the location filter above, and the same hazard: +# THE TWO MUST CHANGE TOGETHER. tests/test_snippet_drift_check.py is the guard — +# it walks both dialects over the same cases, including the one that motivated +# `attention` existing (an ok verdict whose code_sha has gone stale, which is +# neither `drifted` nor `unverified` yet plainly needs looking at). def verification_matches(data: dict | None, value: str) -> bool: """Python dialect of the verification predicate.