hsa-app/internal/web
Jean-Michel Tremblay 5c21f131fd Add AI auto-fill, tally, recent views, and cheaper-by-default classification
Features (see spec.md v2):
- Wire receipt classification into the upload flow; cheap model (Haiku 4.5)
  is now the default, shown as a footnote with per-scan cost in cents.
- Skip-AI toggle to enter fields by hand.
- Duplicate-transaction warning: live check on date+amount, gated submit.
- Tally tab: person x year totals with margins and grand total.
- Recent uploads / recent receipts tabs with paging and file serving.
- People reconcile on startup: merge stray partial names (e.g. "Jude" ->
  "Jude Tremblay"), reassigning receipts; idempotent seeding.
- scripts/build.sh builds the binary; scripts/run.sh builds and runs with .env.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 22:04:42 -04:00
..
static Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
templates Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
export.go Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
manage.go Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
manage_test.go Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
middleware.go Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
scan.go Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
templates.go Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
upload.go Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
upload_test.go Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00
views.go Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
views_test.go Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
web.go Add AI auto-fill, tally, recent views, and cheaper-by-default classification 2026-06-18 22:04:42 -04:00
web_test.go Initial commit: HSA receipt tracker 2026-06-17 21:40:12 -04:00