name: New concatenation trigger word
description: Add a Russian preposition, verb, or adjective to the check #3 trigger list.
title: "[trigger] add "
labels: ["trigger", "check-3"]
body:
  - type: markdown
    attributes:
      value: |
        This template is for adding a new trigger word to `references/concatenation-triggers.md` (check #3: concatenation case bug).

        **Required per CONTRIBUTING.md:**
        1. A linguistic source link (gramota.ru, orfogrammka.ru, Rosenthal) confirming which case the word governs.
        2. A concrete bug example.
        3. A false-positive sanity check: grep the trigger across ≥5 public Russian open-source projects and report results.

        Without all three, the trigger will not be merged.

  - type: input
    id: word
    attributes:
      label: Trigger word
      description: The Russian word, lowercase, dictionary form.
      placeholder: "e.g. около, через, возле"
    validations:
      required: true

  - type: dropdown
    id: category
    attributes:
      label: Category
      options:
        - Preposition governing non-nominative case
        - Transitive verb (imperative/infinitive at template start)
        - Gender-coupled adjective (salutation trap)
        - Other (describe below)
    validations:
      required: true

  - type: input
    id: governed_case
    attributes:
      label: Which case does this word govern?
      placeholder: "e.g. genitive, accusative, dative, instrumental, prepositional"
    validations:
      required: true

  - type: input
    id: linguistic_source
    attributes:
      label: Linguistic source link (REQUIRED)
      description: Link to gramota.ru, orfogrammka.ru, Rosenthal handbook, or similar authoritative source confirming the case government.
      placeholder: "https://gramota.ru/..."
    validations:
      required: true

  - type: textarea
    id: example
    attributes:
      label: Concrete bug example
      description: Show a real or realistic code snippet where this trigger produces ungrammatical Russian.
      placeholder: |
        ```ts
        const label = `Около ${place.name}`;  // place.name is nominative; требуется родительный
        ```
      render: markdown
    validations:
      required: true

  - type: textarea
    id: fp_check
    attributes:
      label: False-positive sanity check (REQUIRED)
      description: |
        Grep the trigger word across at least 5 publicly available Russian open-source projects (e.g. GitHub code search with `language:TypeScript` or similar). Report:
        - How many total hits
        - How many looked like real bugs vs unrelated uses
        - If >20% are unrelated, what exclusion rule would filter them
      placeholder: |
        Searched `"около " + ` across TypeScript repos: 43 hits, 8 looked like potential bugs, rest were documentation or string concatenation of numbers. No exclusion needed.
    validations:
      required: true

  - type: textarea
    id: notes
    attributes:
      label: Additional notes
      description: Edge cases, exclusions to add, related triggers.
