You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Report an Unreadable Retired Copy as Unread, and Share One History-Match Helper #4254
Two small defects in the retired-path match check that the CLAUDE.md pointer-file retirement added to spec/audit.py, left as is by the maintainer's decision when that pull request merged:
An unreadable copy reads as a changed one.check_hubonly_carried passes run.read_text(path) to matches_hub_history. That returns None where the contents API gives no inline content, such as a symlink to a non-file or a blob too large to inline. The finding then says the copy "matches no past hub version", and RESYNC.md section 3 step 2 says such a copy holds something the repository added. Neither is known, since the copy was never read. It goes to the maintainer, so nothing is deleted wrongly. Other content checks, such as check_verbatim_file, report run.unread(...) instead.
One comparison lives in three places.matches_hub_history asks whether a text's content_hash equals any past revision's. classify_verbatim's past-revision loop asks the same, and so does the history hash set in spec/fidelity_honesty.pyfidelity_pass. A later change to the comparison has to be made three times.
Done when
An unreadable retired copy is reported as unread, with a test. One helper serves all three sites.
Found by a local strict review pass on the retirement, part of #4074.
Activity
Retire the CLAUDE.md Pointer File (#4247)
Settle Retired Paths: Pin Dropped Carries, Scope Keep Rows, Read Unre…