From f67507bb32ce1a7607727f1a1e52e94c7728b25c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=A2=A8?= Date: Tue, 2 Jun 2026 04:56:59 +0000 Subject: [PATCH] chore: update solve-issue workflow to use $SUSPEND for insufficient_info - .workflows/solve-issue.yaml - examples/solve-issue.yaml - workflows/solve-issue.yaml All planner insufficient_info routes now use $SUSPEND instead of $END. Closes #592 --- .workflows/solve-issue.yaml | 2 +- examples/solve-issue.yaml | 2 +- workflows/solve-issue.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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}}}.'