docs: skill-calendar Phase 5 완료 (approval 로직)

- 컨텍스트 기반 긍정 응답 감지 (그래/ㅇㅇ/네/예)
- _confirm → _approval 전환 (10분 시간 제약)
- calendar_handler.py 구현 (일정 파싱 + CalendarSkill 호출)
- TDD 테스트 10/10 통과
- 전체 플로우 완성 (Gmail 토큰만 남음)
This commit is contained in:
Claude-51124 2025-11-14 17:13:49 +09:00
parent c3b41626d2
commit beae8d30b3

View File

@ -286,10 +286,33 @@ Then:
2. decision_engine: calendar_event 의도 감지 (0.9)
3. LLM (calendar_confirm): 일정 정보 파싱 → "일정을 구글 캘린더에 등록해드릴까요?" 응답
**다음 단계**:
1. 사용자 "그래/ㅇㅇ" 응답 감지 로직
2. CalendarSkill.create_event() 호출
3. Gmail Passport 재연동 (calendar scope)
4. E2E 테스트
### Phase 5: approval 로직 및 CalendarSkill 호출 완료 (2025-11-14)
**컨텍스트 기반 approval**:
- ✅ analyze_intent()에 context 매개변수 추가
- ✅ 긍정 응답("그래/ㅇㅇ/네/예") 감지 로직
- ✅ _confirm/_request 접미사만 _approval로 전환
- ✅ 10분 시간 제약 적용
- ✅ TDD 테스트 10/10 통과
**calendar_handler.py**:
- ✅ LLM 응답에서 일정 정보 파싱 (날짜, 시간, 장소, 제목)
- ✅ CalendarSkill.create_event() 호출
- ✅ 성공 메시지 생성
- ✅ Git 푸시 완료 (커밋 b4495c3)
- ✅ rb8001 재배포 완료
**전체 플로우 완성**:
1. 사용자: "11월 24일 검진 07:40~12시..." 입력
2. calendar_event 감지 (0.9) → calendar_confirm
3. 로빙: "일정을 구글 캘린더에 등록해드릴까요?"
4. 사용자: "그래"
5. calendar_approval 감지 (0.95) → create_event
6. CalendarSkill → skill-calendar API → Google Calendar
7. 로빙: "✅ 구글 캘린더에 일정을 등록했습니다!"
**남은 작업**:
1. Gmail Passport calendar scope 재연동 (invalid_grant 해결)
2. E2E 실제 테스트