MyKindlebox/mykindlebox/server
fireshaper 990c703bb2 AI pedigree scanning, reusable ancestors, rabbit merge and delete
Pedigree scanning
- Replace the Tesseract OCR pipeline with server-side Claude vision
  (claude-opus-5-5, structured output) that reads any layout, printed or
  handwritten, into the subject + 14 ancestors with per-field uncertainty
- New POST/GET /api/pedigree-scan; enabled by ANTHROPIC_API_KEY in .env
- Add Rabbit step 1: "Scan a pedigree" card, photo review panel, "Check"
  badges on uncertain ancestors, sire/dam herd matching
- Remove vendored Tesseract assets and OCR libs; bump SW cache to v2
- nginx /api read timeout raised to 180s for slow scans

Ancestors
- Manual ancestors default to 3 lbs and Unknown DOB (legacy 0 lbs read as
  3); weight/DOB shown in the tree and on Review
- On save, ancestors entered as text become linked rabbit records
  (status Other), deduped by ear number or name + farm

Existing rabbits
- Adding a rabbit that already exists tops up the existing record: fills
  empty fields, adds missing ancestors, promotes reference ancestors; never
  overwrites. Review step warns beforehand
- Delete button on rabbit detail; delete snapshots full ancestor JSON to
  offspring, clears litter links and timeline events, and is blocked while
  the rabbit has show entries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:29:06 -04:00
..
db Add user accounts with first-run onboarding and per-user preferences 2026-07-02 16:38:16 -04:00
lib AI pedigree scanning, reusable ancestors, rabbit merge and delete 2026-10-28 14:29:06 -04:00
routes AI pedigree scanning, reusable ancestors, rabbit merge and delete 2026-10-28 14:29:06 -04:00
utils Initial commit: MyKindlebox rabbitry management app 2026-06-21 23:29:56 -04:00
.dockerignore Pedigree OCR and Docker 2026-07-02 14:38:16 -04:00
Dockerfile Initial commit: MyKindlebox rabbitry management app 2026-06-21 23:29:56 -04:00
auth.ts Add user accounts with first-run onboarding and per-user preferences 2026-07-02 16:38:16 -04:00
drizzle.config.ts Initial commit: MyKindlebox rabbitry management app 2026-06-21 23:29:56 -04:00
index.ts AI pedigree scanning, reusable ancestors, rabbit merge and delete 2026-10-28 14:29:06 -04:00
package-lock.json AI pedigree scanning, reusable ancestors, rabbit merge and delete 2026-10-28 14:29:06 -04:00
package.json AI pedigree scanning, reusable ancestors, rabbit merge and delete 2026-10-28 14:29:06 -04:00
tsconfig.json Initial commit: MyKindlebox rabbitry management app 2026-06-21 23:29:56 -04:00