"""The Reference's Phases and Deliverable kinds, from its `app/workflows/deliverables.py`.""" from __future__ import annotations from enum import StrEnum class PhaseId(StrEnum): # Scoping: what the customer wants and the facts a design depends on, agreed # before requirements are derived from it (ADR-0008). SCOPING = "scoping" REQUIREMENTS_DISCOVERY = "requirements_discovery" # Design: ends with the Target architecture, approved before any code is written. SOLUTION_ARCHITECTURE = "solution_architecture" SOLUTION_IMPLEMENTATION = "solution_implementation" SOLUTION_VALIDATION = "solution_validation" PACKAGING = "packaging" PHASE_ORDER: tuple[PhaseId, ...] = tuple(PhaseId) class DeliverableKind(StrEnum): SCOPE = "scope" REQUIREMENTS = "requirements" TECHNICAL_DECOMPOSITION = "technical_decomposition" PRODUCT_SELECTION = "product_selection" DESIGN_RECOMMENDATIONS = "design_recommendations" TARGET_ARCHITECTURE = "target_architecture" ARCHITECTURE_DESCRIPTION = "architecture_description" DEPLOYMENT_GUIDANCE = "deployment_guidance" VALIDATION_RESULTS = "validation_results" # The plan for building what was designed and validated (iteration 10). WORK_BREAKDOWN = "work_breakdown" SOLUTION_GUIDE = "solution_guide"