All checks were successful
CI / Unit & Component Tests (pull_request) Successful in 3m20s
CI / OCR Service Tests (pull_request) Successful in 19s
CI / Backend Unit Tests (pull_request) Successful in 3m26s
CI / fail2ban Regex (pull_request) Successful in 43s
CI / Semgrep Security Scan (pull_request) Successful in 18s
CI / Compose Bucket Idempotency (pull_request) Successful in 1m2s
Address review nit: the older getTagTree tests relied on Mockito's default empty-list return for findSubtreeDocumentCountsPerTag. Stub it explicitly so the two-query contract is self-documenting. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>