name = "Architecture Decision Confirmation"
description = "Final stakeholder approval before generating architecture blueprint"

[[sections]]
title = "Architecture Components"
description = "Confirm each major architectural component"

[[sections.elements]]
name = "approve_database"
type = "confirm"
prompt = "Approve database architecture (PostgreSQL + read replicas)"
required = true

[[sections.elements]]
name = "approve_api"
type = "confirm"
prompt = "Approve API architecture (GraphQL with Apollo)"
required = true

[[sections.elements]]
name = "approve_deployment"
type = "confirm"
prompt = "Approve deployment platform (Kubernetes on AWS EKS)"
required = true

[[sections]]
title = "Compliance & Security"
description = "Verify non-functional requirements are met"

[[sections.elements]]
name = "approve_security"
type = "confirm"
prompt = "Architecture meets security requirements"
required = true

[[sections.elements]]
name = "approve_compliance"
type = "confirm"
prompt = "Architecture satisfies compliance requirements (if any)"
required = true

[[sections.elements]]
name = "approve_performance"
type = "confirm"
prompt = "Architecture meets performance SLAs (< 200ms API, 99.9% uptime)"
required = true

[[sections]]
title = "Team Readiness"
description = "Confirm team capacity and training needs"

[[sections.elements]]
name = "team_capacity"
type = "select"
prompt = "Team readiness for this architecture"
required = true
options = [
  { value = "ready", label = "Team ready now - can deploy immediately" },
  { value = "training", label = "Need 2-4 weeks training on Kubernetes" },
  { value = "hiring", label = "Need to hire platform engineers" },
  { value = "consultant", label = "Need external consulting support" },
]

[[sections.elements]]
name = "training_needs"
type = "multiselect"
prompt = "Training topics needed"
options = [
  { value = "kubernetes", label = "Kubernetes operations" },
  { value = "graphql", label = "GraphQL API design" },
  { value = "postgres", label = "PostgreSQL administration" },
  { value = "ci_cd", label = "CI/CD pipeline setup" },
  { value = "monitoring", label = "Observability & monitoring" },
]

[[sections]]
title = "Budget & Timeline Alignment"
description = "Confirm resource allocation"

[[sections.elements]]
name = "budget_approved"
type = "confirm"
prompt = "Infrastructure budget approved ($15K-25K/month)"
required = true

[[sections.elements]]
name = "timeline_realistic"
type = "confirm"
prompt = "Implementation timeline is realistic for team capacity"
required = true

[[sections.elements]]
name = "stakeholder"
type = "text"
prompt = "Name of approving stakeholder"
required = true
placeholder = "e.g., Engineering Lead, CTO, Product Director"

[[sections]]
title = "Final Sign-Off"
description = "Authorize generation of architecture blueprint"

[[sections.elements]]
name = "authorize_blueprint"
type = "confirm"
prompt = "Authorize generation of comprehensive architecture blueprint with ADRs"
required = true

[[sections.elements]]
name = "next_step"
type = "select"
prompt = "Next action after approval"
required = true
options = [
  { value = "generate_adr", label = "Generate Architecture Decision Records" },
  { value = "implementation_plan", label = "Create detailed implementation plan" },
  { value = "team_review", label = "Schedule team review meeting" },
  { value = "defer", label = "Schedule for later review" },
]
