Skip to main content
Version: 0.61.0

KR-WF-007: Invalid Workflow Template Reference

Summary​

  • Rule ID: KR-WF-007
  • Severity: HIGH
  • Category: Kiro Workflows
  • Normative Level: MUST
  • Auto-Fix: No
  • Verified On: 2026-10-17

Applicability​

  • Tool: kiro
  • Version Range: >=2.26.0
  • Spec Revision: unspecified

Evidence Sources​

Test Coverage Metadata​

  • Unit tests: true
  • Fixture tests: true
  • E2E tests: true

Examples​

The following examples demonstrate what triggers this rule and how to fix it.

Invalid​

{"name": "x", "steps": [{"type": "step", "id": "a", "agent": "wf-coder", "prompt": "{{b.output}}"}, {"type": "step", "id": "b", "agent": "wf-coder", "prompt": "x"}]}

Valid​

{"name": "plan-and-implement", "inputs": {"task": "prompt"}, "steps": [{"type": "step", "id": "plan", "agent": "wf-planner", "prompt": "Plan {{task}}"}, {"type": "step", "id": "implement", "agent": "wf-coder", "prompt": "Implement: {{previous.output}}"}]}