Skip to main content
Version: 0.60.2

KR-WF-006: Invalid Workflow Stop Condition - Kiro Workflows

Summary​

  • Rule ID: KR-WF-006
  • 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​

{"stopCondition": {"fileCheck": {"path": "status.json", "jsonPath": "done", "equals": true}}}

Valid​

{"stopWhen": "wait-for-pr.terminal"}