PR 하나, 격리된 워크트리 하나
git worktree workspaces
PR 번호만 주면 refs/pull/N/head를 격리된 git worktree로 받아 프로젝트로 등록합니다. 단계별 진행 프레임, 진행 중 취소, gh 프리뷰 — 실패해도 메인 체크아웃은 청정합니다.
- validatePR → owner/repo 확인
- fetchrefs/pull/1842/head
- addgit worktree add
- registerkind:"worktree" 프로젝트 등록
../damon-agent-core-worktrees/pull-1842
여기서 세션 시작 → session.create {projectId}
취소 — 진행 중인 git 프로세스 그룹을 kill 했습니다