fix(agent): 근로자 안내 실패를 HR 검토로 안전하게 전환 - #44
Draft
hywznn wants to merge 1 commit into
Draft
Conversation
9 tasks
Contributor
Author
|
Server 현재 Server는 아래 이유로 이 PR의 fail-closed 응답을 거부합니다.
Server 후속 이슈를 별도로 만들었으며, 해당 계약 반영 전까지 이 PR은 Draft를 유지합니다. AI 코드·단위/API 테스트는 완료됐지만 현재 배포 Server와의 실통신은 아직 통과 조건이 아닙니다. |
27 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.
Closes #42
왜 필요한가요?
2026-08-13 E2E QA에서 Language Assistant가 미구성되거나 대상 언어 생성에 실패해도 Renewal Graph가 한국어·영어 placeholder를 근로자 발송문으로 확정하는 문제가 확인됐습니다.
이 경로는
alien_registration_number,both_missing같은 내부 Slot·검증 키까지 노출할 수 있었습니다. 원인은LanguageGuideBridge실패를 placeholder로 숨긴 뒤mark_ask_worker()가 발송 가능한 문장을 새로 만드는 fail-open 동작이었습니다.무엇이 바뀌나요?
outcome=REVIEW_REQUIREDstatus=READY_FOR_REVIEWworkerRequestMessage=nullcaseSignals=["REVIEW_WORKER_GUIDE"]guideReviewRequiredguideFailureCodeWAITING_WORKER로 사용응답 예시
{ "status": "READY_FOR_REVIEW", "outcome": "REVIEW_REQUIRED", "scenario": "ask_worker", "workerRequestMessage": null, "guideReviewRequired": true, "guideFailureCode": "LANGUAGE_ASSISTANT_NOT_CONFIGURED", "caseSignals": ["REVIEW_WORKER_GUIDE"] }OCR 재개 계약 테스트
같은
taskId를 사용해 아래 흐름을 API 테스트로 고정했습니다.이 테스트는 AI가 Server 이벤트를 소비한다는 뜻이 아닙니다. WorkerDocument 채택·OCR 실행/승인·동일 Task 재호출·생성 파일 영속화는 Server #160 범위입니다.
검증
628 passed, 6 failed, 1 skipped617 passed, 1 skippedgit diff --check: 통과병합 전 확인
REVIEW_WORKER_GUIDE를 자동 발송하지 않고 HR 검토로 처리guideReviewRequired,guideFailureCode를 허용포맷 주의
현재 Renewal 등록 문서 4종은 실제 구현대로
format=hwp입니다. HWPX가 데모 완료 조건이면 Server 변환 또는 AI generator 변경을 별도로 결정해야 합니다. 이 PR은 HWPX 완료를 주장하지 않습니다.Refs fowoco/server#160
Refs fowoco/knowledge#51