Add script steps and critic fields to workflow definitions #16

Merged
weichen merged 1 commits from feature/agent-harness-p4 into main 2026-10-02 01:03:55 +00:00
1 Commits
Author SHA1 Message Date
weichenandCursor f93f473a0e Add script steps and critic fields to workflow definitions
Why: The workflow executor needs a shared contract for subagent profiles, plugin scripts, and per-step plus whole-run retry caps.
Evidence: go test ./... passed, including the new workflow_def golden.
Impact: New fields are omitempty, so existing workflow JSON still decodes. Kind script is additive.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 15:55:52 +00:00