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
Preview-Locked Execution: execute_rename.py now renames from the dry run's saved snapshot (logs/pending_mapping.json) instead of independently re-scanning the folder — closes a gap where the approved preview and the actual rename could silently diverge.
Rollback on Partial Rename Failure: A failed second rename step now restores the original filename instead of leaving the file stuck as <name>.pdf.tmp_rename.
Vendor OCR Pass: Scanned bons now get a heuristic vendor name read from the header lines instead of a hardcoded vendor, with a warning flag when that read is inconclusive. Lines matching Nama/Alamat Pemesanan are excluded from vendor candidacy.
Low-Confidence Warnings Surfaced in Preview Table: OCR-unavailable, no-date-found, and inconclusive-vendor cases are flagged with ⚠️ and explanatory notes instead of silently guessing.
Encrypted-PDF Detection: Password-protected PDFs report a clear error in the preview table instead of generic crashes.
Date-Fix Scoping: OCR digit/separator corrections apply only to the local text window around candidate date matches.
Year Cross-Check: Missing year in matched dates falls back to years found elsewhere in OCR text before falling back to current year.