Skip to content

fix: skip worktree creation for read-only agents#8

Merged
hueyexe merged 3 commits intomainfrom
bugfix/skip-worktree-readonly-agents
May 5, 2026
Merged

fix: skip worktree creation for read-only agents#8
hueyexe merged 3 commits intomainfrom
bugfix/skip-worktree-readonly-agents

Conversation

@hueyexe
Copy link
Copy Markdown
Owner

@hueyexe hueyexe commented May 5, 2026

Summary

  • Read-only agents (explore, plan) no longer create worktrees on spawn. They can't write files so isolation is wasted overhead.
  • Added system prompt guidance so the lead knows worktree: false is available for custom read-only agents.
  • Added auto-assign workflow for issues.

Fixes #6

hueyexe added 2 commits May 5, 2026 15:41
Read-only agents cannot write files, so worktree isolation is
unnecessary overhead. The useWorktree decision now checks agent
type before creating a worktree. Closes #6.
@hueyexe hueyexe self-assigned this May 5, 2026
@hueyexe hueyexe added the bug Something isn't working label May 5, 2026
@hueyexe hueyexe merged commit 16c4a71 into main May 5, 2026
1 check passed
@hueyexe hueyexe deleted the bugfix/skip-worktree-readonly-agents branch May 5, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent always use worktree by default even if for non git and non writing tasks

1 participant