Prepare legacy migration for the portal cutover

- detection from legacy category only for scores >= 0.5, without ''/none
- category_label + view detection_labeled unify ICU and legacy labels
- schema/003 + migrate_legacy --dedupe removes Gundi twins of legacy images
  (same imei, same size, <= 10 min), archived in image_superseded
- migrate_legacy --plan: read-only preview of the migration
- Gundi S3 prefix icu/gundi-test/ -> icu/gundi/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dom
2026-10-16 21:01:17 +02:00
co-authored by Claude Opus 5.5
parent e7e5b6fb87
commit ed105fbff8
9 changed files with 307 additions and 22 deletions
+3 -3
View File
@@ -55,9 +55,9 @@ gundi:
enabled: true
bind_host: "0.0.0.0" # im Container; nach aussen nur 127.0.0.1:8090 (compose)
bind_port: 8090
inbox_prefix: "icu/gundi-test/inbox/"
processed_prefix: "icu/gundi-test/processed/" # spaeter: icu/processed/
thumb_prefix: "icu/gundi-test/thumbnails/" # spaeter: icu/thumbnails/
inbox_prefix: "icu/gundi/inbox/"
processed_prefix: "icu/gundi/processed/" # Portal liest den Schluessel aus image.processed_key
thumb_prefix: "icu/gundi/thumbnails/" # Portal liest den Schluessel aus image.thumbnail_key
workers: 4
ocr_workers: 2
max_request_bytes: 33554432