# SYNAPSE Workflow Domain: story_development
# Layer 3: Phase-aware rules for Story Development Cycle
# Source: DESIGN-SYNAPSE-ENGINE.md section 8, .claude/rules/workflow-execution.md

# Phase: validated — Story validated by @po, ready for development
WORKFLOW_STORY_DEV_RULE_0=Phase validated: Story has passed 10-point validation and status is Ready
WORKFLOW_STORY_DEV_RULE_1=Phase validated: Verify all acceptance criteria are clear and testable before starting

# Phase: in_development — @dev implementing story tasks
WORKFLOW_STORY_DEV_RULE_2=Phase in_development: Follow task order — implement, test, validate, checkbox, repeat
WORKFLOW_STORY_DEV_RULE_3=Phase in_development: Update File List in story for every created/modified/deleted file
WORKFLOW_STORY_DEV_RULE_4=Phase in_development: Run CodeRabbit self-healing before completion (max 2 iterations)

# Phase: qa_review — @qa performing quality gate
WORKFLOW_STORY_DEV_RULE_5=Phase qa_review: 7 quality checks — code, tests, AC, regression, performance, security, docs
WORKFLOW_STORY_DEV_RULE_6=Phase qa_review: Gate verdict PASS/CONCERNS/FAIL/WAIVED with documented rationale

# Phase: push_ready — Ready for @devops to push
WORKFLOW_STORY_DEV_RULE_7=Phase push_ready: All tests passing, no CRITICAL issues, story status Ready for Review
WORKFLOW_STORY_DEV_RULE_8=Phase push_ready: Only @devops executes git push and PR creation
