unification: sec03 MANIFEST → CANON v1 (per-item tables; source ids unrecorded → '—' + sweep pointer)

This commit is contained in:
Dmitry Kokorin 2026-09-21 23:43:39 +03:00
parent dab9e312d9
commit b01f539194
2 changed files with 303 additions and 9 deletions

View file

@ -115,8 +115,10 @@ def main():
out += '| file | size | source | verify |\n|---|---|---|---|\n'
for f, size, src, note in rows:
card = sources.get(f, '')
if not src or src == '?':
src = card if card and card != '?' else '—'
if card == 'MANIFEST':
card = ''
if not src or src == '?' or src == 'MANIFEST':
src = card if card and card not in ('?', 'MANIFEST') else '—'
if note == f:
note = ''
out += f'| {f} | {size} | {src} | {note or "—"} |\n'