fix: add missing reason field to planner insufficient_info frontmatter
CI / check (push) Failing after 1m43s

The $SUSPEND edge for insufficient_info uses {{{reason}}} template
variable, but the frontmatter schema was missing the reason field.
This caused workflow validation to reject the workflow on thread start.

Fixed in all 3 copies: .workflows/, examples/, workflows/
This commit is contained in:
2026-06-02 13:54:01 +08:00
parent fa188ddf21
commit f6298c73bf
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ roles:
required: [$status, plan, repoPath, repoRemote] required: [$status, plan, repoPath, repoRemote]
- properties: - properties:
$status: { const: "insufficient_info" } $status: { const: "insufficient_info" }
required: [$status] reason: { type: string }
required: [$status, reason]
developer: developer:
description: "TDD implementation per test spec" description: "TDD implementation per test spec"
goal: "You are a developer agent. You implement code changes following TDD — write tests first, then implementation." goal: "You are a developer agent. You implement code changes following TDD — write tests first, then implementation."
+2 -1
View File
@@ -64,7 +64,8 @@ roles:
required: [$status, plan, repoPath, branch, worktree] required: [$status, plan, repoPath, branch, worktree]
- properties: - properties:
$status: { const: "insufficient_info" } $status: { const: "insufficient_info" }
required: [$status] reason: { type: string }
required: [$status, reason]
developer: developer:
description: "TDD implementation per test spec" description: "TDD implementation per test spec"
goal: "You are a developer agent. You implement code changes following TDD — write tests first, then implementation." goal: "You are a developer agent. You implement code changes following TDD — write tests first, then implementation."
+3
View File
@@ -65,8 +65,11 @@ roles:
- properties: - properties:
$status: $status:
const: insufficient_info const: insufficient_info
reason:
type: string
required: required:
- $status - $status
- reason
developer: developer:
description: TDD implementation per test spec description: TDD implementation per test spec
goal: You are a developer agent. You implement code changes following TDD — write tests first, then implementation. goal: You are a developer agent. You implement code changes following TDD — write tests first, then implementation.