| name | cmux-pause |
| description | 긴급 정지 + 재개. /cmux-pause로 전체 중지, /cmux-pause resume으로 재개. |
| user-invocable | true |
| classification | workflow |
| allowed-tools | Bash, Read |
/cmux-pause — 긴급 정지 + 재개
입력: $ARGUMENTS
오케스트레이션을 안전하게 일시 중지하거나 재개합니다.
라우팅
빈 입력 또는 pause → 일시 중지
touch /tmp/cmux-paused.flag
python3 -c "
import json
try:
with open('/tmp/cmux-surface-map.json') as f:
m = json.load(f)
depts = m.get('departments', {})
for ws, dept in depts.items():
lead = dept.get('team_lead', {}).get('surface', '')
if lead:
print(f'{ws}:{lead}')
except: pass
"
/tmp/cmux-paused.flag 존재 시 enforcement hook들이 systemMessage로 "[PAUSED]" 경고를 표시합니다.
새 부서 생성이나 작업 배정은 자제하되, 진행 중인 작업은 완료 가능합니다.
출력: "전체 일시 중지. /cmux-pause resume으로 재개."
resume → 재개
rm -f /tmp/cmux-paused.flag
출력: "오케스트레이션 재개."
status → 현재 상태 확인
if [ -f /tmp/cmux-paused.flag ]; then
echo "현재 상태: PAUSED (일시 중지)"
else
echo "현재 상태: ACTIVE (실행 중)"
fi