{
  "contract_id": "avds-consumer-shell.v1",
  "consumer": {
    "id": "gg-verified-corpus",
    "name": "Корпус Токаева",
    "public_url": "https://gg.qdev.run"
  },
  "design_system": {
    "name": "AVDS 5",
    "public_url": "https://avds.digital",
    "theme": "institutional",
    "public_version_observed": "5.0.0",
    "source_project": "AVDS 5 / @avds/ui-kit",
    "source_revision": "b1d34c6dc1a1e4283dfb5b3671afd4ecf364754f",
    "source_role": "tokens, composition aliases and interaction grammar; not route or data ownership"
  },
  "implementation": {
    "theme_hook": "html[data-av-theme=\"institutional\"]",
    "shared_stylesheet": "/assets/app.css",
    "discovery": {
      "html_meta": [
        "avds:design-system",
        "avds:theme",
        "avds:source",
        "avds:contract"
      ],
      "html_links": [
        "rel=describedby type=application/json href=/api/v1/avds.json",
        "rel=external href=https://avds.digital"
      ],
      "machine_contract": "/api/v1/avds.json"
    },
    "shell_aliases": [
      "--avds-shell-gutter",
      "--avds-shell-max",
      "--avds-reading-max",
      "--avds-layout-gap"
    ],
    "component_vocabulary": [
      "av-workbench",
      "av-panel",
      "av-card",
      "av-input",
      "av-select",
      "av-pagination",
      "status-badge"
    ],
    "route_families": [
      "/",
      "/about/",
      "/documents/",
      "/documents/{id}.html",
      "/sources/",
      "/sources/{id}.html",
      "/records/{id}.html",
      "/embed/{id}.html",
      "/assistant/",
      "/kit/",
      "/kit/review.html",
      "/feeds/topics/",
      "/search/",
      "/api/",
      "/404.html"
    ],
    "responsive_matrix": [
      "360x800",
      "390x844",
      "768x1024",
      "820x1180",
      "1024x900",
      "1280x900",
      "1440x1000",
      "1600x1000",
      "1920x1080",
      "2560x1440"
    ],
    "conformance_gate": {
      "required_tokens": [
        "--background: 210 30% 96%",
        "--foreground: 218 34% 16%",
        "--border: 214 24% 85%",
        "--card: 0 0% 100%",
        "--primary: 221 68% 36%",
        "--avds-shell-gutter: 24px",
        "--avds-shell-max: 1120px",
        "--avds-reading-max: 76ch",
        "--avds-layout-gap: 24px",
        "--avds-radius-md: 8px"
      ],
      "required_components": [
        ".av-workbench",
        ".av-panel",
        ".av-card",
        ".av-input",
        ".av-select",
        ".av-button",
        ".av-pagination",
        ".av-table",
        ".av-badge",
        ".status-badge"
      ],
      "consumer_rule": "Shared AV DS vocabulary and tokens are checked at build time; GG remains owner of routes, corpus data, provenance and editorial policy."
    }
  },
  "ownership_boundaries": {
    "gg_owns": [
      "public routes",
      "corpus data",
      "QazVision read-only projection",
      "API and feed contracts",
      "primary source links"
    ],
    "av_ds_does_not_own": [
      "fetching",
      "inference",
      "persistence",
      "route ownership",
      "primary source truth"
    ]
  },
  "acceptance": {
    "local": [
      "npm run check",
      "node scripts/check-avds-consumer.mjs"
    ],
    "public": [
      "immutable release identity",
      "live route smoke",
      "desktop and mobile no-overflow browser proof",
      "AV DS contract endpoint returns the reviewed manifest"
    ]
  },
  "generated_at": "2026-09-27T01:15:04.700Z",
  "snapshot": {
    "data_digest": "99ee7fe61a52fd42bca3816c5bd4b9b1ecc2e143bc3c56ab75699b321cce4e7e",
    "generated_at": "2026-09-27T01:15:04.700Z",
    "imported_at": "2026-09-27T01:16:25.003Z",
    "records": 987,
    "documents": 2091,
    "cited_documents": 204
  }
}
