diff --git a/tests/test_dedup.py b/tests/test_dedup.py index cf630934..efc2c246 100644 --- a/tests/test_dedup.py +++ b/tests/test_dedup.py @@ -54,7 +54,8 @@ class ProtectedDirectories(_Bios): """RPG Maker and ScummVM reference files by exact name and path. Collapsing two identical copies there breaks the reference that the - removed path served, which is why CLAUDE.md marks them NODEDUP. + removed path served, which is why those directories are excluded from + deduplication. """ def test_rpg_maker_copies_both_survive(self): diff --git a/tests/test_native_mode.py b/tests/test_native_mode.py index ca7df99f..d43ba170 100644 --- a/tests/test_native_mode.py +++ b/tests/test_native_mode.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 """The native-mode policy verify.py and generate_pack.py must share. -CLAUDE.md states the invariant as "verify.py and generate_pack.py must -produce identical results; any divergence is a critical bug". It used to rest -on both files spelling out `mode == "existence"` in their own words. Routing -both through scripts/nativemode.py makes the rule single-sourced, and these -tests make the agreement checkable instead of reviewable. +verify.py and generate_pack.py must reach the same verdict on the same file: +a pack and a coverage report that disagree describe different collections. +The rule used to rest on both files spelling out `mode == "existence"` in +their own words. Routing both through scripts/nativemode.py single-sources +it, and these tests make the agreement checkable instead of reviewable. """ from __future__ import annotations