Skip to content

fix: route canonical HWPX values through record rules - #74

Merged
taejung3852 merged 1 commit into
mainfrom
fix/renewal-hwpx-canonical-fields
Aug 20, 2026
Merged

fix: route canonical HWPX values through record rules#74
taejung3852 merged 1 commit into
mainfrom
fix/renewal-hwpx-canonical-fields

Conversation

@taejung3852

Copy link
Copy Markdown
Member

변경 내용

  • /api/v1/documents/generate에서 TEMPLATE_RULES 기반 canonical key HWPX 생성을 지원합니다.
  • 기존 dynamic-label 및 application_options 경로는 유지합니다.
  • Renewal canonical key, Server 레포, Workflow 구조는 변경하지 않았습니다.
  • 지원하지 않는 key는 기존처럼 422로 실패합니다.

원인

Renewal의 canonical key가 /documents/generate에서 dynamic-label 방식으로 해석되어 HWPX 필드 검색에 실패했습니다.

검증

  • canonical key 실제 HWPX XML 셀 반영
  • 기존 / label 요청 성공
  • unknown key 422 유지
  • 관련 document·renewal 테스트: 150 passed
  • Qdrant optional 통합 제외 전체: 672 passed, 5 skipped
  • Ruff 및 git diff --check 통과

전체 suite의 Qdrant 통합 테스트 4건은 qdrant-client 미설치로 실패했으며, 이번 범위에서는 수정하지 않았습니다.

@taejung3852
taejung3852 merged commit 753aa2a into main Aug 20, 2026
3 checks passed
@taejung3852
taejung3852 deleted the fix/renewal-hwpx-canonical-fields branch August 20, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant