@cloudkinetix/bmad-enhanced
Version:
Cloud-Kinetix enhanced fork of BMAD-METHOD - Breakthrough Method of Agile AI-driven Development with robust versioning and unified validation.
50 lines (32 loc) • 1.02 kB
Markdown
# Worktree Cleanup Task
## Purpose
Clean up git worktrees and associated resources after parallel development work is completed.
## Task Instructions
### 1. Identify Active Worktrees
[[LLM: List all worktrees and their status]]
Check worktree status:
- List active worktrees: `git worktree list`
- Identify completed work
- Check for uncommitted changes
- Verify merge status
### 2. Safe Cleanup Process
For each worktree:
1. Switch to main repository
2. Verify work is merged
3. Remove worktree: `git worktree remove <path>`
4. Clean up local branches if appropriate
5. Update documentation
### 3. Verify Cleanup
Final verification:
- Confirm all worktrees removed
- Check disk space recovered
- Verify no dangling references
- Update project status
## Success Criteria
- All completed worktrees removed
- No data loss
- Clean git repository state
- Documentation updated
## Notes
This is a stub task created for workflow compatibility.
Full implementation should include comprehensive cleanup procedures.