-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
featpriority:shouldShould Have - 중요하지만 필수는 아님Should Have - 중요하지만 필수는 아님sub-issue상위 이슈의 하위 작업상위 이슈의 하위 작업
Description
배경
병렬 이슈 작업 회고에서 발견된 문제:
- 워커 완료를 감지하는 확실한 방법이 없음
- 지휘자가 capture-pane 폴링에 의존 → 빈 결과 반환, 상태 오판 빈번
- cron 기반 1분 주기 체크 → 비효율적이고 부정확
요구사항
파일 기반 완료 시그널링
워커가 /ship 완료 후 결과를 파일에 기록:
.taskmaestro/wt-N/RESULT.json
{
"status": "completed" | "failed",
"issue": 732,
"pr_number": 749,
"pr_url": "https://...",
"timestamp": "ISO 8601",
"cost": "$0.14",
"error": null
}
지휘자 감지 방식
capture-pane 폴링 대신 파일 존재 여부 확인:
check_completion() {
local completed=0 total=${#WORKER_PANES[@]}
for PANE_IDX in "${WORKER_PANES[@]}"; do
if [ -f "$DIR/.taskmaestro/wt-$PANE_IDX/RESULT.json" ]; then
completed=$((completed + 1))
fi
done
echo "$completed/$total"
}워커 프롬프트에 시그널링 포함
워커 프롬프트 공통 접두사에 추가:
완료 시 결과를 .taskmaestro/wt-N/RESULT.json에 기록할 것.
Acceptance Criteria
- RESULT.json 스키마 정의
- 워커 프롬프트 템플릿에 시그널링 지시 포함
- 지휘자의 watch 모드가 파일 기반 감지 사용
- capture-pane은 fallback으로만 사용
- SKILL.md에 시그널링 섹션 추가
References
- taskMaestro 스킬:
.claude/skills/taskmaestro/SKILL.md - 관련: taskMaestro: add wave-transition automation and readiness detection #766 (wave-transition 자동화)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featpriority:shouldShould Have - 중요하지만 필수는 아님Should Have - 중요하지만 필수는 아님sub-issue상위 이슈의 하위 작업상위 이슈의 하위 작업