[AI 연동] canonical Slot 조회와 Agent 재호출 구현 - #81
Merged
Conversation
chaeliki
approved these changes
Aug 4, 2026
chaeliki
left a comment
Contributor
There was a problem hiding this comment.
확인했습니다. 슬롯 조회 부분이랑 반복 제한 부분 등 확인했습니다. Worker 바꿔치기 보안 부분도 죠습니다..
8 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.
연결
main기준으로 복구목표
Agent가
CONTEXT_REQUIRED로 요청한 canonical Slot을 현재 사업장 DB에서 안전하게 조회하고, 같은 분석을 ANALYZE 단계로 이어서 호출합니다.주요 변경
worker_id,stay_expiry_date,contract_end_date고정 Resolver 추가companyId범위에서만 Worker 조회requestId와 원래instruction유지attemptId를 Server 내부에 기록하는 Port 추가#56 최소 계약 보존
Runtime에는 다음 값만 전송합니다.
requestIdphaseanalysisInput.instructionanalysisInput.requestedFieldKeysanalysisInput.workers[].workerRefanalysisInput.workers[].requestedFieldsattemptId, version, deadline,extractedSlots,workflowConstraints는 Server 내부에서만 관리합니다.검증
PLAN → CONTEXT_REQUIRED → ANALYZE재호출 순서 테스트./gradlew clean test범위 밖