Files
wanderbooks/crates/ledger-core
swaitsandClaude Fable 5.2 ff58b055ce feat(core): one detector for free text, with Unicode separators, masking and words
holds_printed_tin now reads the Unicode dashes, dots, spaces and numerals
between an SSN's 3-2-4 or an EIN's 2-7 groups (a replay keeps reading the
narrow form, BS-entry-4). mask_printed_tins keeps the last four digits of
each number found; check_free_text and tin_refusal give the one refusal in
words: which field, that it looks like a tax id, where a tax id goes
(books.set_tin or a W-9), never the number. Property tests: every grouping
with every listed separator is found, nine digits alone are found, ten or
more digits, invoice and phone numbers, amounts and dates pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 14:47:33 -07:00
..