diff --git a/.workflows/solve-issue.yaml b/.workflows/solve-issue.yaml index 2089f07..3c23cec 100644 --- a/.workflows/solve-issue.yaml +++ b/.workflows/solve-issue.yaml @@ -40,7 +40,8 @@ roles: required: [$status, plan, repoPath, repoRemote] - properties: $status: { const: "insufficient_info" } - required: [$status] + reason: { type: string } + required: [$status, reason] developer: description: "TDD implementation per test spec" goal: "You are a developer agent. You implement code changes following TDD — write tests first, then implementation." diff --git a/examples/solve-issue.yaml b/examples/solve-issue.yaml index 6edbbce..f3ba8eb 100644 --- a/examples/solve-issue.yaml +++ b/examples/solve-issue.yaml @@ -64,7 +64,8 @@ roles: required: [$status, plan, repoPath, branch, worktree] - properties: $status: { const: "insufficient_info" } - required: [$status] + reason: { type: string } + required: [$status, reason] developer: description: "TDD implementation per test spec" goal: "You are a developer agent. You implement code changes following TDD — write tests first, then implementation." diff --git a/workflows/solve-issue.yaml b/workflows/solve-issue.yaml index 1b3b38c..08bb637 100644 --- a/workflows/solve-issue.yaml +++ b/workflows/solve-issue.yaml @@ -65,8 +65,11 @@ roles: - properties: $status: const: insufficient_info + reason: + type: string required: - $status + - reason developer: description: TDD implementation per test spec goal: You are a developer agent. You implement code changes following TDD — write tests first, then implementation.