{
  "schema_version": "jp-election-public-root-ai-router.v1",
  "presentation_language": "ja",
  "generated_at": "2026-04-25T01:58:27Z",
  "page_title": "AI向け public root router",
  "page_summary": "この clipboard は jp-election-public-ja の public root router です。最初に全公開データを読まず、質問を分類してから必要な public URL だけ読むことを前提にします。",
  "source_release_version": "2026-04-14-v046",
  "page_id": "2026-02-08_hr_smd",
  "public_base_url": "https://jp-election-public-ja-2026-hr-smd.pages.dev",
  "do_not_preload_all_data": true,
  "fetch_policy": [
    "最初に質問を current / years / graph / file lookup / docs のどれかに分類する。",
    "重い CSV / JSON / municipality index は必要になった時だけ読む。",
    "まず index / map / manifest を読み、そこから具体的な public URL を解決する。",
    "internal path, generated local path, private viewer path は使わない。",
    "public_key と明示された public URL を優先し、命名規則から path を推測しない。"
  ],
  "entry_pages": [
    {
      "id": "index_html",
      "label": "公開トップ",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/index.html",
      "note": "この root 自体。current / graph / data の導線整理。"
    },
    {
      "id": "current_html",
      "label": "現在の公開ページ",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/index.html",
      "note": "現在の公開対象ページ。年・地域・主要リンクの入口。"
    },
    {
      "id": "years_html",
      "label": "年度別ページ",
      "href": "https://jp-election-public-ja.pages.dev/years",
      "note": "年度別・選挙 family 別の公開ページ一覧。"
    },
    {
      "id": "graph_html",
      "label": "Municipality / Graph Explorer",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/graph.html",
      "note": "自治体・都道府県・全国の系列探索。"
    },
    {
      "id": "links_html",
      "label": "リンク一覧",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/links.html",
      "note": "ドキュメント群と選挙別リンクの公開一覧。"
    },
    {
      "id": "party_proportional_html",
      "label": "比例系列",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/party-proportional.html",
      "note": "比例系列の分析ページ。"
    },
    {
      "id": "party_constituency_html",
      "label": "選挙区系列",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/party-constituency.html",
      "note": "選挙区系列の分析ページ。"
    }
  ],
  "public_indexes": [
    {
      "id": "root_ai_router_md",
      "label": "root-ai-router.md",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/root-ai-router.md",
      "note": "この clipboard 用の最小 router 本文。"
    },
    {
      "id": "root_ai_router_json",
      "label": "root-ai-router.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/root-ai-router.json",
      "note": "質問 routing と公開 index を構造化した JSON。"
    },
    {
      "id": "page_profile_json",
      "label": "page-profile.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/page-profile.json",
      "note": "root page の概要、件数、導線 metadata。"
    },
    {
      "id": "page_links_json",
      "label": "page-links.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/page-links.json",
      "note": "ドキュメント group と選挙別 link row の構造化一覧。"
    },
    {
      "id": "file_links_tsv",
      "label": "file-links.tsv",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/file-links.tsv",
      "note": "公開 canonical / derived file lookup の最初の入口。"
    },
    {
      "id": "download_catalog_json",
      "label": "page/downloads/catalog.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/downloads/catalog.json",
      "note": "bulk download 用 group catalog。"
    },
    {
      "id": "download_all_json",
      "label": "page/downloads/all-files.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/downloads/all-files.json",
      "note": "公開 download 対象のフル一覧。public_key, href, size, sha256 を含む。"
    },
    {
      "id": "site_config_json",
      "label": "site-config.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/site-config.json",
      "note": "public docs / analysis / route の index。"
    },
    {
      "id": "page_ai_catalog_map_json",
      "label": "page/page-ai-catalog-map.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/page/page-ai-catalog-map.json",
      "note": "自治体 graph family 用の重い index map。必要な時だけ読む。"
    },
    {
      "id": "graph_page_json",
      "label": "analysis/graph-family/latest/graph-page.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/analysis/graph-family/latest/graph-page.json",
      "note": "graph family の page contract と scope status。"
    },
    {
      "id": "party_proportional_graph_page_json",
      "label": "analysis/party-proportional/latest/graph-page.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/analysis/party-proportional/latest/graph-page.json",
      "note": "比例系列 analysis page contract。"
    },
    {
      "id": "graph_family_spec_html",
      "label": "docs/graph-family-spec.html",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/docs/graph-family-spec.html",
      "note": "graph で何ができるかを読む独立公開仕様書。"
    },
    {
      "id": "analysis_reports_index_html",
      "label": "docs/reports/index.html",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/docs/reports/index.html",
      "note": "外部 AI / human 向けの分析レポート置き場。"
    },
    {
      "id": "analysis_reports_index_json",
      "label": "docs/reports/index.json",
      "href": "https://jp-election-public-ja-2026-hr-smd.pages.dev/docs/reports/index.json",
      "note": "分析レポート一覧の JSON index。"
    }
  ],
  "question_routes": [
    {
      "question_type": "site_navigation",
      "when": "サイト全体の見方、current / graph / data の違い、どこから読むべきかを聞かれた時。",
      "read_first": [
        "root_ai_router_json",
        "page_profile_json"
      ],
      "then_optional": [
        "index_html",
        "current_html",
        "years_html",
        "graph_html",
        "links_html"
      ],
      "note": "まず導線を整理し、必要な entry page だけ追加で読む。"
    },
    {
      "question_type": "year_or_release_lookup",
      "when": "年度別ページ、公開済みページ、現在の release ページに関する質問。",
      "read_first": [
        "years_html",
        "current_html",
        "page_links_json"
      ],
      "then_optional": [
        "file_links_tsv",
        "download_catalog_json"
      ],
      "note": "HTML の route と structured link row を優先する。"
    },
    {
      "question_type": "graph_or_municipality_analysis",
      "when": "自治体・都道府県・全国の graph、系列、municipality payload に関する質問。",
      "read_first": [
        "graph_html",
        "graph_page_json"
      ],
      "then_optional": [
        "page_ai_catalog_map_json",
        "graph_family_spec_html",
        "file_links_tsv"
      ],
      "note": "重い自治体 map は必要になった時だけ読む。"
    },
    {
      "question_type": "canonical_or_derived_file_lookup",
      "when": "公開 canonical / derived file を探したい時、CSV / JSON / docs の public URL を知りたい時。",
      "read_first": [
        "file_links_tsv",
        "download_all_json"
      ],
      "then_optional": [
        "page_links_json",
        "download_catalog_json",
        "site_config_json"
      ],
      "note": "path を推測せず、index に出た public_key / href を使う。"
    },
    {
      "question_type": "spec_or_methodology",
      "when": "公開 docs、仕様書、graph の方法論、公開面 contract に関する質問。",
      "read_first": [
        "site_config_json"
      ],
      "then_optional": [
        "graph_family_spec_html",
        "links_html",
        "page_links_json"
      ],
      "note": "まず docs index を読み、必要な spec だけ開く。"
    },
    {
      "question_type": "analysis_reports",
      "when": "公開された分析レポート、 commentary、外部 AI 生成物を読みたい時。",
      "read_first": [
        "analysis_reports_index_json"
      ],
      "then_optional": [
        "analysis_reports_index_html",
        "site_config_json"
      ],
      "note": "まず reports index で available report を列挙し、必要な report HTML か raw source だけ読む。"
    }
  ],
  "rules": [
    "回答前に、どの公開 URL を実際に読んだかを明示する。",
    "data volume が大きい時は、必要な public artifact だけ追加で読む。",
    "全件ロードが不要な質問では catalog / map だけで止める。",
    "graph 系 join は label ではなく party_id / seriesId / jis_code / election_set_key を優先する。"
  ]
}
