Repository navigation
BOB-193: reap --worktrees treats scratch folders as clean; hourly launchd timer - #42
Merged
Merged
Conversation
…ist for an hourly timer reaper.worktree_scratch_paths (required; init: coverage/, tmp/, log/) lists folders whose changes do not keep a done ticket's worktree. Real diffs keep it and are listed in a short 'Done tickets kept for real changes' section. --print-plist prints a launchd job running reap --worktrees --apply every worktree_timer.interval_minutes (required; init: 60). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CYbcv4uMBkZT8H2W7Z9vzk
… must exist) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CYbcv4uMBkZT8H2W7Z9vzk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disk hit 27 GB free with 235 worktrees; reap kept 15 done-ticket worktrees whose only changes were rspec coverage/ and tmp/**/.keep deletions.
reaper.worktree_scratch_paths(init: coverage/, tmp/, log/): changes confined to those folders no longer keep a done ticket's worktree. A move counts both paths; any real change still keeps it and the row names the files.[]keeps the old rule.Done tickets kept for real changes: N(one row per worktree) for the Conductor to relay, and starts with a timestamp line for the timer log.reap --worktrees --print-plistprints a launchd job runningreap --worktrees --applyeveryworktree_timer.interval_minutes(init: 60), logging toworktree_timer.log_file. Node comes from PATH (survives brew upgrade); missing git/claude/sysctl/node or log folder is an error. Printing changes nothing.🤖 Generated with Claude Code
https://claude.ai/code/session_01CYbcv4uMBkZT8H2W7Z9vzk