Skip to content

docs(run-gate): require gate worktree teardown - #224

Merged
alanvardy merged 1 commit into
mainfrom
chore/run-gate-teardown
Sep 24, 2026
Merged

alanvardy merged 1 commit into
mainfrom
chore/run-gate-teardown

Conversation

@alanvardy

Copy link
Copy Markdown
Owner

Gate worktrees are created per run by the `run-gate` skill (`worktree: true`) but never reclaimed — pi-subagents' `worktree.cleanup` action is plan-only, and auto-removal only runs on a child's clean-capture finalize. 18 leftover lanes had reached 22 GB.

  • Adds a required Teardown step to the `run-gate` skill.
  • Points at the new machine-level `pi-worktree-cleanup` skill / `pi_worktree_clean` fish helper (dotfiles) for the guards.

Docs only; no source or test changes.

@alanvardy
alanvardy force-pushed the chore/run-gate-teardown branch from 44d61f0 to 5379007 Compare September 24, 2026 15:32
@alanvardy
alanvardy force-pushed the chore/run-gate-teardown branch from 5379007 to 71541c9 Compare September 24, 2026 15:32
@alanvardy alanvardy added land Ready to land and removed human labels Sep 24, 2026
Gate worktrees are never reclaimed automatically (pi-subagents'
worktree.cleanup is plan-only), so they accumulated to 22 GB across 18
lanes. Add the teardown step to the skill and point at the
pi-worktree-cleanup helper.
@alanvardy
alanvardy force-pushed the chore/run-gate-teardown branch from 71541c9 to 68ea31f Compare September 24, 2026 15:37
@alanvardy
alanvardy merged commit da2d9d7 into main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

land Ready to land

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant