fix: remove all hardcoded MaxSteps — inherit from config budget

This commit is contained in:
sam committed 2026-07-23 16:15:01 +10:00
1 parent 3264102ee2
commit 0d6b26244e
3 files changed
-4

No files matched your search

-2
View File
@@ -29,7 +29,6 @@ func Feasibility() Workflow {
Name: "assess",
Role: "planner",
ReadOnly: true,
MaxSteps: 15,
CaptureTools: decideCaptureTools,
Mission: func(tc *TaskContext) string {
return fmt.Sprintf(
@@ -76,7 +75,6 @@ func Feasibility() Workflow {
Name: "prd",
Role: "planner",
ReadOnly: true,
MaxSteps: 20,
Mission: func(tc *TaskContext) string {
return fmt.Sprintf(
"Write a PRD for this accepted feature request on %s.\n\n"+
-1
View File
@@ -100,7 +100,6 @@ func Implement() Workflow {
Name: "plan",
Role: "planner",
ReadOnly: true,
MaxSteps: 30,
Mission: func(tc *TaskContext) string {
prd := ""
if tc.Task.Plan != "" {
-1
View File
@@ -27,7 +27,6 @@ func TDD() Workflow {
Name: "analyse",
Role: "planner",
ReadOnly: true,
MaxSteps: 15,
Mission: func(tc *TaskContext) string {
return fmt.Sprintf(
"Analyse this bug report for the repository %s and determine the problem surface.\n\n"+