From 050fc8eee4d88a95410ee90f591a3ca6362012a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Fri, 5 Jun 2026 09:57:24 +0000 Subject: [PATCH] chore: update workflow $START from _ to new/resume MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Align with united-workforce#101 — $START now requires explicit 'new' and 'resume' status keys instead of magic '_'. Refs shazhou/united-workforce#101 --- .workflows/e2e-check.yaml | 3 ++- .workflows/retrospect-workflow.yaml | 3 ++- .workflows/solve-issue.yaml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.workflows/e2e-check.yaml b/.workflows/e2e-check.yaml index 9a9d734..e59112f 100644 --- a/.workflows/e2e-check.yaml +++ b/.workflows/e2e-check.yaml @@ -398,7 +398,8 @@ roles: graph: $START: - _: { role: "preparer", prompt: "Set up Docker environment for E2E testing. Repo at {{{repoPath}}}." } + new: { role: "preparer", prompt: "Set up Docker environment for E2E testing. Repo at {{{repoPath}}}." } + resume: { role: "preparer", prompt: "Review previous E2E run and continue testing. Repo at {{{repoPath}}}." } preparer: ready: { role: "tester", prompt: "Environment ready. Container: {{{containerName}}}, store: {{{storePath}}}. Run all test scenarios." } setup_failed: { role: "reporter", prompt: "Setup failures found. File these as bugs: {{{failures}}}" } diff --git a/.workflows/retrospect-workflow.yaml b/.workflows/retrospect-workflow.yaml index 3d9f23a..820153f 100644 --- a/.workflows/retrospect-workflow.yaml +++ b/.workflows/retrospect-workflow.yaml @@ -212,7 +212,8 @@ roles: required: [$status, error] graph: $START: - _: { role: "analyst", prompt: "Analyze completed thread {{{threadId}}} for execution anomalies." } + new: { role: "analyst", prompt: "Analyze completed thread {{{threadId}}} for execution anomalies." } + resume: { role: "analyst", prompt: "Review previous analysis of thread {{{threadId}}} and continue." } analyst: clean: { role: "$END", prompt: "No issues found. Thread executed cleanly." } findings: { role: "proposer", prompt: "Findings report: {{{report}}}. Target workflow: {{{targetWorkflow}}}. Propose minimal edits." } diff --git a/.workflows/solve-issue.yaml b/.workflows/solve-issue.yaml index 2b1720c..347beb1 100644 --- a/.workflows/solve-issue.yaml +++ b/.workflows/solve-issue.yaml @@ -190,7 +190,8 @@ roles: required: [$status, error] graph: $START: - _: { role: "planner", prompt: "Analyze the issue and produce an implementation plan." } + new: { role: "planner", prompt: "Analyze the issue and produce an implementation plan." } + resume: { role: "planner", prompt: "Review the previous run output and continue the work." } planner: insufficient_info: { role: "$END", prompt: "Insufficient information to proceed; end the workflow." } ready: { role: "developer", prompt: "Implement the TDD test spec (CAS hash: {{{plan}}}) in repo {{{repoPath}}}." }