fix: add missing reason field to planner insufficient_info frontmatter
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:
@@ -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."
|
||||||
|
|||||||
@@ -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."
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user