AGENT SKILL
mission-scheduler
Use this skill when defining or implementing MissionScheduler for runtime lifecycle and daily/period binding rebuild.
- License 许可
- MIT
- 最近更新
- 2026-04-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- mission-scheduler
- description
- Use this skill when defining or implementing MissionScheduler for runtime lifecycle and daily/period binding rebuild.
02 资源文件 1
- 参考文档agents/openai.yaml147 B
03 SKILL.md 正文
15-mission-scheduler
Status: ACTIVE
AppliesTo: v10
Type: Design / Scheduler SSOT
Purpose
MissionScheduler는 runtime lifetime 전담 collaborator다.
- create/restore/rebind/prune/lookup
missionUid발급- table row resolve 후 bind 인자 구성
Hard Rules
- MissionManager 내부 객체로만 사용한다.
- reward/claim/save orchestration은 하지 않는다.
- runtime 생성/복구는
MissionRuntimeFactory를 통해서만 수행한다. condition_msg_idresolve 실패 row는 runtime 생성 금지.
Lifecycle Rules
Daily (MISSION_DAILY)
- active row에서 최대 5개 선택(fixed 우선 + random)
- 선택 row만 create/restore
condition_msg_id -> GAME_MESSAGEresolve 후 bind 인자 전달- daily cycle 전환 시 기존 daily set 정리 후 재생성
Weekly (MISSION_WEEKLY)
- 초기화/리셋 시 active row 전부 create/restore
- 기본 상태는 WAIT
MISSION_WEEKLY.day를 activation group key로 사용한다.- 활성화 규칙:
day == 1: 즉시 ACTIVEday == n:(n - 1)일 경과 후 ACTIVE
- weekly cycle은 10일 단위
- cycle 전환 시 기존 weekly runtime 전량 정리 후 WAIT 재생성
UID Rule
nextMissionUid기반 증가형 발급- 충돌 UID는 건너뛴다
Notes
- legacy progress seed 브릿지는 사용하지 않는다.
- progress 정본은 runtime local state다.