Repository navigation
Adds opt-in cleanup of delivered task and merge-candidate worktrees.
- Configure
cleanup.after_mergeor override it withYYLO_WORKTREE_CLEANUP_AFTER_MERGE=true|false. - Preview retained worktrees with
yy merge cleanup TASK_ID --dry-run; remove eligible worktrees with--apply. - Preserve dirty work, unknown ignored files, active ownership, initialized submodules, branches, and delivery evidence.
- Report cleanup separately from successful Git and Ledger integration.
- Require skills
^2.1.2with matching lifecycle guidance.
Validation: 2,304 tests passed in the broad regression run; its three failures were fixed or rerun successfully in a 94-test focused run. Also passed real-Git cleanup tests, typechecking, managed-asset checks, skill contracts, and packed controller/skills acceptance.
Cleanup is disabled by default. Existing worktrees are preserved until an owner opts in or explicitly applies cleanup.