feat: AI 후보 결정과 Case·Task 생성을 구현 - #96
Merged
Merged
Conversation
krestar
approved these changes
Aug 6, 2026
krestar
left a comment
Contributor
There was a problem hiding this comment.
후보 결정 전체가 하나의 트랜잭션으로 처리되는 것 확인했습니다
구현과 테스트 상 task 순서, 의존성 일치 확인했고,
main branch 및 Open PR 기준으로 flyway migration 버전 충돌도 없는 것 같습니다
6 tasks
18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
AI 분석 결과는 후보로만 저장되고, HR이 채택한 후보를 실제 Case와 Task로 연결하는 단계가 없었습니다. 또한 Intent와 Workflow ID가 섞이면 잘못된 업무 흐름이 생성될 수 있었습니다.
Closes #24
Closes #83
무엇이 바뀌나요?
POST /api/v1/ai-runs/{aiRunId}/candidate-decisions를 추가했습니다.ACCEPT또는DISCARD할 수 있습니다.EXPIRY_RENEWAL후보는 Workflow Catalog의WF-STY-001을 기준으로 Case 1개와 순서가 보존된 Task 3개를 생성합니다.Idempotency-Key와expectedVersion으로 중복 처리와 동시 수정을 차단합니다.EXPIRY_RENEWAL, Workflow ID는WF-STY-001로 구분합니다.사용자·개발 영향
V22, PostgreSQL 전용V23을 추가합니다.검증
./gradlew clean test성공PLAN → DB 보충 → ANALYZE왕복 성공리뷰 시 확인할 부분
V22·V23번호가 병합 시점에도 비어 있는지