Reusable script to fully unregister chat room(s) and purge all managed data while keeping ONLY the chats channel row and messages history. Removes room registration, paired tasks/turns/attempts/outputs/reservations/leases/ projects/handoffs, work items, scheduled tasks, sessions, router cursor, and the on-disk group/workspace/session/ipc folders (git worktrees removed cleanly). Supports --dry-run, refuses main rooms without --force, and skips disk deletion for group folders still shared by another room. Backs the "채팅 등록 해제" standing workflow (unregister + purge + restart). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
8.2 KiB
8.2 KiB