name: Feature Request
description: Propose a new feature or enhancement
title: "[feature] "
labels: ["type:feature", "status:needs-spec"]
assignees: []
body:
  - type: markdown
    attributes:
      value: |
        ## Feature Request
        Provide enough detail for an AI agent to implement this without further clarification.

  - type: input
    id: epic
    attributes:
      label: Epic
      description: "Which epic does this belong to? (conductor, frontend, compute, cache, security, observability, hive)"
      placeholder: "epic:conductor"
    validations:
      required: true

  - type: textarea
    id: user-story
    attributes:
      label: User Story
      description: "As a [role], I want [capability] so that [benefit]."
      placeholder: "As a developer, I want to route LLM requests to the cheapest provider so that I minimize costs."
    validations:
      required: true

  - type: textarea
    id: acceptance-criteria
    attributes:
      label: Acceptance Criteria
      description: "Concrete, testable criteria. Use checkbox format."
      placeholder: |
        - [ ] API endpoint accepts model routing preferences
        - [ ] Response includes cost breakdown
        - [ ] Latency < 200ms for routing decision
    validations:
      required: true

  - type: textarea
    id: technical-notes
    attributes:
      label: Technical Notes
      description: "Relevant architecture decisions, API references, component dependencies."
      placeholder: "See ADR-003 for API proxy architecture. Depends on LiteLLM integration (epic:conductor)."

  - type: dropdown
    id: size
    attributes:
      label: Estimated Size
      options:
        - "size:xs (< 1 hour)"
        - "size:s (1-4 hours)"
        - "size:m (4-16 hours)"
        - "size:l (16-40 hours)"
        - "size:xl (40+ hours, split)"
    validations:
      required: true

  - type: dropdown
    id: agent
    attributes:
      label: Suggested Agent
      description: "Who should implement this?"
      options:
        - "agent:copilot"
        - "agent:cursor"
        - "agent:human"
    validations:
      required: true
