{
  "schema_version": "primitive-improvement-v1",
  "run": {
    "run_id": "qazagents-input-20260831",
    "observation_date": "2026-08-31",
    "evidence_cutoff": "2026-08-31",
    "status": "no_change",
    "decision_question": "Which bounded direction is justified for AVDS Input?",
    "blockers": [],
    "protocol_version": "selection-evaluation-v1",
    "selection": {
      "discovery_methods": [
        "official same-category design-system documentation",
        "official same-job analogues from a distinct component role"
      ],
      "candidate_pool": [
        {
          "id": "govuk-input",
          "name": "GOV.UK Text Input",
          "role": "direct_peer",
          "disposition": "selected",
          "source": "https://design-system.service.gov.uk/components/text-input/",
          "reason": "та же задача ввода и доступная Field-композиция"
        },
        {
          "id": "carbon-input",
          "name": "Carbon Text Input",
          "role": "leading_analogue",
          "disposition": "selected",
          "source": "https://carbondesignsystem.com/components/text-input/usage/",
          "reason": "сопоставимые состояния и enterprise validation context"
        },
        {
          "id": "fluent-field",
          "name": "Fluent 2 Field",
          "role": "role_analogue",
          "disposition": "selected",
          "source": "https://fluent2.microsoft.design/components/web/react/core/field/usage",
          "reason": "иная роль показывает правильную границу label/help/error вокруг Input"
        },
        {
          "id": "spectrum-textfield",
          "name": "Spectrum Textfield",
          "role": "leading_analogue",
          "disposition": "rejected",
          "source": "https://opensource.adobe.com/spectrum-web-components/components/textfield/",
          "reason": "компонент объединяет больше Field-ответственности, чем целевой примитив"
        },
        {
          "id": "atlassian-textfield",
          "name": "Atlassian Textfield",
          "role": "direct_peer",
          "disposition": "rejected",
          "source": "https://atlassian.design/components/textfield",
          "reason": "после direct peer не добавляет независимый механизм"
        },
        {
          "id": "primer-input",
          "name": "Primer TextInput",
          "role": "leading_analogue",
          "disposition": "rejected",
          "source": "https://primer.style/product/components/text-input/",
          "reason": "product context менее сопоставим с public/operator формами"
        }
      ],
      "candidate_pool_size": 6,
      "exhausted_market": false,
      "roster_cutoff": "2026-08-31",
      "inclusion_rules": [
        "official public source with a comparable user job",
        "observable mechanism within the preregistered scenario"
      ],
      "exclusion_rules": [
        "brand familiarity without scenario comparability",
        "duplicated mechanism that cannot change the decision"
      ],
      "selection_biases": [
        "documentation completeness can overrepresent mature systems",
        "English-language official documentation can underrepresent regional peers"
      ],
      "coverage_statement": "Six candidates found through two independent methods; three selected by scenario comparability, not brand rank."
    },
    "evaluation": {
      "scenario_envelope": {
        "job": "ввести и исправить короткое значение с ясным фокусом и состоянием",
        "surface": "текстовое поле внутри явно подписанной Field-композиции",
        "state": "empty, filled, focus, disabled, invalid-at-field-level",
        "locale": "RU and KK",
        "viewport": "390x844, 768x1024, 1440x1000",
        "input_mode": "keyboard, pointer and touch",
        "content_stress": "long RU and KK labels plus empty, error or disabled states where applicable"
      },
      "comparability": [
        {
          "comparator_id": "govuk-input",
          "score": 4,
          "decision": "eligible",
          "reason": "та же задача ввода и доступная Field-композиция",
          "hard_disqualifiers": []
        },
        {
          "comparator_id": "carbon-input",
          "score": 3,
          "decision": "eligible",
          "reason": "сопоставимые состояния и enterprise validation context",
          "hard_disqualifiers": []
        },
        {
          "comparator_id": "fluent-field",
          "score": 3,
          "decision": "eligible",
          "reason": "иная роль показывает правильную границу label/help/error вокруг Input",
          "hard_disqualifiers": []
        }
      ],
      "dimensions": [
        {
          "id": "semantics",
          "name": "Семантика ввода",
          "anchor": "Нативный input сохраняет тип, имя и программную связь с Field.",
          "weight": 30,
          "hard_gate": true
        },
        {
          "id": "state",
          "name": "Фокус и состояния",
          "anchor": "Фокус и disabled различимы, а validation ownership не дублируется.",
          "weight": 25,
          "hard_gate": true
        },
        {
          "id": "motor",
          "name": "Моторная доступность",
          "anchor": "Поле удобно для touch, pointer и клавиатуры.",
          "weight": 25,
          "hard_gate": false
        },
        {
          "id": "localization",
          "name": "RU/KK ввод",
          "anchor": "Масштаб текста и длинные значения сохраняют читаемость.",
          "weight": 20,
          "hard_gate": false
        }
      ],
      "matrix": [
        {
          "comparator_id": "govuk-input",
          "dimension_id": "semantics",
          "score": 4,
          "evidence_ids": [
            "govuk-input-semantics"
          ],
          "confidence": "high",
          "observation": "Anchored against: Нативный input сохраняет тип, имя и программную связь с Field."
        },
        {
          "comparator_id": "govuk-input",
          "dimension_id": "state",
          "score": 4,
          "evidence_ids": [
            "govuk-input-state"
          ],
          "confidence": "high",
          "observation": "Anchored against: Фокус и disabled различимы, а validation ownership не дублируется."
        },
        {
          "comparator_id": "govuk-input",
          "dimension_id": "motor",
          "score": 4,
          "evidence_ids": [
            "govuk-input-motor"
          ],
          "confidence": "high",
          "observation": "Anchored against: Поле удобно для touch, pointer и клавиатуры."
        },
        {
          "comparator_id": "govuk-input",
          "dimension_id": "localization",
          "score": 4,
          "evidence_ids": [
            "govuk-input-localization"
          ],
          "confidence": "high",
          "observation": "Anchored against: Масштаб текста и длинные значения сохраняют читаемость."
        },
        {
          "comparator_id": "carbon-input",
          "dimension_id": "semantics",
          "score": 4,
          "evidence_ids": [
            "carbon-input-semantics"
          ],
          "confidence": "high",
          "observation": "Anchored against: Нативный input сохраняет тип, имя и программную связь с Field."
        },
        {
          "comparator_id": "carbon-input",
          "dimension_id": "state",
          "score": 4,
          "evidence_ids": [
            "carbon-input-state"
          ],
          "confidence": "high",
          "observation": "Anchored against: Фокус и disabled различимы, а validation ownership не дублируется."
        },
        {
          "comparator_id": "carbon-input",
          "dimension_id": "motor",
          "score": 3,
          "evidence_ids": [
            "carbon-input-motor"
          ],
          "confidence": "high",
          "observation": "Anchored against: Поле удобно для touch, pointer и клавиатуры."
        },
        {
          "comparator_id": "carbon-input",
          "dimension_id": "localization",
          "score": 4,
          "evidence_ids": [
            "carbon-input-localization"
          ],
          "confidence": "high",
          "observation": "Anchored against: Масштаб текста и длинные значения сохраняют читаемость."
        },
        {
          "comparator_id": "fluent-field",
          "dimension_id": "semantics",
          "score": 4,
          "evidence_ids": [
            "fluent-field-semantics"
          ],
          "confidence": "high",
          "observation": "Anchored against: Нативный input сохраняет тип, имя и программную связь с Field."
        },
        {
          "comparator_id": "fluent-field",
          "dimension_id": "state",
          "score": 4,
          "evidence_ids": [
            "fluent-field-state"
          ],
          "confidence": "high",
          "observation": "Anchored against: Фокус и disabled различимы, а validation ownership не дублируется."
        },
        {
          "comparator_id": "fluent-field",
          "dimension_id": "motor",
          "score": 3,
          "evidence_ids": [
            "fluent-field-motor"
          ],
          "confidence": "high",
          "observation": "Anchored against: Поле удобно для touch, pointer и клавиатуры."
        },
        {
          "comparator_id": "fluent-field",
          "dimension_id": "localization",
          "score": 3,
          "evidence_ids": [
            "fluent-field-localization"
          ],
          "confidence": "high",
          "observation": "Anchored against: Масштаб текста и длинные значения сохраняют читаемость."
        }
      ],
      "coverage": {
        "scored_weight_percent": 100,
        "minimum_required_percent": 80
      },
      "missing_data_policy": {
        "unknown_outside_arithmetic": true,
        "rule": "Unknown or inaccessible evidence remains outside weighted arithmetic and cannot be converted into a neutral score."
      },
      "hard_gate_results": [
        {
          "dimension_id": "semantics",
          "status": "pass",
          "evidence_ids": [
            "target-semantics"
          ],
          "rationale": "Target evidence confirms the preregistered gate: Нативный input сохраняет тип, имя и программную связь с Field."
        },
        {
          "dimension_id": "state",
          "status": "pass",
          "evidence_ids": [
            "target-state"
          ],
          "rationale": "Target evidence confirms the preregistered gate: Фокус и disabled различимы, а validation ownership не дублируется."
        }
      ],
      "recheck": {
        "method": "blind second scoring pass with comparator names hidden",
        "blind": true,
        "completed": true,
        "max_score_delta": 1,
        "conclusion_stable": true
      },
      "sensitivity": {
        "method": "plus/minus ten percentage-point weight perturbation and leave-one-comparator-out",
        "tested": true,
        "weight_perturbation_percent": 10,
        "leave_one_comparator_out": true,
        "conclusion_stable": true,
        "flip_conditions": "Подтверждённый сценарий покажет, что Input не может быть корректно связан с label/help/error или нарушает focus/touch gate."
      },
      "decision_trace": {
        "selected_basis": "Target already satisfies the reusable mechanisms supported by confirmed comparator evidence.",
        "protected_invariants": [
          "native input attributes",
          "responsive 16px-to-14px text sizing",
          "focus-visible ring",
          "disabled contract and 44px mobile shell"
        ],
        "not_selected": "Adopt, adapt and differentiate were rejected because no confirmed gap survives the hard gates and sensitivity checks.",
        "missing_data_effect": "No unknown cell contributes to the score; confirmed coverage is 100 percent."
      }
    }
  },
  "target": {
    "primitive_id": "input",
    "slug": "input",
    "exported_component": "Input",
    "canonical_route": "/showcase/input",
    "source_root": "/avds",
    "source_file": "packages/ui-kit/src/primitives/ui/input.tsx",
    "source_remote": "https://github.com/belilovsky/avds.git",
    "branch": "codex/pssr-research-grade-20260825",
    "package_version": "5.0.0",
    "source_revision": "e3fd6441ba76025bbab48b8c72e83158bf5449e7",
    "dirty_state": "clean",
    "touched_primitive_ids": [
      "input"
    ]
  },
  "context": {
    "user_job": "ввести и исправить короткое значение с ясным фокусом и состоянием",
    "audience": "публичные и операторские интерфейсы QDev",
    "scenario": "текстовое поле внутри явно подписанной Field-композиции",
    "decision_horizon": "current AVDS 5.0.0 primitive certification",
    "locales": [
      "ru",
      "kk"
    ],
    "viewport_regimes": [
      "390x844",
      "768x1024",
      "1440x1000"
    ],
    "states": [
      "empty",
      "filled",
      "focus",
      "disabled",
      "invalid-at-field-level"
    ],
    "non_goals": [
      "page redesign",
      "product-level composition",
      "changes to other primitives"
    ]
  },
  "comparators": [
    {
      "id": "govuk-input",
      "name": "GOV.UK Text Input",
      "role": "direct_peer",
      "inclusion_rationale": "та же задача ввода и доступная Field-композиция"
    },
    {
      "id": "carbon-input",
      "name": "Carbon Text Input",
      "role": "leading_analogue",
      "inclusion_rationale": "сопоставимые состояния и enterprise validation context"
    },
    {
      "id": "fluent-field",
      "name": "Fluent 2 Field",
      "role": "role_analogue",
      "inclusion_rationale": "иная роль показывает правильную границу label/help/error вокруг Input"
    }
  ],
  "evidence": [
    {
      "id": "target-semantics",
      "subject": "target",
      "locator": "source:packages/ui-kit/src/primitives/ui/input.tsx#semantics",
      "observed_at": "2026-08-31",
      "lane": "source",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "semantics"
      ]
    },
    {
      "id": "target-state",
      "subject": "target",
      "locator": "source:packages/ui-kit/src/primitives/ui/input.tsx#state",
      "observed_at": "2026-08-31",
      "lane": "source",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "state"
      ]
    },
    {
      "id": "target-motor",
      "subject": "target",
      "locator": "source:packages/ui-kit/src/primitives/ui/input.tsx#motor",
      "observed_at": "2026-08-31",
      "lane": "source",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "motor"
      ]
    },
    {
      "id": "target-localization",
      "subject": "target",
      "locator": "source:packages/ui-kit/src/primitives/ui/input.tsx#localization",
      "observed_at": "2026-08-31",
      "lane": "source",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "localization"
      ]
    },
    {
      "id": "govuk-input-semantics",
      "subject": "comparator",
      "comparator_id": "govuk-input",
      "locator": "https://design-system.service.gov.uk/components/text-input/#semantics",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "semantics"
      ]
    },
    {
      "id": "govuk-input-state",
      "subject": "comparator",
      "comparator_id": "govuk-input",
      "locator": "https://design-system.service.gov.uk/components/text-input/#state",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "state"
      ]
    },
    {
      "id": "govuk-input-motor",
      "subject": "comparator",
      "comparator_id": "govuk-input",
      "locator": "https://design-system.service.gov.uk/components/text-input/#motor",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "motor"
      ]
    },
    {
      "id": "govuk-input-localization",
      "subject": "comparator",
      "comparator_id": "govuk-input",
      "locator": "https://design-system.service.gov.uk/components/text-input/#localization",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "localization"
      ]
    },
    {
      "id": "carbon-input-semantics",
      "subject": "comparator",
      "comparator_id": "carbon-input",
      "locator": "https://carbondesignsystem.com/components/text-input/usage/#semantics",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "semantics"
      ]
    },
    {
      "id": "carbon-input-state",
      "subject": "comparator",
      "comparator_id": "carbon-input",
      "locator": "https://carbondesignsystem.com/components/text-input/usage/#state",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "state"
      ]
    },
    {
      "id": "carbon-input-motor",
      "subject": "comparator",
      "comparator_id": "carbon-input",
      "locator": "https://carbondesignsystem.com/components/text-input/usage/#motor",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "motor"
      ]
    },
    {
      "id": "carbon-input-localization",
      "subject": "comparator",
      "comparator_id": "carbon-input",
      "locator": "https://carbondesignsystem.com/components/text-input/usage/#localization",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "localization"
      ]
    },
    {
      "id": "fluent-field-semantics",
      "subject": "comparator",
      "comparator_id": "fluent-field",
      "locator": "https://fluent2.microsoft.design/components/web/react/core/field/usage#semantics",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "semantics"
      ]
    },
    {
      "id": "fluent-field-state",
      "subject": "comparator",
      "comparator_id": "fluent-field",
      "locator": "https://fluent2.microsoft.design/components/web/react/core/field/usage#state",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "state"
      ]
    },
    {
      "id": "fluent-field-motor",
      "subject": "comparator",
      "comparator_id": "fluent-field",
      "locator": "https://fluent2.microsoft.design/components/web/react/core/field/usage#motor",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "motor"
      ]
    },
    {
      "id": "fluent-field-localization",
      "subject": "comparator",
      "comparator_id": "fluent-field",
      "locator": "https://fluent2.microsoft.design/components/web/react/core/field/usage#localization",
      "observed_at": "2026-08-31",
      "lane": "public",
      "class": "observed",
      "confidence": "high",
      "supports": [
        "localization"
      ]
    }
  ],
  "decision": {
    "class": "no-change",
    "statement": "Сохранить текущий Input: нативный элемент, responsive text sizing и focus/disabled contract достаточны; label, help и error остаются ответственностью Field-композиции.",
    "hypothesis": "Узкий Input API предотвращает дублирование validation semantics и сохраняет совместимость с разными Field-композициями.",
    "owner": "AVDS primitive steward",
    "verification_criterion": "Valid industrial receipt and matched target-owned captures at all release viewports.",
    "disconfirming_event": "Подтверждённый сценарий покажет, что Input не может быть корректно связан с label/help/error или нарушает focus/touch gate.",
    "required_permission": "none"
  },
  "implementation": {
    "authorized": false,
    "allowed_files": [],
    "blast_radius": "exactly one primitive: input",
    "rollback": "No source patch was applied; rollback is not applicable.",
    "acceptance_proof": "content/primitive-cases/input/steward-acceptance-v1.json"
  },
  "gates": {
    "identity_bound": true,
    "scenario_comparable": true,
    "evidence_dated": true,
    "permission_bound": true,
    "protected_evidence_absent": true,
    "source_first_resolved": true,
    "single_primitive": true
  },
  "artifacts": [
    {
      "id": "before-390x844",
      "path": "assets/cases/primitives/input/input-before-390x844.png",
      "kind": "capture",
      "sha256": "e91d9554ccaf5647d99a572504358095a6fa00c51f85f7602cdb7483dbe3346f"
    },
    {
      "id": "after-390x844",
      "path": "assets/cases/primitives/input/input-after-390x844.png",
      "kind": "capture",
      "sha256": "e91d9554ccaf5647d99a572504358095a6fa00c51f85f7602cdb7483dbe3346f"
    },
    {
      "id": "before-768x1024",
      "path": "assets/cases/primitives/input/input-before-768x1024.png",
      "kind": "capture",
      "sha256": "de9d7105965e7c5bbfaeccf718b0116eff4d11abdde1f9f66b9a9ebdcbdbfa40"
    },
    {
      "id": "after-768x1024",
      "path": "assets/cases/primitives/input/input-after-768x1024.png",
      "kind": "capture",
      "sha256": "de9d7105965e7c5bbfaeccf718b0116eff4d11abdde1f9f66b9a9ebdcbdbfa40"
    },
    {
      "id": "before-1440x1000",
      "path": "assets/cases/primitives/input/input-before-1440x1000.png",
      "kind": "capture",
      "sha256": "a0c15fc4b993b72f3999fc1f29961d7a53a01a09f0504224b1fd1ca7fffe01a2"
    },
    {
      "id": "after-1440x1000",
      "path": "assets/cases/primitives/input/input-after-1440x1000.png",
      "kind": "capture",
      "sha256": "a0c15fc4b993b72f3999fc1f29961d7a53a01a09f0504224b1fd1ca7fffe01a2"
    },
    {
      "id": "steward-acceptance",
      "path": "content/primitive-cases/input/steward-acceptance-v1.json",
      "kind": "receipt",
      "sha256": "ef5245d6256cd5253bbe0229dd5e25f34220bc55e6f2f824689d06072019b3f8"
    }
  ]
}
