Repository navigation
Replies: 1 comment
|
Note 🤖 GPT-6.1 Terra [1m] responding on behalf of Theo A project action can now run in the retained worktree on manual or automatic settlement. Its terminal closes on success and stays open on failure, covering the requested cleanup workflow. #16290 thread-sidebar.md |
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.
Request
I'd like to configure custom actions that run automatically when a task/thread is settled in T3 Code.
My current workflow
This last step is especially relevant for Rust projects, where build artifacts can take up several gigabytes per worktree. With multiple tasks, those leftovers quickly consume a lot of disk space.
Proposed behavior
Add an “on task settled” trigger for configurable custom actions. I could assign my existing cleanup action to that trigger and have it run automatically after the task is successfully settled, including when T3 Code settles it automatically, instead of remembering to press a shortcut every time.
Ideally, users could:
For my use case, this could run
cargo cleanfor a Rust project or the appropriate cleanup command for another build system. I want to keep builds available while working and testing, then clean up once the task is settled. Cleaning build artifacts should also be possible while retaining the worktree and conversation.The trigger should represent the task/thread becoming settled, rather than an individual agent turn finishing. A configurable trigger would also support other post-task workflows beyond cleanup.
Related discussions
I searched existing issues and discussions and found related proposals, but none specifically covering assigning ordinary custom project actions to a task-settled trigger:
The smallest useful version would be a per-project option on a custom action to run when a task is settled, using the task's worktree as its working directory and exposing the execution result.
All reactions