fix: 데모 Agent 요청에 원본 업무데이터 전달 - #63
Merged
Merged
Conversation
실명·생년월일·이메일·주소·서명 등 구조화된 PII key와 이메일 값을 AI 경계에서 거부합니다. 마스킹 문자열을 전송하지 않고 Agent는 누락 field key만 반환하도록 계약 문서를 명확히 합니다.
마스킹 입력 계약을 원문 입력 계약으로 변경하고 Agent가 요청한 실제 field 값을 Worker context에 포함할 수 있게 합니다. 가상 데이터 데모에서는 PII 차단을 제거하되 API Key, JWT, Bearer Token, 비밀번호 같은 서비스 인증정보 차단은 유지합니다.
8 tasks
Contributor
Author
|
AiRuntimeBoundaryPolicy 구조는 유지되어 있습니다 |
krestar
approved these changes
Jul 28, 2026
krestar
left a comment
Contributor
There was a problem hiding this comment.
넵 데모라서 마스킹 푸는 방향은 AI팀 작동 확인 보장을 위해 필요할 것 같습니다
근데 Agent팀이 analysisInput.workers[].requestedFields 계약을 그대로 받을 수 있는지는 ai레포 보고 와도 AI팀 코드 구조를 잘 모르겠어서 확인이 다소 어렵네요
리뷰 포인트 2번의 경우에도 어디 주도로(기준으로) 할지 협의가 필요해 보이네요
hywznn
marked this pull request as ready for review
July 28, 2026 04:52
Member
|
LGTM |
Contributor
Author
|
@BcKmini LGTM 오랜만이군요 |
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 #61
왜 필요한가요?
마스킹된
***,OOO값은 원본을 복원할 수 없어 Agent가 HWP/HWPX 문서를 생성할 수 없습니다.현재 목표는 가상 데이터 기반 문서 자동화 데모이므로 PII 마스킹·차단을 빼고 HR 원문과 Agent가 요구한 실제 field 값을 그대로 전달하도록 합니다.
무엇이 바뀌나요?
maskedInput을analysisInput으로,maskedInstruction을instruction으로 변경했습니다.WorkerContext에 표시 이름·국적·언어·근무상태·체류기간·계약기간을 포함합니다.requestedFieldsmap으로 전달할 수 있습니다.extractedSlots에도 원본값을 사용할 수 있습니다.전제와 영향
fowoco/ai는 후속으로analysisInput과requestedFields를 받아 template의values에 매핑해야 합니다.검증
./gradlew test --tests 'com.fowoco.server.aiintegration.*'— 성공리뷰 포인트
analysisInput.workers[].requestedFields계약을 그대로 받을 수 있는지requestedFields의 key를 Knowledge/Agent template field와 어떻게 맞출지=> 하단부 참고
추후 고려사항