28 lines
793 B
Python
28 lines
793 B
Python
"""State definition for GCP Solution Architecture Agent workflow."""
|
|
|
|
from typing import Any, Dict, List, Optional, TypedDict
|
|
|
|
|
|
class GCPArchitectureState(TypedDict, total=False):
|
|
"""LangGraph State tracking state across all 4 workflow phases."""
|
|
|
|
# Workflow Request / Input Intent
|
|
workflow_request: str
|
|
target_dir: str
|
|
|
|
# Phase Outputs
|
|
requirements_doc: Optional[str]
|
|
architecture_doc: Optional[str]
|
|
mermaid_diagram: Optional[str]
|
|
terraform_code: Optional[str]
|
|
validation_results: Optional[str]
|
|
solution_guide: Optional[str]
|
|
|
|
# Workflow Metadata & Dynamic Skill Context
|
|
product_selection_deferred: bool
|
|
current_phase: str
|
|
active_skills: List[str]
|
|
errors: List[str]
|
|
validation_passed: bool
|
|
status_summary: Dict[str, Any]
|