sec09 FINAL: downloads (41 files, 361MB: EN 27 + RU 14) + MANIFEST + SUMMARY + MISSING + AGENTS.md

- All 41 files content-verified (pdfinfo + first-page text; epubs xhtml; fb2 titles)
- 08 Fonagy = EN original (renamed -en-); Wirtz #38 = BOOK (Spring Journal Books 2014, 358pp)
- Bonus: Kawai Myōe (Castalia 2018 part 1, flib x2) + TFP Clinical Guide (Yeomans/Clarikin/Kernberg 2018, DIFFERENT TFP book)
- xref.py stale-check: 1-token distinctive match too weak (Stein/Kohut 'treatment' false positive) -> >=2 required
- .gitattributes: +sec05/07/08/09 LFS dir rules
- Linter 0, xref stale 0
This commit is contained in:
Dmitry Kokorin 2026-09-27 14:11:05 +03:00
parent dec46c9938
commit e20e2ba1a5
49 changed files with 549 additions and 9 deletions

View file

@ -294,14 +294,14 @@ def manifest_stale(sec, title, dl_idx, cards):
ftok = {t for t in ftok
if not re.match(r'^(19|20)\d{2}$', t) and t not in PUBLISHERS}
inter = tok & ftok
if inter - GENERIC: # at least one distinctive shared token
if len(inter - GENERIC) >= 2: # at least two distinctive shared tokens
return 'STALE', f'sec{s2} file: {f}'
for c in cards:
if c['sec'] == sec or c['status'] != '✅':
continue
ctok = {t for t in c['tok'] if not re.match(r'^(19|20)\d{2}$', t)}
inter = tok & ctok
if inter - GENERIC:
if len(inter - GENERIC) >= 2: # 1 distinctive token = too weak (Stein «treatment» ≠ Kohut)
return 'CHECK', f'sec{c["sec"]}#{c["n"]} card ✅ ({c["file"]})'
return 'KEEP', ''