Skip to content

docs(agents): remove worktrees of closed pull requests and scratch worktrees - #100

Merged
Hebilicious merged 3 commits into
mainfrom
docs/worktree-cleanup
Nov 16, 2026
Merged

Hebilicious merged 3 commits into
mainfrom
docs/worktree-cleanup

Conversation

@Hebilicious

@Hebilicious Hebilicious commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Extends the worktree rule in AGENTS.md: when the pull request merges or closes without merging, the session removes its worktree and every other worktree it made for the task (a baseline, a comparison).

Stale worktrees of closed pull requests and scratch comparisons filled the disk on the development machine.

Branches are kept.

@changeset-bot

changeset-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a49d9e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Hebilicious
Hebilicious merged commit 93c0747 into main Nov 16, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant