feat: Knowledge 0.3 Workflow·Slot 계약 반영 - #190
Merged
Merged
Conversation
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 #188
AI PR fowoco/ai#52가 Knowledge
0.3.0계약을 사용하기 시작했지만, Server의 Workflow Projection과 Runtime Fixture는0.2.0에 머물러 있었습니다. 이 상태에서는 AI 응답이 정상이어도 Server가 버전 불일치로 거부할 수 있습니다.또한 실제 Server ↔ AI 왕복 검증에서 Knowledge의
due_at이2026-08-31T18:00:00+09:00처럼 시간대가 포함된 ISO 8601 일시로 반환되자, 날짜만 허용하던 Server가 Candidate 채택을 422로 거부하는 문제를 확인했습니다.무엇이 바뀌나요?
0.3.0으로 갱신했습니다.WF-STY-001의 필수 Slot을worker_id,due_at으로 검증합니다.stay_expiry_date,passport_status,arc_status는 선택 Context로 유지합니다.WF-INS-001의 과거 Slotquantity,quantity_unit을 Projection에서 제거했습니다.due_at의 ISO 8601 일시와 기존YYYY-MM-DD형식을 모두 Taskdue_date로 안전하게 변환합니다.WorkflowCatalogProjectionTest를 추가했습니다.실제 왕복 검증
병합된 AI #52와 로컬 Server를 연결해 아래 흐름을 확인했습니다.
PLAN → NEEDS_INFO(due_at) → 답변 제출 → ANALYZE → REVIEW_REQUIRED → Candidate 채택 → Case·Task 생성EXPIRY_RENEWALWF-STY-0010.3.0due_at=2026-08-31T18:00:00+09:00due_date=2026-08-31생성된 Task는
RECONTRACT,STAY_PERIOD_EXTENSION,EMPLOYMENT_PERIOD_EXTENSION,DOCUMENT_REQUEST입니다.테스트
./gradlew testgit diff --check충돌 영향
참고
이번 실제 AI 왕복은 계약과 오케스트레이션 검증을 위한 고정 Intent fallback 환경에서 수행했습니다. 실모델 성능 검증은 별도 Staging E2E 범위입니다.