| name | initiative-resume |
| description | 핸드오프 문서를 로드하여 이전 세션의 initiative 맥락을 복원하고 작업을 재개. Use when the user says "이어서 하자", "resume", "지난번 작업 계속", or continuing a previous initiative.
|
| spec-version | 2 |
| context | main |
| allowed-tools | ["Read","Edit","Glob","Grep","Bash"] |
| argument-hint | [slug] |
Initiative Resume
session-bootstrap이 전체 현황을 훑는 발견(breadth)이라면, 이 스킬은 특정 initiative에 깊이 들어가는 복원(depth).
WHY
세션 시작 시 이전 작업을 이어가려면 맥락 복원이 필요하다. 핸드오프 문서(workspace/inbox/prompts/{slug}.md)와 index.yml을 함께 로드하여 "지금 어디고, 다음에 뭘 할지"를 즉시 파악한다.
복원 후 핸드오프 문서는 삭제한다 — 소비된 일회성 브리지이며, 항구적 상태는 index.yml이 담당한다.
Input
Optional
$ARGUMENTS: initiative slug. 미지정 시 목록에서 선택
Output
- 맥락 복원 완료 + "다음 할 일" 요약 출력
workspace/inbox/prompts/{slug}.md 삭제
STEPS
Step 1: Initiative 선택
slug가 주어진 경우:
workspace/inbox/prompts/{slug}.md 존재 확인 → 있으면 로드
- 없으면
workspace/initiatives/active/{slug}/index.yml 직접 로드 (핸드오프 없이 복원)
slug가 없는 경우:
workspace/inbox/prompts/ 스캔 → 수정일 최신순
- 사용자에게 목록 제시 (최대 5건):
최근 핸드오프:
1. {slug-a} — {stage}, 다음: {next_action}
2. {slug-b} — {stage}, 다음: {next_action}
어느 initiative를 이어가시겠습니까?
Step 2: 맥락 로드
순서:
index.yml 읽기 → stage, subtopics, decisions, relations
- 핸드오프 문서 읽기 (있으면) → 다음 할 일, 미결정, 참조 파일
- 참조 파일 중 핵심 1~2개 경로 존재 확인
Step 3: 핸드오프 문서 정리
workspace/inbox/prompts/{slug}.md 삭제
- 핸드오프 없이 index.yml만으로 복원한 경우 생략
Step 4: 맥락 요약 + 시작
사용자에게 출력:
**{title}** — {stage}
완료: ST-01, ST-02
진행: ST-03 ({st_title})
다음 액션: {specific_first_action}
{미결정 사항이 있으면 1~2줄}
작업 시작.
JUDGMENT
| 조건 | 행동 |
|---|
| slug 지정 + active initiative | 바로 로드 |
| slug 미지정 + handoff 1개 | 자동 선택 + 확인 1줄 |
| slug 미지정 + handoff 여러 개 | 목록 제시 → 선택 |
| slug 미지정 + handoff 0개 | active initiatives의 in_progress ST 기반 목록 |
| archived initiative | 완료 안내 후 종료 |
FLOW
nodes:
- id: select
type: human
summary: "Initiative 선택 — slug 해석 또는 목록 제시"
- id: load-context
type: auto
summary: "index.yml + handoff 문서 로드 → 맥락 복원"
- id: cleanup-handoff
type: auto
summary: "handoff 문서 삭제 (존재 시)"
side_effects:
- writes: workspace/inbox/prompts/{slug}.md (삭제)
- id: present-summary
type: auto
summary: "맥락 요약 출력 + 작업 시작"
edges:
- from: select → to: load-context
- from: load-context → to: cleanup-handoff
- from: cleanup-handoff → to: present-summary
KNOWLEDGE REFS
| 참조 | 역할 | 로드 시점 |
|---|
해당 initiative index.yml | 상태 복원 | Step 2 |
workspace/inbox/prompts/{slug}.md | 운영 맥락 복원 | Step 2 |
workspace/squads/initiative/policies/stage-transition-rules.md | stage 의미 이해 | Step 2 |