You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
cratis-cleanup-worktrees.sh reclaims regenerable build output (bin, obj, node_modules, dist and similar ignored, untracked directories) from idle, unlocked worktrees that no live process holds, even when their work is not delivered; opt out with --no-reclaim or CRATIS_HOOKS_SKIP_RECLAIM=1
Reclaiming runs by default for manual runs and at SessionStart, and reports the megabytes freed; --dry-run reports what is reclaimable
Changed
A delivered worktree whose only ignored files are build output is now removed instead of being kept forever as "has ignored/untracked files"
Worktree guidance tells agents to run the cleanup before creating a worktree, to create one per deliverable task and to build only what changed