# 저장소의 .github/ISSUE_TEMPLATE/decision.yml 로 복사하면 웹의 New issue 화면에 "결정 요청" 양식이 나타난다.
# 제출하면 항목마다 "### 항목 이름" 아래에 답이 적힌 본문이 만들어진다. decision-queue.sh가 이 본문을 읽는다.
# kind:decision 라벨이 저장소에 먼저 있어야 붙는다: gh label create kind:decision --color 5319E7
name: 결정 요청
description: 선택지, 근거, 결정자, 기한이 있는 결정 요청
title: "[D-00] "
labels: ["kind:decision"]
body:
  - type: markdown
    attributes:
      value: 결정 하나에 이슈 하나를 쓴다. 결정이 나면 결과를 결정 기록 형식의 댓글로 남기고 이슈를 닫는다.
  - type: textarea
    id: question
    attributes:
      label: 결정할 것
      description: 예 또는 아니오, 또는 선택지 중 하나로 답할 수 있는 한 문장으로 쓴다.
    validations:
      required: true
  - type: textarea
    id: options
    attributes:
      label: 선택지와 영향
      description: 선택지마다 일정, 공수, 범위, 리스크에 주는 영향을 숫자로 적는다. "아무것도 하지 않음"도 선택지로 적는다.
      value: |
        1. 
        2. 
    validations:
      required: true
  - type: input
    id: recommendation
    attributes:
      label: 권고안
      description: 요청자가 권하는 선택지 번호와 한 줄 이유
  - type: input
    id: decider
    attributes:
      label: 결정자
      description: 결정할 권한이 있는 사람 한 명. 의견을 줄 사람은 본문이나 댓글에 따로 적는다.
    validations:
      required: true
  - type: input
    id: due
    attributes:
      label: 결정 기한
      description: YYYY-MM-DD 형식으로 쓴다. 이 날짜가 지나면 결정 대기 목록의 "기한이 지난 요청"에 나온다.
      placeholder: "2026-10-30"
    validations:
      required: true
  - type: textarea
    id: cost-of-waiting
    attributes:
      label: 늦어질 때의 영향
      description: 기한까지 결정되지 않으면 무엇이 언제 늦어지는지 적는다.
    validations:
      required: true
  - type: input
    id: related
    attributes:
      label: 관련 이슈
      placeholder: "예: #5, R-03"
