Paper Archive — digitize the handwritten notecard shoebox
- Claude Opus 5 vision extraction (official SDK, zodOutputFormat-enforced structure): verbatim transcription + typed fields with per-field confidence; the model must flag ambiguous digits ("5850 or 6850") instead of silently guessing.
- Arithmetic is checked DETERMINISTICALLY in code (price−deposit=balance, balance+tax+shipping=total, line-item sums) — failed checks and low-confidence fields are highlighted in the review UI next to the original card image; confirm/correct/reject per record, with reviewer corrections logged for future few-shot use.
- PAYMENT_PROOF records get deterministic match suggestions against the card they most likely settle (amount vs total/balance/deposit, name overlap, date proximity) and one-tap linking.
- Search across everything written on any card (ILIKE over flattened extraction). Mobile-first UI so cards can be photographed and reviewed from a phone. Listed under /admin/under-development.
- New PaperRecord model; migration already applied to Supabase and recorded in _prisma_migrations (resolve-style, matching repo practice).
3087657View on GitHub →