aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dedup-invoices.ts
Commit message (Collapse)AuthorAgeFilesLines
* scripts: add dedup-invoices cleanup for already-duplicated :invoicesAdam Soltys2026-06-181-0/+86
The source fix (LPOS guard in generate()) stops NEW duplicate entries but doesn't remove the ones already accumulated. This one-time script scrubs them: scans every <id>:invoices list and removes duplicate ids, keeping each id's original creation-order position. Dry-run by default; pass --apply to write. Idempotent. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>