feat(ai): canonical Slot 조회 및 Agent 재호출 구현 - #78
Closed
hywznn wants to merge 3 commits into
Closed
Conversation
6 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.
왜 필요한가요?
Refs #74
Agent는 발화문만 보고 Server DB를 직접 조회할 수 없습니다. PLAN 응답으로 필요한 canonical Slot key를 요청하면, Server가 현재 사업장 범위와 Workflow 허용 목록을 확인한 뒤 값만 보충해 ANALYZE를 다시 호출해야 합니다.
이 PR은 #56의 PLAN/ANALYZE 계약을 선행 기반으로 사용합니다.
무엇이 바뀌나요?
worker_id,stay_expiry_date,contract_end_date고정 Resolver를 추가했습니다.companyId안에서 근로자를 조회해 다른 사업장 데이터 접근을 차단했습니다."발화문, INTENT_TAG"단일 instruction을 ANALYZE에도 그대로 보존합니다.requestId와 새attemptId로 재호출하고, Runtime 호출 전에 Attempt 기록 Port를 먼저 호출합니다.테스트
./gradlew clean test성공PLAN → CONTEXT_REQUIRED → ANALYZE재호출 순서·문맥 보존 테스트병합 전 확인
contextRequirement와 단일instruction계약 확인현재는 선행 계약 확인을 위한 Draft PR입니다.