DOCS/journey/worklog/260310_calendar_skill_자동휴일감지_행동제어_구현및검증.md
2026-03-10 23:19:35 +09:00

1.6 KiB

tags
tags
calendar
scheduler
holiday
blackout
worklog

Calendar Skill 자동휴일감지 행동제어 구현 및 검증

관련 문서

완료 요약

  • rb8001scheduled_jobs.schedule_policy 저장/조회와 workday 실행 가드를 추가했습니다.
  • skill-calendarGET /api/workday/check와 대한민국 공휴일/블랙아웃 판정 로직을 추가했습니다.
  • robeing-monitorschedule_type, schedule_days, blackout_ranges 저장/조회 경로를 추가했습니다.

검증 결과

  • rb8001: pytest -q tests/test_scheduler_repository.py tests/test_scheduler_endpoint_e2e.py tests/test_db_loader.py -> 14 passed
  • skill-calendar: pytest -q tests/test_workday_check.py -> 4 passed
  • robeing-monitor: pytest -q tests/test_preferences_schedule_policy.py -> 3 passed
  • 런타임 확인:
    • http://127.0.0.1:8512/api/workday/check?date=2026-02-17... -> reason=holiday
    • http://127.0.0.1:8512/api/workday/check?date=2026-03-04...blackout_ranges=... -> reason=blackout
    • POST/GET/DELETE http://127.0.0.1:8001/api/scheduler/jobsschedule_policy 저장/조회 확인
    • PUT/GET http://127.0.0.1:9024/api/preferences/{user_id}blackout_ranges 저장/조회 및 빈 배열 갱신 확인