Skip to content

Fix: AI garment piece 계약을 crop scope와 정렬 #306

Description

@coconutcococode

Issue Overview

  • 이슈 개요: external AI-tag garment-piece 계약을 crop UI 범위와 일치시킵니다.

Issue Description

  • 세부 설명:
    • 현재 external.aitag.GarmentPiece와 OpenAI/Bedrock 공통 prompt/schema는 TOP, BOTTOM, SHOES를 사용합니다.
    • crop UI 범위는 TOP, BOTTOM, DRESS, OUTER이며 shoes/accessories는 현재 범위에서 제외됩니다.
    • 조사 결과 GarmentPiece는 external AI-tag 결과 경계에 한정되고, JPA/DB migration/공개 API DTO에는 저장되거나 노출되지 않습니다.
    • 별도 persisted/public 계약인 ProductCategory와 canonical TagTargetClothing은 변경하지 않습니다.
    • 기존 garment count, duplicate, all-null semantic validation과 provider retry/timeout/관측성은 유지합니다.

To do

  • GarmentPiece를 TOP, BOTTOM, DRESS, OUTER로 변경
  • 공통 prompt와 structured output schema를 crop scope에 맞게 정렬
  • DRESS/OUTER parse 및 legacy SHOES 거절 regression test 추가
  • evaluator/fixture/활성 문서의 기존 AI garment-piece 가정 갱신
  • focused tests, clean build, MySQL migration gate, git diff --check 검증
  • 추천 로직의 garment-piece 연결 지점을 후속 계약으로 기록

제외 범위

  • 추천 ranking/search 로직
  • canonical taxonomy와 Gold labels
  • provider retry/timeout/관측성
  • Fashion-CLIP
  • DB migration
  • production deploy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions