diff --git a/.workflows/solve-issue.yaml b/.workflows/solve-issue.yaml index bc1f910..2089f07 100644 --- a/.workflows/solve-issue.yaml +++ b/.workflows/solve-issue.yaml @@ -228,7 +228,7 @@ graph: $START: _: { role: "planner", prompt: "Analyze the issue and produce an implementation plan." } planner: - insufficient_info: { role: "$END", prompt: "Insufficient information to proceed; end the workflow." } + insufficient_info: { role: "$SUSPEND", prompt: "信息不足,需要补充:{{{reason}}}" } ready: { role: "developer", prompt: "Implement the TDD test spec (CAS hash: {{{plan}}}) in repo {{{repoPath}}}. Repo remote: {{{repoRemote}}}." } developer: done: { role: "reviewer", prompt: "Review branch {{{branch}}} at {{{worktree}}} for code standards compliance. Repo remote: {{{repoRemote}}}." } diff --git a/examples/solve-issue.yaml b/examples/solve-issue.yaml index 66b604b..6edbbce 100644 --- a/examples/solve-issue.yaml +++ b/examples/solve-issue.yaml @@ -216,7 +216,7 @@ graph: $START: _: { role: "planner", prompt: "Analyze the issue and produce an implementation plan." } planner: - insufficient_info: { role: "$END", prompt: "Insufficient information to proceed; end the workflow." } + insufficient_info: { role: "$SUSPEND", prompt: "信息不足,需要补充:{{{reason}}}" } ready: { role: "developer", prompt: "Implement the TDD test spec (CAS hash: {{{plan}}}) in repo {{{repoPath}}}." } continue: { role: "developer", prompt: "Continue work on existing branch {{{branch}}} at worktree {{{worktree}}}. Implement the revised TDD test spec (CAS hash: {{{plan}}}) in repo {{{repoPath}}}. Do NOT create a new branch or worktree — cd into the existing worktree and work there." } developer: diff --git a/workflows/solve-issue.yaml b/workflows/solve-issue.yaml index 6cee7f4..1b3b38c 100644 --- a/workflows/solve-issue.yaml +++ b/workflows/solve-issue.yaml @@ -285,8 +285,8 @@ graph: prompt: Analyze the issue and produce an implementation plan. planner: insufficient_info: - role: $END - prompt: Insufficient information to proceed; end the workflow. + role: $SUSPEND + prompt: "信息不足,需要补充:{{{reason}}}" ready: role: developer prompt: 'Implement the TDD test spec (CAS hash: {{{plan}}}) in repo {{{repoPath}}}. Repo remote: {{{repoRemote}}}.'