Repository navigation
skills: self-cleanup -- a session removes its own merged lane worktrees, review checkouts and caches, every tick (Closes #10804) - #10808
Merged
Conversation
…es, review checkouts and caches, every tick (Closes #10804) Owner directive 2026-10-19: clean up yourself, always. The night of 2026-10-18 filled the bench Mac's disk twice and the owner removed finished lane trees by hand twice. The skill says what is yours (from the session's own record, never a path pattern or tri worktrees' mine column), when (after a merge, end of every tick, before a lane when free disk < 8 GB), the rule for a lane tree (PR merged or closed, nothing but the untracked target link), how (the sandbox cannot delete .git/worktrees entries, so the removal runs in the Terminal tab and is verified), and what never to touch (git worktree prune, other sessions' trees and caches, the PDK and tool installs). The analog loop tick and the CLAUDE.md skills list name it. The judgement moves into .t27 in #10805. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 19, 2026 03:13
16 of 21 tasks
Contributor
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.
Closes #10804. Part of #10486.
Owner directive 2026-10-19: clean up yourself, always, and make it a skill. The night of 2026-10-18 filled the bench Mac's disk twice (finished lane worktrees are 300-650 MB each, plus a Zig cache per lane) and the owner removed them by hand twice.
What is in the PR
.claude/skills/self-cleanup/SKILL.md(new): what is yours (from the session's own record, never a path pattern or the mine/other column oftri worktrees, which also marks other sessions' trees), when (after a merge, at the end of every tick, before a lane when free disk is under 8 GB), the rule for removing a lane tree (PR merged or closed; nothing but the untrackedtargetlink or copies of master), how (the Bash sandbox cannot delete.git/worktreesentries, so the removal runs in the session's Terminal tab and is verified), the never-list (git worktree prune, other sessions' trees and caches, the PDK and tool installs,git stash), and a one-line report for the ledger..claude/skills/analog-emulation/SKILL.md: the loop tick's "Write state" step ends with/self-cleanup.CLAUDE.md: the skill in the "Available Skills" list.No code. The judgement moves into
.t27in #10805 (a REMOVABLE verdict intri worktrees, rules spec plus the smallest glue).Applied already, today
rev-m3bentry from the Terminal tab under the rule above; withdrawn UART captures (37 MB) and a smoke-test folder deleted. Free disk went from 3.9 GB to 11 GB.wt-b1,keen-austin-*,review-bottleneck-*, thespec/queen-*lanes) and the shared Zig caches.🤖 Generated with Claude Code