
    ij                        d Z ddlmZ ddlZddlmZ  ee      j                         j                  Z	 e
e	      ej                  vr"ej                  j                  d e
e	             ddlmZ edk(  r e        yy)u  dispatch.py — 호환 shim (task-2388 Phase ε).

dispatch.py 4336줄이 dispatch/ 패키지 6 모듈로 분리되었다.
이 파일은 외부 호출자 호환을 위한 얇은 shim:
- `python3 dispatch.py --team ... --task-file ...` 스크립트 실행 진입점
- `import dispatch`는 패키지(dispatch/__init__.py)를 우선 로드하므로 영향 없음

분리 모듈:
- dispatch/_state.py: 상수 + optional imports + logger
- dispatch/task_id.py: task-2380 4-layer fix
- dispatch/retry.py: task-2387 status 가드
- dispatch/prompt.py: task-2386 슬림 prompt
- dispatch/audit.py: bot_pool + allowed_resources + capability + affected_files + warnings + team
- dispatch/core.py: dispatch + cancel + main + composite + PRD
    )annotationsN)Path)main__main__)__doc__
__future__r   syspathlibr   __file__resolveparent
_REPO_ROOTstrpathinsertdispatch.corer   __name__     ;/home/jay/workspace/.worktrees/task-2487+1-dev2/dispatch.py<module>r      sj     # 
  (^##%,,
z?#(("HHOOAs:' zF r   