Workflow Execution Rules
Phase Execution
- Sequential Processing: Execute phases in order
- Context Passing: Read previous phase outputs
- Progress Tracking: Write phase outputs
- Gate Validation: Check before proceeding
- Completion: Create final artifacts
Task Execution Rules
Single Task Execution
- Execute ONLY the requested task
- Stop and return control after completion
- Do NOT auto-continue to next tasks
- Wait for explicit instruction
Failure Handling
- Stop immediately on failure
- Report issue clearly
- Do NOT attempt to fix without permission
- Return control to user
Gate Validation
Required gates in order:
- API Specification: Valid OpenAPI spec
- Type Generation: Types compile
- Implementation: Code complete
- Test Creation: Tests written
- Test Execution: Tests pass
- Build: Project builds
Breaking Changes Policy
Update Workflows
- NO breaking changes allowed
- Preserve ALL existing functionality
- Fail fast on regressions
- Maintain backward compatibility
Fix Workflows
- Breaking changes permitted
- May modify functionality
- Document all changes
- Version bump required