What problem does this solve?
The generated CLI skills document worktree archive and worktree delete, but do not warn agents that either operation can remove the current worktree from Supacode's active terminal set and close the calling surface. An agent can therefore archive or delete its own worktree before finishing checks, commits, integration, or reporting, leaving the task incomplete.
Proposed solution
Add a concise critical section to the generated CLI skill guidance telling agents to make archiving or deleting the current worktree their final operation. The guidance should require all edits, checks, commits, integration, and reporting to finish first, with no follow-up commands scheduled. It should also cover worktrees removed through Git once Supacode refreshes them.
Alternatives considered
None.
Supacode version
Current main.
Are you planning to build this yourself?
Before submitting
What problem does this solve?
The generated CLI skills document
worktree archiveandworktree delete, but do not warn agents that either operation can remove the current worktree from Supacode's active terminal set and close the calling surface. An agent can therefore archive or delete its own worktree before finishing checks, commits, integration, or reporting, leaving the task incomplete.Proposed solution
Add a concise critical section to the generated CLI skill guidance telling agents to make archiving or deleting the current worktree their final operation. The guidance should require all edits, checks, commits, integration, and reporting to finish first, with no follow-up commands scheduled. It should also cover worktrees removed through Git once Supacode refreshes them.
Alternatives considered
None.
Supacode version
Current
main.Are you planning to build this yourself?
ready.Before submitting
ready.