REFACTOR(repo): simplify project structure
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled

- Move services/backend to langgraph/
- Move deploy/docker/Dockerfile to Dockerfile
- Remove deploy/, services/ folders
- Update GitHub Actions workflow paths
- Remove kustomization update logic (managed by K3S-HOME/applications)
This commit is contained in:
2026-01-05 16:45:33 +09:00
parent 49083910c6
commit 013140f02c
30 changed files with 4 additions and 1094 deletions

18
langgraph/agents/state.py Normal file
View File

@@ -0,0 +1,18 @@
"""
공유 상태 정의 (AgentState)
K8s 인프라 분석 및 계획 수립에 특화
"""
from typing import TypedDict, Optional
class AgentState(TypedDict):
"""에이전트 간 공유되는 상태"""
messages: list # 대화 메시지 이력
current_agent: str # 현재 활성 에이전트
request_type: Optional[str] # 요청 유형: "information_query" or "deployment_decision"
task_plan: Optional[dict] # Planning Agent 출력 (폴더 구조, YAML 설계)
research_data: Optional[dict] # Research Agent 출력 (K8s 클러스터 상태)
decision_report: Optional[dict] # Decision Agent 출력 (추천/비추천 결정)
implementation_prompt: Optional[str] # Prompt Generator 출력 (구현 가이드)
iteration_count: int # 반복 횟수 (최대 2회)
error: Optional[str] # 에러 메시지