fix: refactored manually
Some checks failed
validation / verify (push) Failing after 15s

This commit is contained in:
2026-09-02 16:08:12 +01:00
parent 43cbd215e2
commit b9a924cf4a
63 changed files with 1398 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
"""States package."""
from .state import GCPArchitectureState
__all__ = ["GCPArchitectureState"]

Binary file not shown.

Binary file not shown.

27
app/states/state.py Normal file
View File

@@ -0,0 +1,27 @@
"""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]