name = "Architecture Recommendations Review"
description = "Review and validate agent-generated architecture recommendations"

[[sections]]
title = "Database Architecture"
description = "Agent recommendation for your data layer"

[[sections.elements]]
name = "database_choice"
type = "select"
prompt = "Database recommendation"
required = true
options = [
  { value = "accept", label = "✓ Accept: PostgreSQL with read replicas" },
  { value = "modify", label = "↻ Modify: Use different database" },
  { value = "discuss", label = "? Discuss: Need more information" },
]

[[sections.elements]]
name = "database_rationale"
type = "text"
prompt = "Why this matters"
required = false
placeholder = "Agent noted: PostgreSQL handles 10K concurrent users with ACID guarantees"

[[sections.elements]]
name = "database_concern"
type = "text"
prompt = "Any concerns? (if you selected Modify)"
help = "Leave blank if accepting"
placeholder = "e.g., too complex for our team, preference for NoSQL"

[[sections]]
title = "API Architecture"
description = "Agent recommendation for your API layer"

[[sections.elements]]
name = "api_choice"
type = "select"
prompt = "API pattern recommendation"
required = true
options = [
  { value = "accept", label = "✓ Accept: GraphQL with Apollo Server" },
  { value = "modify", label = "↻ Modify: Use different pattern" },
  { value = "discuss", label = "? Discuss: Need more information" },
]

[[sections.elements]]
name = "api_rationale"
type = "text"
prompt = "Why this matters"
required = false
placeholder = "Agent noted: GraphQL reduces over-fetching in microservices"

[[sections.elements]]
name = "api_alternative"
type = "select"
prompt = "Alternative if modifying"
help = "Only shown if Modify is selected"
options = [
  { value = "rest", label = "REST API (simpler, less flexible)" },
  { value = "grpc", label = "gRPC (faster, more complex)" },
  { value = "custom", label = "Custom approach" },
]

[[sections]]
title = "Deployment Platform"
description = "Agent recommendation for infrastructure"

[[sections.elements]]
name = "deployment_choice"
type = "select"
prompt = "Deployment recommendation"
required = true
options = [
  { value = "accept", label = "✓ Accept: Kubernetes on AWS EKS" },
  { value = "modify", label = "↻ Modify: Use different platform" },
  { value = "discuss", label = "? Discuss: Need more information" },
]

[[sections.elements]]
name = "deployment_rationale"
type = "text"
prompt = "Why this matters"
required = false
placeholder = "Agent noted: Team has Kubernetes experience, EKS provides managed infrastructure"

[[sections.elements]]
name = "deployment_concern"
type = "text"
prompt = "Any concerns? (if you selected Modify)"
help = "Leave blank if accepting"
placeholder = "e.g., too expensive, team prefers simpler platform"

[[sections]]
title = "Architecture Trade-offs"
description = "Acknowledge key decisions and constraints"

[[sections.elements]]
name = "tradeoff_complexity"
type = "confirm"
prompt = "Acknowledged: Microservices add operational complexity but enable independent scaling"
required = true

[[sections.elements]]
name = "tradeoff_cost"
type = "confirm"
prompt = "Acknowledged: EKS + PostgreSQL replicas will require $15K-25K/month infrastructure budget"
required = true

[[sections.elements]]
name = "team_ready"
type = "confirm"
prompt = "Team is ready for Kubernetes operational burden"
required = true

[[sections]]
title = "Next Steps"
description = "Approval for synthesis phase"

[[sections.elements]]
name = "proceed_synthesis"
type = "confirm"
prompt = "Proceed to synthesis phase to generate complete architecture blueprint?"
required = true
