본문으로 건너뛰기
cccskills
무료GitHub에 공개

persisting-progress-across-sessions

Resume an interrupted orchestration run across Claude Code sessions using MANIFEST.yaml

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Persisting Progress Across Sessions

Use this skill when a session ends mid-orchestration (context compaction, manual restart, crash) and you need to resume without repeating completed work.

The Resume Protocol

Step 1 — Find the Incomplete MANIFEST

# List all in-progress features
ls .jonggrang/.output/features/

Look for a MANIFEST.yaml with status: running or status: paused. Read it:

cat .jonggrang/.output/features/{feature_id}/MANIFEST.yaml

Key fields to read:

  • current_phase — next phase to execute
  • active_phases — which phases this run is executing
  • phases — per-phase status (completed / failed / pending)
  • agents — which agents ran and their output paths
  • validation — review_passed, tests_passed, coverage_met

Step 2 — Reconstruct Context from Phase Outputs

Do NOT re-run completed phases. Read their outputs instead:

# Phase 7 output (architecture plan)
cat .jonggrang/.output/features/{feature_id}/07-lead-architecture-plan.json

# Phase 8 output (implementation)
cat .jonggrang/.output/features/{feature_id}/08-developer-{task_id}.json

# Any reviewer reports
cat .jonggrang/.output/features/{feature_id}/09-reviewer-report.json

Step 3 — Identify Resumption Point

current_phase in MANIFEST  →  start from this phase
phases[N].status == 'failed'  →  retry this phase
phases[N].status == 'completed'  →  skip, output already exists

Step 4 — Resume the Orchestration

Call orchestrating-feature with resume: true and the feature_id. Pass the reconstructed context as a summary — do NOT re-read all source code; trust the phase outputs.

Resuming feature: {feature_id}
Completed phases: 1, 2, 3, 4, 7, 8
Current phase: 9 (design-verification)
Architecture plan: [summary from 07-lead-architecture-plan.json]
Implementation: [summary from 08-developer.json]

Cross-Session State Guarantee

The MANIFEST survives session resets. The ephemeral state does NOT:

FileSurvives reset?Action on resume
MANIFEST.yaml✅ YesRead to get current phase
feedback-loop-state.json❌ NoAssume clean state, re-run review/test if dirty_bit lost
compaction-state.json❌ NoWill be refreshed on next Task spawn
session-roles.json❌ NoWill be re-populated on next session start

When Tests Were Running

If context compacted during phase 13 (testing), check validation.tests_passed in MANIFEST:

  • false → re-spawn tester
  • true → proceed to phase 14 (coverage)

Stale Lock Cleanup

On resume, clean up any stale lock files left by crashed agents:

const { cleanStaleLocks } = require('./lib/locks');
cleanStaleLocks(projectRoot);  // removes locks older than 30 minutes

Example Resume Flow

Session ended at phase 9.
MANIFEST shows: phases[8].status = 'completed', phases[9].status = 'running'

Resume steps:
1. Read 07-lead-architecture-plan.json → architecture context
2. Read 08-developer-*.json → what was implemented
3. Re-spawn reviewer for phase 9 with the implementation context
4. Continue from phase 9 forward

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

anoa

무료

Drive a real browser from the command line — open pages, snapshot the interactive elements as refs, click and fill by ref, read text, run JS, screenshot. Use when a task needs a live browser: checking a page renders, walking a login or checkout flow, scraping something that only exists after JavaScript runs, or reproducing a UI bug.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

porcupine-md/jonggrang162026년 9월 15일 업데이트

Run linters/typecheckers to calculate health score.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

porcupine-md/jonggrang162026년 9월 15일 업데이트

Comprehensive UI/UX compliance check (A11y, performance, responsive).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

porcupine-md/jonggrang162026년 9월 15일 업데이트

Infrastructure-first security audit (OWASP, secrets, dependencies).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

porcupine-md/jonggrang162026년 9월 15일 업데이트

auth

무료

Setup authentication flow (register, login, session/JWT, middleware)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

porcupine-md/jonggrang162026년 9월 15일 업데이트

Deep knowledge about deploying applications to AWS (EC2, ECS, S3, CloudFront, Cloud Run).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

porcupine-md/jonggrang162026년 9월 15일 업데이트

porcupine-md의 스킬 모두 보기

이 스킬의 문제 신고