1.3 KiB
1.3 KiB
BAT-037 Planning
- Status: confirmed
- Batch: BAT-037
- Profile: standard
Included REQ
- REQ-073 (CHG-20260612-01): 응답에
available_slots: int|null추가, AC-3 반전, AC-6 신규
Delivery Plan
messaging_handlers.py—make_slots_rpc_handler에서compute_slot_capacity호출 후available_slots를 응답에 포함tests/application/test_slots_handler.py— AC-3 키 집합 검사 갱신(available_slots 포함), AC-6 값 검증 케이스 추가
Dependencies
- Internal:
trex_core/domain/slot/service.py—SlotService.compute_slot_capacity(max_active_slots)이미 존재, 재활용make_slots_rpc_handler에max_active_slots: Optional[int]파라미터가 이미 있는지 확인 필요
- External: 없음
Design Gate
- Design Required Before Implementation: yes
- Reason: 응답 스키마 변경(인터페이스 계약) — AC-3 반전 근거와
available_slots계산 경로를 design 에서 명확히 한 뒤 구현한다.
Milestones
- Design confirmed — 계산 경로 확정
- Implementation — 핸들러 수정 + 테스트 갱신
- Verification — AC 전체 매핑 확인
Risks
make_slots_rpc_handler에max_active_slots가 전달되지 않는 경로가 있으면nullfallback 처리 필요 — design 에서 확인.