From cf32f253b7cc919d1b3d7cc8b74620ecb147d390 Mon Sep 17 00:00:00 2001 From: Eureka Date: Fri, 23 Oct 2026 12:22:08 +0200 Subject: [PATCH] Self removes a cut's worktrees in the turn it merges; never defer cleanup to a handoff C:\aeth-wt held 255 GB of merged-cut worktrees; C: fell to 1.4 GB free during an operator flight. Unreferenced heads are parked under keep/ tags. Co-Authored-By: Claude Opus 5.5 --- SKILL.md | 8 ++++++++ references/changelog.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/SKILL.md b/SKILL.md index 4007cb4..811187a 100644 --- a/SKILL.md +++ b/SKILL.md @@ -691,6 +691,14 @@ Scripts that know a project's layout stay in that project. that verifies and fixes mechanical adaptations only. - **Pin sibling checkouts with a guard that checks revision and cleanliness.** Scope the guard to projects that actually reference the sibling. +- **Self removes a cut's worktrees in the turn the cut merges or is abandoned,** + Unity copies and job and probe directories included. Before removing one, + park any head no ref contains under a local `keep/` tag. Never defer + cleanup to a handoff. On 2026-10-23 `C:\aeth-wt` held 255 GB of + merged-cut worktrees that a handoff had put off "until idle". C: fell to + 1.4 GB free during an operator flight, and a new checkout died mid-write. + Operator: "you really gotta start cleaning up after yourself". Check free + space before creating a worktree. ## Adapting the pipeline diff --git a/references/changelog.md b/references/changelog.md index 5e31838..1ee8596 100644 --- a/references/changelog.md +++ b/references/changelog.md @@ -2,6 +2,14 @@ Record each change to the skill together with the evidence that motivated it. +## 2026-10-23: worktrees die with their cut + +Self, session `self-2026-10-23-ag8`. + +Evidence. `C:\aeth-wt` held 255 GB, mostly 1.7-3.9 GB Unity worktrees from sessions ag3 to ag7. The ag7 handoff listed them as "worktrees to remove when idle". C: was at 1.4 GB free while the operator flew, and a new worktree checkout failed mid-write. A two-pass sweep removed about 140 worktrees and directories. Operator: "you really gotta start cleaning up after yourself". + +What changed. `SKILL.md` git and tooling rules: Self removes a cut's worktrees in the turn the cut merges or is abandoned, parks unreferenced heads under `keep/` tags first, and checks free space before creating a worktree. + ## 2026-10-14: nothing that exists is sacred, her words included Self, session `self-2026-10-14-ag`. -- 2.47.3