Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions internal/cli/done.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"os/exec"
"path/filepath"
"runtime"
"sort"
"strings"

"github.com/spf13/cobra"
Expand Down Expand Up @@ -361,6 +362,7 @@ func buildPRTitle(tasks []state.Task) string {
parts = append(parts, fmt.Sprintf("%d %s tasks", count, cat))
}
}
sort.Strings(parts)

if len(parts) > 0 {
return "Implement " + strings.Join(parts, ", ")
Expand Down
2 changes: 1 addition & 1 deletion internal/loop/loop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ func TestBuildClaudeArgs(t *testing.T) {
assert.Contains(t, bashCmd, "--dangerously-skip-permissions")
assert.Contains(t, bashCmd, "--verbose") // required when using -p with --output-format stream-json
assert.Contains(t, bashCmd, "--output-format stream-json")
assert.Contains(t, bashCmd, "--max-turns 100")
assert.Contains(t, bashCmd, "--max-turns 200")

// Check budget flag from config.Limits (since ClaudeConfig.MaxBudget is 0)
assert.Contains(t, bashCmd, "--max-budget-usd 15.50")
Expand Down