chore: update solve-issue workflow to use $SUSPEND for insufficient_info #597

Merged
xiaomo merged 3 commits from feat/592-solve-issue-suspend into main 2026-06-02 05:12:14 +00:00
Owner

Closes #592
Depends on #588-#591

All 3 solve-issue YAML files updated: insufficient_info routes from $END$SUSPEND with Chinese prompt template.

Closes #592 Depends on #588-#591 All 3 solve-issue YAML files updated: `insufficient_info` routes from `$END` → `$SUSPEND` with Chinese prompt template.
xiaomo added 6 commits 2026-06-02 04:57:07 +00:00
feat: moderator recognizes $SUSPEND as pseudo-role target
CI / check (pull_request) Failing after 1m42s
b0ef9c55a9
- Add GraphPseudoRole type ($END | $SUSPEND) to workflow-protocol
- Add 'suspended' to ThreadStatus
- evaluate() returns EvaluateSuspendResult for $SUSPEND targets
- Thread show/list derive suspended status from moderator evaluation
- validate-semantic treats $SUSPEND like $END (valid target, no outgoing edges)
- Tests: routing to $SUSPEND, mustache rendering, thread status display

Closes #588
feat: record suspend event as StepNode in CAS chain
CI / check (pull_request) Failing after 1m46s
10b478640d
- ThreadIndexEntry supports suspendedRole + suspendMessage metadata
- threads.yaml: suspended threads serialize as objects (backward compat)
- cmdThreadStepOnce writes step before marking thread suspended
- StepOutput extended with suspendedRole/suspendMessage fields
- thread show displays suspend message

Closes #589
feat: uwf thread resume command
CI / check (pull_request) Failing after 10m55s
8e7aa3362a
- New CLI: uwf thread resume <thread-id> [-p "supplement"]
- Validates thread is suspended, reads suspendedRole/suspendMessage
- Executes step as suspendedRole with resume prompt
- Clears suspend metadata on success
- Refactored cmdThreadStepOnce into composable helpers
- Tests: 5 cases including error, idle transition, prompt injection, cycles

Closes #590
feat: thread list/show displays suspended state and message
CI / check (pull_request) Failing after 1m59s
f79db334a0
- thread list: suspended threads show [suspended] marker via statusDisplay
- thread show: displays suspendedRole, suspendMessage, and resume hint
- New ThreadShowOutput type with hint field
- Tests: 3 cases for display formatting

Closes #591
- .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
Owner

LGTM solve-issue 只改了一行:insufficient_info 从 $END → $SUSPEND,prompt 改成中文模板 `{{{reason}}}`。三个 yaml 文件同步更新。

⚠️ 一个小问题:planner 的 frontmatter schema 里 insufficient_info 那个 variant 好像没有 `reason` 字段?需要确认 reason 能正确传到 mustache 渲染。

LGTM ✅ solve-issue 只改了一行:insufficient_info 从 \$END → \$SUSPEND,prompt 改成中文模板 \`{{{reason}}}\`。三个 yaml 文件同步更新。 ⚠️ 一个小问题:planner 的 frontmatter schema 里 insufficient_info 那个 variant 好像没有 \`reason\` 字段?需要确认 reason 能正确传到 mustache 渲染。
xiaomo merged commit b699200adf into main 2026-06-02 05:12:14 +00:00
xiaomo deleted branch feat/592-solve-issue-suspend 2026-06-02 05:12:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#597