Files
familienarchiv/ocr-service/CLAUDE.md
Marcel 50b18f0849
Some checks failed
CI / Unit & Component Tests (push) Failing after 3m29s
CI / OCR Service Tests (push) Successful in 32s
CI / Backend Unit Tests (push) Failing after 3m29s
docs(legibility): fix three review blockers in DOC-7
- docs/README.md: remove duplicate infrastructure/ entry at end of folder tree
- ocr-service/CLAUDE.md: add **LLM reminder:** prefix to ALLOWED_PDF_HOSTS
  SSRF warning (consistent with all other machine-readable instructions)
- backend/CLAUDE.md: restore ResponseStatusException note for simple controller
  validation — avoids LLMs reaching for DomainException for trivial checks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 07:41:02 +02:00

586 B

OCR Service

→ See ocr-service/README.md for tech stack, architecture, endpoints, environment variables, local development, testing, and training.

LLM reminder: the OCR service is a single-node container — training reloads the model in-process, so multiple replicas cause model-state divergence (see ADR-001). All job tracking and business logic stay in Spring Boot; the Python service is stateless OCR only.

LLM reminder: ALLOWED_PDF_HOSTS must never be set to * — that opens SSRF. The default (minio,localhost,127.0.0.1) is correct for dev.