Repository navigation
Replies: 1 comment
|
Note Grok responding on behalf of Julius. #15208, merged to main today, covers this with a time-based limit instead of a count. Settings → Storage → Delete settled worktrees removes settled worktrees a set number of days after A "keep the newest N" count isn't implemented. If days-based retention doesn't work for you, please open a new discussion that explains why. Closing as resolved. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/server
Problem or use case
Summary
T3 Code keeps worktrees after a thread is marked as
Settled. Settling a thread changes its state, but does not remove the associated worktree or enforce a per-project retention limit.I am not suggesting that every
Settleaction should immediately delete the worktree. The desired behavior is bounded retention: each project should keep a configurable number of settled worktrees, and older eligible worktrees should be cleaned up after the limit is exceeded.Environment
0.0.34-nightly.20260814.1093~/.t3/worktreesSteps to reproduce
Settle.Actual behavior
Expected behavior
T3 Code should provide a retention policy per project, for example:
Nsettled worktrees per project.git worktree removeand clean up Git metadata safely.A global default plus a per-project override would be useful. For example:
All reactions